Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/bash
- wget -O out https://pastebin.com/raw/YWSVusPJ
- while true
- do
- d=$(grep -oP "(?<=').*?(?=')" out)
- cat <<__eol__ > 1.py
- import zlib
- import base64
- with open('1.pyc','wb') as f:
- f.write('\x03\xf3\x0d\x0a\xeb\x56\x92\x5a' + zlib.decompress(base64.b64decode('$d')))
- __eol__
- python 1.py
- uncompyle6 1.pyc > out
- head out
- read -p "[?] lanjutkan? " tanya
- if [ [ "$tanya" == "n" || "$tanya" == "N" ] ]
- then
- echo "[+] cleanup..."
- rm 1.py 1.pyc
- mv out deobfuscated.py
- echo "[+] silakan cek file deobfuscated.py"
- break
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement