摘要: 强网杯2019 拟态 STKOF 本题目两个二进制文件,64位与32位 该题目加入了拟态的检查机制,题目会fork32位程序和64位程序,而我们的输入会分别传入这个两个进程,每个程序一份,然后题目会检测两个程序的输出,若两个程序的输出不一致或任一程序或者异常退出,则会被判断为check down,直 阅读全文
posted @ 2022-03-02 16:00 望权栈 阅读(24) 评论(0) 推荐(0) 编辑
摘要: gyctf_2020_some_thing_interesting 经典UAF漏洞! Allocate申请函数! Free释放函数! 全保护开启,故我们利用格式化字符串漏洞泄露libc地址,从而得到malloc_hook地址。然后利用UAF漏洞修改malloc_hook为one_gadget,此时进 阅读全文
posted @ 2022-02-13 12:39 望权栈 阅读(35) 评论(0) 推荐(0) 编辑
摘要: gwctf_2019_jiandan_pwn1 简单ret2libc,唯一需要注意的便是注意修改索引值,防止索引被覆盖!从而无法进行栈溢出! from pwn import * from LibcSearcher import LibcSearcher context(os='linux',arch 阅读全文
posted @ 2022-01-23 16:23 望权栈 阅读(29) 评论(0) 推荐(0) 编辑
摘要: wustctf2020_number_game 此时运用我们的计算机底层的知识,可知,计算机底层储存形式为补码! -2147483648的补码形式为0x80000000,它取反加一之后仍然是0x80000000,因此这边输入-2147483648 护网杯_2018_gettingstart 此时又要 阅读全文
posted @ 2022-01-17 20:51 望权栈 阅读(27) 评论(0) 推荐(0) 编辑
摘要: [极客大挑战 2019]Not Bad orw类型,打开文件,读入内容,输出内容!但需要注意gadget! from pwn import * context(log_level='debug',os='linux',arch='amd64') binary = './bad' r = remote 阅读全文
posted @ 2022-01-13 09:35 望权栈 阅读(54) 评论(0) 推荐(0) 编辑
摘要: mrctf2020_easy_equation 简单的栈溢出漏洞,格式化字符串漏洞!此处采用栈溢出漏洞! axb_2019_fmt64 经典循环格式化字符串64位漏洞! 唯一注意的地方pwntools的FmtStr_payload无法成功获取权限!需要手动计算字节进行攻击! from elftool 阅读全文
posted @ 2022-01-09 17:50 望权栈 阅读(91) 评论(0) 推荐(0) 编辑
摘要: picoctf_2018_shellcode 题目很很简单! from pwn import * context(log_level='debug',os='linux',arch='i386') binary = './PicoCTF_2018_shellcode' r = remote('nod 阅读全文
posted @ 2022-01-08 09:44 望权栈 阅读(26) 评论(0) 推荐(0) 编辑
摘要: gyctf_2020_borrowstack 使用栈迁移,将rsp迁移到bss段上,而bss段上处于可控位置。但是注意bss段低处处于不可写状态,如果rsp移动到该处,则程序无法进行下去! 尝试使用system函数,但是往往会涉及到bss段低处地址,而one_gadget则不需要过多占用栈地址,故采 阅读全文
posted @ 2022-01-05 18:30 望权栈 阅读(29) 评论(0) 推荐(0) 编辑
摘要: Start from pwn import * context(log_level='debug',os='linux',arch='i386') binary = './start' r = remote('chall.pwnable.tw', 10000) #r = process(binary 阅读全文
posted @ 2021-12-30 22:07 望权栈 阅读(18) 评论(0) 推荐(0) 编辑
摘要: [ZJCTF 2019]Login 并且存在后门函数 此时我们可以通过动态调试查看rax所处位置! from pwn import * context(log_level='debug',os='linux',arch='amd64',endian='little') binary = './log 阅读全文
posted @ 2021-12-29 13:33 望权栈 阅读(30) 评论(0) 推荐(0) 编辑