Python For Exploit Development
dev.to·11w·
Discuss: DEV

Originally posted on my security blog - https://biscottidiskette.github.io

Disclaimer: For educational purposes only. Only run these techniques against machines you own or have explicit written permission to test. Unauthorized exploitation is illegal and unethical.

What We’re Building

By the end of this post, you’ll have a working buffer overflow exploit for a vulnerable Windows service. We’ll cover:

  • Connecting to the service with Python
  • Fuzzing to find the crash
  • Controlling the instruction pointer (EIP)
  • Finding bad characters
  • Generating and delivering shellcode

The target is OVERFLOW1 from TryHackMe’s Buffer Overflow Prep room, but the techniques work for any vanilla stack overflow.


Why Another Buffer Overf…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help