Feb. 8, 2024, 10:08 a.m. | morimolymoly

InfoSec Write-ups - Medium infosecwriteups.com

Hello, I am morimolymoly!

Today, I am going to introduce how to treat disassembly code of Python with ChatGPT!

PyInstaller

You can create single application from Python sources with PyInstaller.

Simple codeexecuted result

This simple code is going to be a EXE file.

PyInstaller

EXE out from Pyinstaller behaves same as script one!

Executed result

pyinstxtractor

You can extract pyc(Python compiled file) with pyinstxtractor

Executed resultExtracted one

Extracted files are here.

Most interesting one is main.pyc.

HEX

Hex editor reveals …

application can chatgpt code cybersecurity disassembly extract file hello python script simple single today understanding

Director of IT & Information Security

@ Outside | Boulder, CO

Information Security Governance Manager

@ Informa Group Plc. | London, United Kingdom

Senior Risk Analyst - Application Security (Remote, United States)

@ Dynatrace | Waltham, MA, United States

Security Software Engineer (Starshield) - Top Secret Clearance

@ SpaceX | Washington, DC

Network & Security Specialist (IT24055)

@ TMEIC | Roanoke, Virginia, United States

Senior Security Engineer - Application Security (F/M/N)

@ Swile | Paris, France