Skip to content

Instantly share code, notes, and snippets.

@luca-m
Created September 22, 2018 09:14
Show Gist options
  • Save luca-m/9d087fc066bc1265573e1a5a5aaa701a to your computer and use it in GitHub Desktop.
Save luca-m/9d087fc066bc1265573e1a5a5aaa701a to your computer and use it in GitHub Desktop.
Lazy batch deobfuscator by @Fumik0_
# @Fumik0_
# Lazy batch deobfuscator
# https://twitter.com/fumik0_/status/1043407064188506112
import re
def show_me(value,alph):
command = ''
tokens = re.findall('\d+,\d+',value)
for i in tokens:
command+=alph[int(i.split(',')[0])]
print('###')
print('Command : {}'.format(command))
alphabet = input('Your alphabet : ')
obfuscated = input('Your obfucated string : ')
show_me(obfuscated,alphabet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment