프로그래밍/Python

Pyinstaller 도구로 만들어진 파일(.exe) 디컴파일하기

1q 2018. 7. 26. 13:19

1. PyInstaller Extractor(https://sourceforge.net/projects/pyinstallerextractor/) 도구로 추출 진행

   사용법 : PyInstaller.py [추출 대상 파일]

2. pyc로 예상되는 파일 처음에 "03 F3 0D 0A 2B 79 67 58" 추가 후 확장자 pyc로 만들고 Easy Python Decompiler(https://sourceforge.net/projects/easypythondecompiler/) 도구로 디컴파일 하면 Python 파일이 보임


참고 : https://bpsecblog.wordpress.com/2017/01/06/holyshield-ransome/