Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@painor
Last active October 14, 2023 11:04
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save painor/17d18aeb8ae90f9355bf520a22104002 to your computer and use it in GitHub Desktop.
Save painor/17d18aeb8ae90f9355bf520a22104002 to your computer and use it in GitHub Desktop.
unmarshal python code object string. python2
import marshal
a = marshal.loads("your marshal string data that is a code object here")
import py_compile
import time
import uncompyle6
with open('output.pyc', 'wb') as fc:
fc.write(py_compile.MAGIC)
py_compile.wr_long(fc, long(time.time()))
marshal.dump(a, fc)
fc.flush()
with open("unmarsheled.py", "w") as f:
uncompyle6.decompile_file('output.pyc', f)
@Sumitkr951
Copy link

import sys

Check version

PYTHON_VERSION = ".".join(sys.version.split(" ")[0].split(".")[:-1])
if PYTHON_VERSION != "3.9":
print('''[!] No support for [VALUE]'''.replace("[VERSION]", sys.version.split(" ")[0]))
exit(0)

import marshal
exec(marshal.loads(b'c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00@\x00\x00\x00s\xfa\x00\x00\x00d\x00Z\x00e\x00r\x10d\x01d\x02\x84!Z\x01d\x02d\x03l\x02Z\x02d\x02d\x03l\x03Z\x03d\x02d\x03l\x04Z\x04d\x02d\x04l\x05m\x06Z\x06\x01\x00d\x05e\x06\x83\x00i\x01Z\x07d\x06Z\x08d\x07Z\td\x08Z\nd\tZ\x0bd\nd\x0b\x84\x00Z\x0ce\x04\xa0\rd\x0c\xa1\x01\x01\x00d\rZ\x0ed\x0eZ\x0fe\x0ed\x0fd\x10\x9c\x02Z\x10e\x02j\x11e\x0fe\x10e\x07d\x11\x8d\x03Z\x12d\x12e\x12j\x13v\x00r\xb0e\x14e\x08\x9b\x00d\x13\x9d\x02\x83\x01\x01\x00e\x14e\t\x9b\x00d\x14\x9d\x02\x83\x01\x01\x00e\x15\x83\x00\x01\x00nFe\x04\xa0\rd\x0c\xa1\x01\x01\x00e\x16e\t\x9b\x00d\x15e\n\x9b\x00d\x16e\t\x9b\x00d\x17e\x0b\x9b\x00d\x18e\n\x9b\x00d\x19\x9d\n\x83\x01Z\x17e\x17d\x1ak\x02s\xf0e\x17d\x16k\x02r\xf6e\x0c\x83\x00\x01\x00d\x03S\x00)\x1bF\xe9\x01\x00\x00\x00\xe9\x00\x00\x00\x00N)\x01\xda\x13generate_user_agentz\nuser-agentz\x07\x1b[1;31mz\x07\x1b[2;36mz\x07\x1b[1;32mz\x07\x1b[1;33mc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\x03\x00\x00\x00sT\x00\x00\x00d\x01\x89\x03t\x00\xa0\x01d\x02\xa1\x01\x01\x00t\x02d\x03\x83\x01}\x00|\x00\xa0\x03d\x04\xa1\x01d\x05\x19\x00}\x00|\x00\x89\x02d\x06}\x01d\x07\x89\x01d\x05}\x02\x87\x00\x87\x01\x87\x02\x87\x03f\x04d\x08d\t\x84\x08\x89\x00\x88\x00|\x01|\x02\x83\x02\x01\x00d\x00S\x00)\nNZ\x1aqwertyuiopasdfghjklzxcvbnm\xda\x05clearz\x15 Enter Post Link:- z\x02/?r\x01\x00\x00\x00\xe9\xa5\x00\x00\x00i\xe8\x03\x00\x00c\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x06\x00\x00\x00\x13\x00\x00\x00s\xd6\x00\x00\x00d\x01}\x02t\x00d\x02\xa0\x01\x87\x03f\x01d\x03d\x04\x84\x08t\x02d\x05\x83\x01D\x00\x83\x01\xa1\x01\x83\x01}\x03\x88\x02d\x06\x17\x00|\x03\x17\x00d\x07\x17\x00}\x04t\x03d\x08|\x00|\x04\x88\x01d\t\x9c\x05}\x05t\x04j\x05|\x02|\x05d\n\x8d\x02}\x06d\x0b|\x06j\x06v\x00rdt\x07d\x0c\x83\x01\x01\x00d\r|\x06j\x06v\x00rvt\x07d\x0e\x83\x01\x01\x00d\x0f|\x06j\x06v\x00r\x94t\x07t\x08\x9b\x00d\x10\x9d\x02\x83\x01\x01\x00t\t\x83\x00\x01\x00d\x11|\x06j\x06v\x00r\xa6t\x07d\x12\x83\x01\x01\x00d\x13|\x06j\x06v\x00r\xc4t\x07d\x14\x83\x01\x01\x00\x88\x00|\x00|\x01\x83\x02\x01\x00q\x00t\x07|\x06\xa0\n\xa1\x00\x83\x01\x01\x00q\x00d\x00S\x00)\x15Nz\x1dhttps://imperialsmm.in/api/v2\xda\x00c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x04\x00\x00\x003\x00\x00\x00s\x18\x00\x00\x00|\x00]\x10}\x01t\x00\xa0\x01\x88\x00\xa1\x01V\x00\x01\x00q\x02d\x00S\x00)\x01N)\x02\xda\x06random\xda\x06choice)\x02\xda\x02.0\xda\x01i)\x01\xda\x04user\xa9\x00\xda\x06string\xda\t \x00\x00\x00\xf3\x00\x00\x00\x00z&like..likes..\xe9\x04\x00\x00\x00z\x10/?igshid=YmMyMTAz\x052M2Y=\xda\x03add)\x05\xda\x03key\xda\x06actionZ\x07service\xda\x04linkZ\x08quantity)\x01\xda\x04datazNYou have active order with this link. Please wait until order being completed.z![+] Wait The Past Order Completedz\t{"order":z#1000 views sended by @sedxjerryhackz\x0fInvalid API keyuF\x00\x00\x00[\xc3\x97] File Expired Please Update The File From Channel:- @sedxjerryhackz\x08Bad linkz/Link Is Wrong Please Only Send Public Post Linkz\x11No money no honeyZ\rsedxjerryhack)\x0b\xda\x03str\xda\x04join\xda\x05ranger\x11\x00\x00\x00\xda\x08requests\xda\x04post\xda\x04text\xda\x05print\xda\x01E\xda\x04exitZ\x04json)\x07\xda\x02id\xda\x03fol\xda\x03urlZ\x02rn\xda\x04urlmr\x14\x00\x00\x00\xda\x04abhi\xa9\x04\xda\x05likesZ\x02quZ\x05urlm1r\n\x00\x00\x00r\x0b\x00\x00\x00r\x0c\x00\x00\x00r$\x00\x00\x00\x1d\x00\x00\x00s2\x00\x00\x00\x00\x02\x04\x01 \x01\x10\x02\x02\x01\x02\x01\x02\x01\x02\x01\x02\xfb\x06\x07\x0e\x01\n\x01\x08\x01\n\x01\x08\x01\n\x01\x02\x01\x08\xff\x04\x02\x06\x01\n\x01\x08\x01\n\x01\x08\x01\x0c\x02z\x13like..likes)\x04\xda\x02os\xda\x06system\xda\x05input\xda\x05split)\x03r!\x00\x00\x00r\x1e\x00\x00\x00r\x1f\x00\x00\x00r\x0b\x00\x00\x00r#\x00\x00\x00r\x0c\x00\x00\x00\xda\x04like\x13\x00\x00\x00s\x14\x00\x00\x00\x00\x01\x04\x01\n\x01\x08\x01\x0e\x01\x04\x01\x04\x01\x04\x01\x04\x02\x12\x1cr)\x00\x00\x00r\x03\x00\x00\x00Z 57ee344ae362b6e6fb6a82c9f48bdc99z\x1chttps://publicfan.com/api/v2Z\x07balance)\x02r\x11\x00\x00\x00r\x12\x00\x00\x00)\x02r\x14\x00\x00\x00\xda\x07headersz\x0fKey galat h brou\x10\x00\x00\x00[\xc3\x97] lelo pudinaz+[=] by free tools here ==> @sedxjerryhack \xfa\x01[\xda\x0201z\x02] z?Telegram Post Views Made By @sedxjerryhack\n press 1 and enter\nz\x0bChoose ==> \xda\x011)\x18\xda\x03foo\xda\x03barr\x18\x00\x00\x00r\x06\x00\x00\x00r%\x00\x00\x00Z\nuser_agentr\x02\x00\x00\x00r*\x00\x00\x00r\x1c\x00\x00\x00\xda\x01B\xda\x01G\xda\x01Sr)\x00\x00\x00r&\x00\x00\x00r\x11\x00\x00\x00r \x00\x00\x00r\x14\x00\x00\x00r\x19\x00\x00\x00r"\x00\x00\x00r\x1a\x00\x00\x00r\x1b\x00\x00\x00r\x1d\x00\x00\x00r'\x00\x00\x00\xda\x02chr\x0b\x00\x00\x00r\x0b\x00\x00\x00r\x0b\x00\x00\x00r\x0c\x00\x00\x00\xda\x08\x02\x00\x00\x00s6\x00\x00\x00\x04\x01\x04\x01\x08\x04\x08\x01\x08\x01\x08\x01\x0c\x01\n\x01\x04\x01\x04\x01\x04\x01\x04\x03\x08)\n\x01\x04\x01\x04\x01\n\x01\x10\x01\n\x01\x0e\x01\x0e\x01\x08\x02\n\x01\x1a\x02\x02\xfe\n\x03\x10\x01'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment