Open mudongliang opened 1 year ago
TODO: dojo 分成两份 challenge,一份是专门上课使用的,如随堂作业,课后作业,另一份是专门的软件安全实验
buffer overflow(以stack overflow为例):
Optional: 设计一个在 overflow return address 的时候,维护 old rbp 的 challenge
Shell injection:
更多利用方式:
shellcode injection shellcode 1-0 直接读取 并执行 shellcode 1-1 随机过滤前0x900字节 shellcode 1-2 过滤 \00 字节
shellcode 1-2 过滤 x64 汇编指令。(0x48 )
shellcode 1-3 过滤 过滤syscall shellcode 1-4 可见字符 执行 shellcode
simple demo - directly reads the/flag
(Demo)set setuid for other utilities (Backdoor)Pwntools Usage - Program Interaction, 录屏,mdlAssembly Basic (refer to Assembly Crash Course), mdlCrackMe (ELF executable), pengyuGdb usage, 录屏,TODO !! hyh and pengyuBuffer (Stack/Heap) Overflow doneOff-by-one moves hereShellcode Generation, pengyuROP, hyh; todo, execve done