Skip to main content

Posts

Showing posts with the label CryptoWarmup2

PicoCTF2018 - Crypto- Crypto Warmup 2

PicoCTF2018 - Crypto- Crypto Warmup 2 Objective: Cryptography doesn't have to be complicated, have you ever heard of something called rot13? cvpbPGS{guvf_vf_pelcgb!} Solution: let's solve this in bash I'm just going to use tr translate to a ROT13 echo "cvpbPGS{guvf_vf_pelcgb}" | tr '[A-Za-z]' '[N-ZA-Mn-za-m]' 1st shot @pico-2018-shell:~$ echo "cvpbPGS{guvf_vf_pelcgb!}" | tr '[A-Za-z]' '[N-ZA-Mn-za-m]' -bash: !}: event not found OK it doesn't like to translate "!" because its not alpha we are trying. let's try it again without the ! (I'll just add it back in after the translation) @pico-2018-shell:~$ echo "cvpbPGS{guvf_vf_pelcgb}" | tr '[A-Za-z]' '[N-ZA-Mn-za-m]' picoCTF{this_is_crypto} let's not forget to add the ! back in picoCTF{this_is_crypto!} ** just a bit of explanation on the tr command what were doing here is remapping the al