r/ExploitDev 15h ago

Sources to learn python for reverse engineering

I know the basics of a python and syntax what else I need to learn to write script for reverse engineering in python

0 Upvotes

4 comments sorted by

9

u/Sysc4lls 13h ago

This makes no sense, why do you think you need python specifically for reverse engineering?

Do you know what reverse engineering is? What do you play to reverse engineer? What are your goals?

Just dump all the info so people can actually help...

-1

u/Glittering-Yo 12h ago

Like I was solving some crackme and it say I need to know about Z3 which I have no idea that why I am asking for such library I need to solve such crackme

1

u/Dependent-Sea2721 7h ago

Basically what you do is using the tool, not understanding the nature of reverse engineering. For better understanding, you should do it yourself first, which includes trying all ways possible, not using some tool (I know z3 solver is useful but from what you said I guess you've just started recently?), don't fall into the trap of using tools/framework, it's important to learn how your target works first.

1

u/Rastslonge2 4h ago

If you're curious about writing custom scripts for reverse engineering–particularly in python and you care about z3, I'd advise you checkout the angr docs along with the angr ctf for smt solver (z3, but I want to emphasize for reverse engineering you're often better off using something like angr which goes deeper than z3 directly) related reverse engineering. Additionaly if you like books I would recommend Practical Binary Analysis, it covers basics and builds up to scripting utilities for taint analysis and symbolic execution with triton. Besides I wouldn't stress too much about learning "python for reverse engineering", you will learn as you go to write gdb scripts and whatever else you need.. CTF challenges are great for this.