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

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 15

  • @AmanPatel-rv2it
    @AmanPatel-rv2it 2 роки тому +7

    Finally at #24
    You just uploaded too much of videos 😂😂
    But learning is learning !! Watched it all learning a lot new things kudos :

  • @fdert
    @fdert 2 роки тому

    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.

  • @lordspacecake5565
    @lordspacecake5565 2 роки тому +1

    All caught up, great content i leared alot, looking forward to more!

  • @MikeDSutton
    @MikeDSutton 2 роки тому +1

    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("

    ", 1))
    print(msg[1].translate(
    string.maketrans(msg[0].upper() + msg[0].lower(),
    string.ascii_uppercase + string.ascii_lowercase)))

  • @greyether777
    @greyether777 2 роки тому

    Handy alternative method...thanks John!!

  • @micleh
    @micleh Рік тому

    13:30 "If you did..." -> I'll appease the UA-cam algorithm gracefully. This python script qualifies well for a challenge I often devise for my students. They like competing against each other that way.

  • @aravbhardwaj371
    @aravbhardwaj371 2 роки тому +1

    nice vid!

  • @marounahel8205
    @marounahel8205 Рік тому

    thank you bro

  • @viv_2489
    @viv_2489 2 роки тому +1

    Thanks John.. as always neat and clean using python...

  • @thengakola6217
    @thengakola6217 2 роки тому +1

    theres a maketrans() func in python btw

  • @fjr2go
    @fjr2go 2 роки тому

    To me its interesting. Thanks!

  • @yourfellowhumanbeing2323
    @yourfellowhumanbeing2323 2 роки тому +1

    Hey John, I think every video got unlisted

  • @christophercuckow6329
    @christophercuckow6329 2 роки тому +4

    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.
    @abdelhay. 2 роки тому +5

    good job! we also miss tryhackme rooms.