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

13. Comprehensions

list1 = ['a', 'b', 'c']

list2 = [x for x in list1]
print(list2) # Output: ['a', 'b', 'c'] // Iterates over list1 and assigns elements to list2
list3 = [x for x in range(5)]
print(list3)

list4 = [hex(x) for x in range(5)]
print(list4)

list5 = [hex(x) if x > 0 else "X" for x in range(5)]
print(list5)
list_of_lists = [[1,2,3],[4,5,6],[7,8,9]]

sort_lists = [y for x in list_of_lists for y in x]
print(sort_lists) # Output: [1, 2, 3, 4, 5, 6, 7, 8, 9]