{"id":13570171,"url":"https://github.com/extremecoders-re/pyinstxtractor","last_synced_at":"2026-01-17T09:43:34.840Z","repository":{"id":37410740,"uuid":"249959615","full_name":"extremecoders-re/pyinstxtractor","owner":"extremecoders-re","description":"PyInstaller Extractor","archived":false,"fork":false,"pushed_at":"2025-10-20T08:12:07.000Z","size":88,"stargazers_count":3825,"open_issues_count":16,"forks_count":705,"subscribers_count":61,"default_branch":"master","last_synced_at":"2025-10-20T10:14:01.667Z","etag":null,"topics":["decompile","pyc","pyc-files","pyinstaller","pyinstaller-extractor","python","python-decompiler","reverse-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/extremecoders-re.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-25T11:24:09.000Z","updated_at":"2025-10-20T09:00:30.000Z","dependencies_parsed_at":"2023-12-03T19:26:10.856Z","dependency_job_id":"e9312cfd-b80b-47a4-acf1-d8d5d5d00191","html_url":"https://github.com/extremecoders-re/pyinstxtractor","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/extremecoders-re/pyinstxtractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremecoders-re%2Fpyinstxtractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremecoders-re%2Fpyinstxtractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremecoders-re%2Fpyinstxtractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremecoders-re%2Fpyinstxtractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extremecoders-re","download_url":"https://codeload.github.com/extremecoders-re/pyinstxtractor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremecoders-re%2Fpyinstxtractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decompile","pyc","pyc-files","pyinstaller","pyinstaller-extractor","python","python-decompiler","reverse-engineering"],"created_at":"2024-08-01T14:00:49.171Z","updated_at":"2026-01-17T09:43:29.816Z","avatar_url":"https://github.com/extremecoders-re.png","language":"Python","funding_links":[],"categories":["Deobfuscation","Extractors","Python","Blue Team","Reverse Engineering","逆向破解"],"sub_categories":["Other Resources","Manual analysis","Reverse Engineering","Decompilers"],"readme":"# PyInstaller Extractor\n\nPyInstaller Extractor is a Python script to extract the contents of a PyInstaller generated executable file.\n\nThe header of the pyc files are automatically fixed so that a Python bytecode decompiler will recognize it. The script can run on both Python 2.x and 3.x. PyInstaller versions 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 4.5.1, 4.6, 4.7, 4.8, 4.9, 4.10, 5.0, 5.0.1, 5.1, 5.2, 5.3, 5.4, 5.4.1, 5.5, 5.6, 5.6.1, 5.6.2, 5.7.0, 5.8.0, 5.9.0, 5.10.0, 5.10.1, 5.11.0, 5.12.0, 5.13.0, 5.13.1, 5.13.2, 6.0.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0, 6.5.0, 6.6.0, 6.7.0, 6.8.0, 6.9.0 are [tested](https://github.com/pyinstxtractor/pyinstxtractor-test-binaries) \u0026 supported. Probably will work with other versions too.\n\nThis project was originally hosted on [SourceForge](https://sourceforge.net/projects/pyinstallerextractor/).\n\n## Usage\n\nThe script can be run by passing the name of the exe as an argument.\n\n```\n$ python pyinstxtractor.py \u003cfilename\u003e\nX:\\\u003epython pyinstxtractor.py \u003cfilename\u003e\n```\n\nIt is recommended to run the script in the same version of Python which was used to generate the executable. This is to prevent unmarshalling errors(if any) while extracting the PYZ archive.\n\n## Example\n\n```\nX:\\\u003e python pyinstxtractor.py test.exe\n[+] Processing dist\\test.exe\n[+] Pyinstaller version: 2.1+\n[+] Python version: 36\n[+] Length of package: 5612452 bytes\n[+] Found 59 files in CArchive\n[+] Beginning extraction...please standby\n[+] Possible entry point: pyiboot01_bootstrap.pyc\n[+] Possible entry point: test.pyc\n[+] Found 133 files in PYZ archive\n[+] Successfully extracted pyinstaller archive: dist\\test.exe\n\nYou can now use a python decompiler on the pyc files within the extracted directory\n```\n\nAfter extracting the pyc's you can use a Python decompiler like [Uncompyle6](https://github.com/rocky/python-uncompyle6/) and [Decompyle++](https://github.com/zrax/pycdc).\n\n```\nX:\\\u003e uncompyle6.exe test.exe_extracted\\test.pyc\nX:\\\u003e uncompyle6.exe test.exe_extracted\\PYZ-00.pyz_extracted\\__future__.pyc\n```\n## Extracting Linux ELF binaries\n\nPyinstxtractor can natively extract Linux ELF binaries without requiring other tools.\n\nFor other questions and information, please see the [Wiki](https://github.com/extremecoders-re/pyinstxtractor/wiki/Extracting-Linux-ELF-binaries) and the [FAQ](https://github.com/extremecoders-re/pyinstxtractor/wiki/Frequently-Asked-Questions)\n\n## See also\n\n- [pyinstxtractor-ng](https://github.com/pyinstxtractor/pyinstxtractor-ng): \nA standalone binary version of pyinstxtractor. This tool doesn't require Python to run and can extract all supported versions of PyInstaller. It also supports encrypted pyinstaller executables.\n- [pyinstxtractor-web](https://github.com/pyinstxtractor/pyinstxtractor-go): pyinstxtractor running in the web browser, powered by Go \u0026 GopherJS.\n\n## License\n\nGNU General Public License v3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextremecoders-re%2Fpyinstxtractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextremecoders-re%2Fpyinstxtractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextremecoders-re%2Fpyinstxtractor/lists"}