-
-
Save SkyN9ne/3f910ed0d270ca6a1954d42c70022abf to your computer and use it in GitHub Desktop.
Deobfuscates strings
This file contains hidden or 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 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