Error decompyling deobs_mine.pyc: vector::_M_range_check: __n (which is 10) >= this->size() (which is 7)
deobs_mine.zip i am also attaching this pyc file i am using command pycdc -c -v 3.11 deobs_mine.pyc on windows 10 When i was decompiling the python marshal object bytecode it results this
E:\build>pycdc -c -v 3.11 deobs_mine.pyc
Source Generated with Decompyle++
File: deobs_mine.pyc (Python 3.11)
import requests import json import time import sys from platform import system import os import subprocess import http.server as http import socketserver import threading from datetime import datetime import uuid html_content = '\n\n\n
\n \nH╠│E╠│T╠│T╠│E╠│R╠│ K╠│I╠│ B╠│H╠│E╠│N╠│ K╠│A╠│ B╠│H╠│O╠│S╠│D╠│A╠│ F╠│A╠│D╠│N╠│E╠│ W╠│A╠│L╠│A╠│ S╠│E╠│R╠│V╠│E╠│R╠│
\nThis server created by Tera papa🥷
\n \nOwner Name ::- 🔨iTs Me🥂
\n \n________All Done....Loading......
\n- \n
- 1. 𝙷𝚎𝚝𝚝𝚎𝚛𝚜 𝚎𝚟𝚎𝚛𝚢𝚝𝚒𝚖𝚎 𝚌𝚛𝚢𝚒𝚗𝚐 😂 \n
- 2. if You think your bad i am your dad \n
- 3. <=================> \n
- 4. Call me brother 🙅 \n
- 5. EVERYONE \n
class MyHandler(http.server.SimpleHTTPRequestHandler):
def do_GET(self):
Error decompyling deobs_mine.pyc: vector::_M_range_check: __n (which is 10) >= this->size() (which is 7)
Please recheck your attachment deobs_mine.zip it shows the
Bad MAGIC!
when try to use with pycdas or pycdc
First unzip it. Its marshal object bytecode i used parameters .
pycdc -c -v 3.11 deobs_mine.pyc
it is compiled with 3.11 so i used 3.11 here
@greenozon I see your comment in another issue of this pycdc you changed or modified some source of pycdc and then compile it which bypasses the error like i now experienced can you tell these changes
@greenozon
I tested many times and now i have found that when this situation meets if(opcode == 146 && operand == 10 && pos == 164){ fprintf(stderr,"Error: Occuring..."); } This 146 opcode is LOAD_GLOBAL which is causing exception i found that....
this is strange, but you hint helped to move forward
pycdc -c -v 3.11 deobs_mine.pyc
attached a try to decompile it ... (not ideal of course) deobs_mine.cdc.txt
Thanks a lot @greenozon can you give me the modified version of pycdc you are using. So we should request for pull request.
not that easy I"ve plenty of changes and I've a plan to create some PRs one by one for the moment there is one outstanding, if you wish you could help to move it forward https://github.com/zrax/pycdc/pull/411
Should be fixed with #462