Skip to content

Instantly share code, notes, and snippets.

@hansputera
Created February 23, 2024 08:31
Show Gist options
  • Save hansputera/d64c9e7b195612bd2a92302b73977b69 to your computer and use it in GitHub Desktop.
Save hansputera/d64c9e7b195612bd2a92302b73977b69 to your computer and use it in GitHub Desktop.
Decrypt GarudaCBT Code
import glob
from os import popen
files = ['.' + f for f in glob.glob('./application/**/*.php')]
for file in files:
code = popen(f"cd PHPDeobfuscator && php index.php -f {file}").read()
f = open(file[1:], "w+")
f.write(code)
f.close()
print("done cuy " + file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment