Skip to content

narcisseuuh/pwn-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pwn-template

A simple tool to generate python pwntools script written in python. What the script does is checking if there is a libc in our pwn environment, checking the binary name, and ip/port to have everything setup and then just focus on pwn.

Adding it to the zshrc

I use environment variables to precise wether I want to debug with gdb or to exploit locally.

export DBG='NO'
export LOCAL='YES'

Then I create an alias to just use generate_pwn when I created a directory containing my environment in CTF.

alias generate_pwn='cp /path/to/solve.py . && python3 /path/to/generate_script.py'

About

a simple template for pwntools scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages