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

Conditional Statements

Using if, elif, and else to branch on conditions.

def drink(money):
    if money >= 2:
        return "You've got yourself a drink!"
    else:
        return "No drink for you!"

print(drink(3)) #You've got yourself a drink!
print(drink(1)) #No drink for you!

Combining conditions with & to handle several cases:

def alcohol(age, money):
    if (age >= 21) & (money >= 5):
        return "We're getting a drink!"
    elif (age >= 21) & (money < 5):
        return "Come back with more money!"
    elif (age < 21) & (money >= 5):
        return "Nice try, kid!"
    else:
        return "You're too young and too poor."

print(alcohol(21, 5) #We're getting a drink!
print(alcohol(21, 2) #Come back with more money!
print(alcohol(19, 5) #Nice try, kid!
print(alcohol(19, 2) #You're too young and too poor.