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

Security Specialist

@ Nestlé | St. Louis, MO, US, 63164

Cybersecurity Analyst

@ Dana Incorporated | Pune, MH, IN, 411057

Sr. Application Security Engineer

@ CyberCube | United States

Linux DevSecOps Administrator (Remote)

@ Accenture Federal Services | Arlington, VA

Cyber Security Intern or Co-op

@ Langan | Parsippany, NJ, US, 07054-2172

Security Advocate - Application Security

@ Datadog | New York, USA, Remote