quipqiup & Python for Substitution Ciphers (PicoCTF 2022 #24 'substitution0')

9,634
0
Published 2022-04-26
Help the channel grow with a Like, Comment, & Subscribe!
❤️ Support ➡ j-h.io/patreonj-h.io/paypalj-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/discordj-h.io/twitterj-h.io/linkedinj-h.io/instagramj-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)
  • @AmanPatel-rv2it
    Finally at #24 You just uploaded too much of videos 😂😂 But learning is learning !! Watched it all learning a lot new things kudos :
  • @fdert
    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!
  • @MikeDSutton
    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)))
  • @fjr2go
    To me its interesting. Thanks!
  • @micleh
    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.
  • @viv_2489
    Thanks John.. as always neat and clean using python...
  • 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 ;-)
  • @abdelhay.
    good job! we also miss tryhackme rooms.