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

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 15

  • @micleh
    @micleh Год назад

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

  • @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 :

  • @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)))

  • @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!

  • @greyether777
    @greyether777 2 года назад

    Handy alternative method...thanks John!!

  • @thengakola6217
    @thengakola6217 2 года назад +1

    theres a maketrans() func in python btw

  • @viv_2489
    @viv_2489 2 года назад +1

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

  • @marounahel8205
    @marounahel8205 Год назад

    thank you bro

  • @fjr2go
    @fjr2go 2 года назад

    To me its interesting. Thanks!

  • @aravbhardwaj371
    @aravbhardwaj371 2 года назад +1

    nice vid!

  • @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.