Skip to content

Instantly share code, notes, and snippets.

@SkyN9ne
Forked from AmgdGocha/deobfuscation.py
Last active June 1, 2024 11:31
Show Gist options
  • Save SkyN9ne/3f910ed0d270ca6a1954d42c70022abf to your computer and use it in GitHub Desktop.
Save SkyN9ne/3f910ed0d270ca6a1954d42c70022abf to your computer and use it in GitHub Desktop.
Deobfuscates strings
#!/usr/bin/env python
def deobfuscate_strings(numbers_string, substract_number):
result = ''
numbers_list = numbers_string.split('.')
for number in numbers_list:
result = result + chr(int(number) - int(substract_number))
return '"{}"'.format(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment