Skip to content

Instantly share code, notes, and snippets.

@synap5e
Created August 12, 2016 04:44
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
import sys
orig = open('volskaya-screenshot-004.jpg', 'rb')
new = open('5552E494-78B3-4CE9-ACF6-EF8208F913CF.jpg', 'rb')
replaced_bytes = ''
for o, n in zip(orig.read(), new.read()):
if o != n:
replaced_bytes += o
hint, skull = replaced_bytes.split('\n')
print(hint)
for i, c in enumerate(skull):
sys.stdout.write(c)
if not i % 59:
sys.stdout.write('\n')
sys.stdout.write('\n')
@synap5e
Copy link
Author

synap5e commented Aug 12, 2016

python2 script to extract modified bytes from datamooshed volskaya screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment