Last active
June 22, 2019 20:50
-
-
Save 0xPwny/181bb9cb3593af477d157f06c5911b65 to your computer and use it in GitHub Desktop.
Kcal - :'( - sub_73A function logic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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