Skip to content

Files

Latest commit

c82a68f · Dec 29, 2024

History

History
43 lines (34 loc) · 843 Bytes

File metadata and controls

43 lines (34 loc) · 843 Bytes
name event category description layout
Split (2021)
HackTheBox x Synack RedTeamFive CTF 2021
Rev
Writeup for Split (rev) - HackTheBox x Synack RedTeamFive CTF (2021) 💜
title description tableOfContents outline pagination
visible
true
visible
true
visible
true
visible
true
visible
true

Split

Video Walkthrough

VIDEO

Solution

backdoor.py

{% code overflow="wrap" %}

from pwn import *

# Load our binary
exe = 'split'
elf = context.binary = ELF(exe, checksec=False)

# Patch out the call to ptrace ;)
elf.asm(elf.symbols.ptrace, 'ret')

# Save the patched binary
elf.save('patched')

{% endcode %}