FoBido
第一眼就看到栈溢出
可以溢出到seed
则rand()变得可预测
Tip:
这里的可预测是在固定Seed下的随机数 顺序及数字 完全相同,有时环境不同,模拟结果也会不同。
我没学过ctype,又怕线上环境不一样,直接不选择模拟,直接选择开干
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970from pwn import *file = "./BoFido" elf = ELF(file)context(arch=elf.arch, os='linux')a, b, c = 0, 0, 0j = [[],[],[]]def play_round(io, round_num): global a, b, c if round_num == 1: io.sendl ...
前言打了一次学校举办的 网安赛,里面就两个 Pwn题 这个学校就是逊啦
附件在github里 Learning-Record/记录一次 Ret2Shellcode at main · MindednessKind/Learning-Record
ChallengeChecksecCheckSec:
123456789101112[*] '/home/mindedness/Shares/pwn/attachment' Arch: i386-32-little RELRO: Full RELRO Stack: No canary found NX: NX unknown - GNU_STACK missing PIE: PIE enabled Stack: Executable RWX: Has RWX segments SHSTK: Enabled IBT: Enabled Str ...

