Browse Source

flippin dangerous

master
JoYo 3 years ago
parent
commit
01d309f81f
  1. 6
      sins/run.py

6
sins/run.py

@ -84,6 +84,12 @@ def sins():
with seed.open('rb') as seed_file:
seed_data = seed_file.read()
seed_data = bytearray(seed_data)
offset = randint(0, len(seed_data))
flip = randint(0, 255)
seed_data[offset] ^= flip
seed_len = ctypes.c_uint(len(seed_data))
logger.info(f'seed_data\n{binascii.b2a_hex(seed_data)}')
logger.info(f'seed_len: {seed_len}')

Loading…
Cancel
Save