quipqiup & Python for Substitution Ciphers (PicoCTF 2022 #24 'substitution0')
9,634
Published 2022-04-26
❤️ Support ➡ j-h.io/patreon ↔ j-h.io/paypal ↔ j-h.io/buymeacoffee
Check out the affiliates below for more free or discounted learning!
🖥️ Zero-Point Security ➡ Certified Red Team Operator j-h.io/crto
💻Zero-Point Security ➡ C2 Development with C# j-h.io/c2dev
👨🏻💻7aSecurity ➡ Hacking Courses & Pentesting j-h.io/7asecurity
📗Humble Bundle ➡ j-h.io/humblebundle
🐶Snyk ➡ j-h.io/snyk
🌎Follow me! ➡ j-h.io/discord ↔ j-h.io/twitter ↔ j-h.io/linkedin ↔ j-h.io/instagram ↔ j-h.io/tiktok
📧Contact me! (I may be very slow to respond or completely unable to)
🤝Sponsorship Inquiries ➡ j-h.io/sponsorship
🚩 CTF Hosting Requests ➡ j-h.io/ctf
🎤 Speaking Requests ➡ j-h.io/speaking
💥 Malware Submission ➡ j-h.io/malware
❓ Everything Else ➡ j-h.io/etc
All Comments (15)
-
Finally at #24 You just uploaded too much of videos 😂😂 But learning is learning !! Watched it all learning a lot new things kudos :
-
Cool to see another way of handling this in python. I personally used the chr() function and used the index from the key then added 65 if uppercase and 97 if lowercase.
-
All caught up, great content i leared alot, looking forward to more!
-
Handy alternative method...thanks John!!
-
Python has a handy translate function for this kind of thing: with open("message.txt", "r") as f: msg = map(str.strip, f.read().split("\n\n", 1)) print(msg[1].translate( string.maketrans(msg[0].upper() + msg[0].lower(), string.ascii_uppercase + string.ascii_lowercase)))
-
thank you bro
-
nice vid!
-
To me its interesting. Thanks!
-
13:30 "If you did..." -> I'll appease the YouTube algorithm gracefully. This python script qualifies well for a challenge I often devise for my students. They like competing against each other that way.
-
theres a maketrans() func in python btw
-
Thanks John.. as always neat and clean using python...
-
Hey John, I think every video got unlisted
-
great video John, have you ever thought of putting you get_flag.py's on something like pastbin? for those of us watch it on mobile's or just the plain lazy ;-)
-
good job! we also miss tryhackme rooms.