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

10. Reading and Writing Files

f = open('top-100.txt', 'rt') # rt = read text, a = append, w = write
print(f.read()) # read each item

print(f.readlines()) # read all lines in an array style

# Need to reset the file with .seek to see the items in an array again.
f.seek(0)
print(f.readlines())

Simple Bruteforce Script

f.seek(0)
for line in f:
    print(line.strip())
f.close()