Re:Python for Reverse Engineering 1: ELF Binaries
by vram22 on Friday March 22, 2019 @04:45PM
(#19466750)
Might be useful for beginners to binary file I/O in Python and reverse engineering of data formats:
DBFReader.py [1], which is part of my xtopdf toolkit [2] is a program that uses struct.unpack() multiple times to decode the fields in a DBF (XBASE) file.
I had first written a Pascal program to read and dump DBF file data after reverse-engineering the DBF format, based on some sketchy info I had access to, years ago. Later wrote the same program in C, and later still in Python, i.e. DBFReader.py .
DBFReader.py [1], which is part of my xtopdf toolkit [2] is a program that uses struct.unpack() multiple times to decode the fields in a DBF (XBASE) file.
[1] https://bitbucket.org/vasudevram/xtopdf/src/default/DBFReade...
[2] http://slides.com/vasudevram/xtopdf
I had first written a Pascal program to read and dump DBF file data after reverse-engineering the DBF format, based on some sketchy info I had access to, years ago. Later wrote the same program in C, and later still in Python, i.e. DBFReader.py .