boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

02. Introduction to Pwntools

from pwn import *

print(cyclic(50)) # Create 50 byte sequence
print(cyclic_find("laaa")) # Find offset location the byte sequence

print(shellcraft.sh()) # Create assembly code
print(hexdump(asm(shellcraft.sh()))) # Display assembly in hex

p = process("/bin/sh")
p.sendline("echo hello;")
p.interactive()

r = remote("127.0.0.1", 1234)
r.sendline("hello!")
r.interactive()
r.close()
print(p32(0x13371337)) # Pack number
print(hex(u32(p32(0x13371337)))) # Unpack number

l = ELF("/bin/bash")

print(hex(l.address))
print(hex(l.entry))

print(hex(l.got["write"]))
print(hex(l.plt["write"]))

for address in l.search(b"/bin/sh\x00"):
    print(hex(address))

print(hex(next(l.search(asm("jmp esp")))))

r = ROP(l)
print(r.rbx)

print(xor("A", "B"))
print(b64e(b"test"))
print(b64d(b"dGVzdA=="))
print(md5sumhex(b"hello"))
print(sha1sumhex(b"hello"))
print(bits(b"a"))
print(unbits([0, 1, 1, 0, 0, 0, 0, 1]))