Skip to content

Instantly share code, notes, and snippets.

@kiri-e
kiri-e / a23_decpak.py
Created February 26, 2022 09:59
a23_decpak.py
from struct import unpack
from sys import argv, exit
import os
from itertools import cycle
def xor(a,b):
return bytes([i ^ j for i,j in zip(a, cycle(b))])
f = open(argv[1], 'rb')
from struct import unpack
from sys import argv, exit
import os
from itertools import cycle
def xor(a,b):
return bytes([i ^ j for i,j in zip(a, cycle(b))])
f = open(argv[1], 'rb')
from struct import unpack
from sys import argv, exit
import os
from itertools import cycle
def xor(a,b):
return bytes([i ^ j for i,j in zip(a, cycle(b))])
f = open(argv[1], 'rb')