SHARE
TWEET

brutecrc32

finalshare Sep 28th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import zlib
  2. f = open("flag.txt","w")
  3. for a in range(0,256):
  4.     print a
  5.     for b in range(0,256):
  6.         for c in range(0,256):
  7.             for d in range(0,256):
  8.                 prev = zlib.crc32(chr(a)+chr(b)+chr(c)+chr(d), 4246039339)& 0xFFFFFFFF
  9.                 if (prev == d*256*256*256 + c*256*256 + b*256+a):
  10.                     f.write(a +" " +b+" "+c +" "+d)
  11.                     print a +" " +b+" "+c +" "+d;
  12.                     f.close()
  13.                     exit()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top