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.
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.
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 ;-)
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!
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)))
Handy alternative method...thanks John!!
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.
nice vid!
thank you bro
Thanks John.. as always neat and clean using python...
theres a maketrans() func in python btw
To me its interesting. Thanks!
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.