all InfoSec news
[Hack] picoCTF - Mod 26
April 21, 2024, 4:12 p.m. | Falme Streamless
DEV Community dev.to
This is a challenge from the picoCTF picoGym, the challenge description follows:
"Cryptography can be easy, do you know what ROT13 is?
cvpbPGS{arkg_gvzr_V'yy_gel_2_ebhaqf_bs_ebg13_uJdSftmh}"
This is pretty straightforward, we can use a website to decrypt the ROT13 encrypted message.
But in this case, I used a bash script to do this for me. Here's the script:
# Tring to find a flag using ROT13
# Where $1 is cvpbPGS{arkg_gvzr_V'yy_gel_2_ebhaqf_bs_ebg13_uJdSftmh}
echo "== ROT13 =="
echo ""
output=$(echo "$1" | tr 'N-ZA-Mn-za-m' …
bash bash script can case challenge cryptography cybersecurity decrypt easy encrypted hack message mod picoctf programming rot13 script website
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
CyberSOC Technical Lead
@ Integrity360 | Sandyford, Dublin, Ireland
Cyber Security Strategy Consultant
@ Capco | New York City
Cyber Security Senior Consultant
@ Capco | Chicago, IL
Sr. Product Manager
@ MixMode | Remote, US
Corporate Intern - Information Security (Year Round)
@ Associated Bank | US WI Remote
Senior Offensive Security Engineer
@ CoStar Group | US-DC Washington, DC