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. String Formatting

String formatting and common string methods in Python.

Checking how a string starts:

string4 = "I'm a string"

print(string4.startswith("I")) # True

Chaining replace and strip:

messy_string = "      Messy string!       "
print(messy_string.replace("!", "?").strip()) # Prints "Messy string?"

Encoding, justifying, and measuring length:

print(string4.encode())
print(string4.encode("utf-8")) # Encodes in Unicode
print(string4.rjust(25)) # Right justify by 25 spaces
print(string4.ljust(25)) # Left justify by 25 spaces

print("String 4 is " + str(len(string4)) + " characters long!) # Concatenates strings