第一次复现awdp比赛赛题,主要练习一下patch能力
catchmeida打开菜单题,简单查看会发现free后未置零,存在uaf在patch中的思路一般是修改关键处指令为jmp,然后跳转到合适区域,一般是eh_frame节(作用:存储异常处理帧信息(Exception Handling Frame)。它包含了 CIE(公共信息条目)和 FDE(帧描述符条目),用于在程序崩溃或抛出异常时进行...
0x0 首先是链接过程看看静态链接123456789101112131415161718192021222324252627282930313233343536373839404142+-------------+ +-------------+ +-------------+| main.c | | foo.c | | lib.c |+-------------+ +-----------...
1 安装核心工具12345678910111213141516171819202122232425sudo apt updatesudo apt install -y qemu-system qemu-user qemu-user-static gdb gdb-multiarch file wget curl git python3 python3-pip build-essential l...
PWN1ida打开attachments/Pasted image 20260310160609.png确认各个函数大概用途容易发现change分支存在格式化字符串漏洞attachments/Pasted image 20260310160651.png查看保护attachments/Pasted image 20260310160737.png保护全开,但格式...
12345678910111213141516171819202122232425262728293031323334353637#!/bin/python3from conpwn import *io = conio('./pwn')coninit()context.arch = 'amd64'context.os = 'linux...
1 打开提供的环境Pasted image 20260223112315.png
2 启动IGSSPasted image 20260223112528.png
2 nmap扫描确认从外部能访问服务Pasted image 20260224123648.png使用-Pn和-p-进行全端口不用ping的扫描
3 在虚拟机内确认当前服务的pidPasted image 2026022412415...
0 温馨提醒温馨提醒,需要科学上网,且提前在主机上配置好虚拟机的VPN(最简单的是TUN模式)提前在windows电脑上安装tabby用于ssh连接
1 ubuntu下载好ubuntu镜像后直接在vmware中傻瓜式安装,建议设置一个CPU八个核心,不要设置多个CPUattachments/Pasted image 20260312161728.png
0x1 vmtoolssud...
IO_FILE结构及stdin、stdout举例_IO_FILE_plus12345struct _IO_FILE_plus{ FILE file; const struct _IO_jump_t *vtable;};
_IO_FILE123456789101112131415161718192021222324252627282930313233343536373839...
<1>
