Created
October 3, 2019 06:28
-
-
Save 0xswitch/65faf1acd26ae03a3b09ee50922fc7e6 to your computer and use it in GitHub Desktop.
Revisions
-
0xswitch created this gist
Oct 3, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ from pwn import * elf = ELF("./vuln") p = process("./vuln") p.sendline(cyclic(200, n=8)) p.wait() core = p.corefile print cyclic_find(core.read(core.rsp, 8), n=8)