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

01. Introduction to Requests

Decode base64 Encoded String

echo -ne dXNlcm5hbWU6cGFzc3dvcmQ= | base64 -d # Output: username:password
import requests

x = requests.get("http://httpbin.org/get")

print(x.headers)
print(x.headers["Server"])

if x.status_code == 200:
    print("Status Code: 200 - Success!")
elif x.status_code == 404:
    print("Status Code: 404 - Not found!")

print(x.elapsed)
print(x.cookies)
print(x.text)

x = requests.get("http://httpbin.org/get", params={"id":"1"})
print(x.url)

x = requests.get("http://httpbin.org/get?id=2")
print(x.url)

x = requests.get("http://httpbin.org/get", params={"id":"3"}, headers={"Accept":"application/json", "Test-Header":"test"})
print(x.text)

x = requests.post("http://httpbin.org/post", data={"a":"b", "c":"d", "e":"f"})
print(x.text)

files = {"file": open("google.png", "rb")} # rb = read bytes
x = requests.post("http://httpbin.org/post", files=files)
print(x.text)

x = requests.get("http://httpbin.org/get", auth=("username", "password"))
print(x.text)
x = requests.Session()
x.cookies.update({"a":"b"})
print(x.get("http://httpbin.org/cookies").text)