Undo writeup

Descripción

Can you reverse a series of Linux text transformations to recover the original flag?

Undo solución

Lanzamos la instancia y se nos proporcionará el siguiente comando:

nc foggy-cliff.picoctf.net 61075

Al ejecutarnos nos pedirán una serie de comandos para modificar una cadena de caracteres:

Hint: Base64 encoded the string.
Enter the Linux command to reverse it:

base64 -d

Hint: Reversed the text.
Enter the Linux command to reverse it:

rev

Hint: Replaced underscores with dashes.
Enter the Linux command to reverse it:

tr '-' '_'

Hint: Replaced curly braces with parentheses.
Enter the Linux command to reverse it:

tr '(,)' '{,}'

Hint: Applied ROT13 to letters.
Enter the Linux command to reverse it:

tr 'A-Za-z' 'N-ZA-Mn-za-m'

Al enviar correctamente todos los comandos se nos mostrará la flag y completaremos el CTF:

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *