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

15. Lambdas

Lambda is just an anonymous function without a name.

add_4 = lambda x: x + 4 # Think of lambda as def function(x): 
print(add_4(4)) # Output: 8

add = lambda x, y: x + y
print(add(10, 4)) # Output: 14

One-Liner

print((lambda x, y: x + y)(10, 4)) # Output: 14

Check If Even

is_even = lambda x: x % 2 == 0
print(is_even(2))
to_ord = lambda x: [ord(i) for i in x]
print(to_ord("ABCD")) # Output: [65, 66, 67, 68]

# OR

def to_ord(x):
    ret = []
    for i in x:
        ret.append(ord(i))
    return ret
print(to_ord("ABCD")) # Output: [65, 66, 67, 68]