07. Sets
Sets are similar to dictionaries, but don't contain key:value pairs. Sets cannot have duplicate values.
set1 = {"a", "b", "c"}
set2 = {"a", True, 1}
set2.update(set1) # Outputs: {"a", "b", "c", True, 1}
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 ResourcesI 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 ResourcesSets are similar to dictionaries, but don't contain key:value pairs. Sets cannot have duplicate values.
set1 = {"a", "b", "c"}
set2 = {"a", True, 1}
set2.update(set1) # Outputs: {"a", "b", "c", True, 1}