Skip to content

Instantly share code, notes, and snippets.

@0xPwny
Last active June 22, 2019 20:50
Show Gist options
  • Save 0xPwny/181bb9cb3593af477d157f06c5911b65 to your computer and use it in GitHub Desktop.
Save 0xPwny/181bb9cb3593af477d157f06c5911b65 to your computer and use it in GitHub Desktop.
Kcal - :'( - sub_73A function logic
#IS THAT A REV CHALLENGE
local20 = "deadbeef"
local10 = 0x1505
counter = 0
while(counter < len(local20)):
local10 *= 33
local10 += ord(local20[counter])
#local10 -= ord(local20[counter]) #to rev back from local10 to 0x1505
#local10 /= 33
counter += 1
print "Complet Result : ",hex(local10)
print "exact result : ",hex(local10)[8:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment