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

Sr Security Engineer - Colombia

@ Nubank | Colombia, Bogota

Security Engineer, Investigations - i3

@ Meta | Menlo Park, CA | Washington, DC | Remote, US

Cyber Security Engineer

@ ASSYSTEM | Bridgwater, United Kingdom

Security Analyst

@ Northwestern Memorial Healthcare | Chicago, IL, United States

GRC Analyst

@ Richemont | Shelton, CT, US

Security Specialist

@ Peraton | Government Site, MD, United States