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

Sockets

Opening a TCP socket in Python and connecting to a listener.

#!/bin/python3

import socket

HOST = '127.0.0.1' # home/loopback address
PORT = 7777

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # AF_INET = IPv4 "127.0.0.1", SOCK_STREAM = Port
s.connect((HOST, PORT))

On the other end, a netcat listener accepts the connection:

nc -nvlp 7777 # listens on port 7777 and establishes the connection