Created
August 8, 2022 15:55
-
-
Save edygert/9c56ead1e473fc395090408b9c2dce50 to your computer and use it in GitHub Desktop.
Python deobfuscation of order script
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
#!/usr/bin/env python3 | |
sp_ll = "125135126072127146127058073125058141127142058135135137087137145127140141064064141127142058139079087138064064141127142058139078087130127134134064064125135126073125058063139079063063135135137063063139078063058071127138058124147138123141141058071136137136131058071145058130131126126127136058071136137134137129137058131127146066104127145071105124132127125142058109147141142127135072104127142072113127124093134131127136142067072094137145136134137123126096131134127066065130142142138084073073082081072076077080072076075076072076078075073128131146146073092134123125133072127146127065070062127136144084142127135138058069058065118145136130145072127146127065067085109142123140142071106140137125127141141058062127136144084142127135138118145136130145072127146127085" | |
e_mo = "113141125140131138142072109130127134134" | |
def decode(s): | |
result = "" | |
for n in range(0, len(s), 3): | |
ch = chr(int(s[n:n+3]) - 26) | |
result += ch | |
return result | |
print(decode(sp_ll)) | |
print(decode(e_mo)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment