diff --git a/pwn.py b/pwn.py index a4fcb82..746ffa8 100644 --- a/pwn.py +++ b/pwn.py @@ -120,7 +120,7 @@ def upload(self, content: str): print(r.status_code, r.content) @staticmethod - def seperate(saltdata: bytes) -> bytes: + def separate(saltdata: bytes) -> bytes: byte_list = list(saltdata) data = b'' length = len(byte_list) // 8192 @@ -187,7 +187,7 @@ def gzip_compress(gzip_bytes: bytes) -> bytes: @staticmethod def decrypt(salt_data: AnyStr) -> str: salt_data = base64.b64decode(salt_data) - return Experiment.gzip_decompress(Experiment.bytes_to_gzip(Experiment.seperate(salt_data))).decode('UTF-8') + return Experiment.gzip_decompress(Experiment.bytes_to_gzip(Experiment.separate(salt_data))).decode('UTF-8') @staticmethod def encrypt(data: bytes) -> str: