DEV Community

Mudacumura Brunoblaise
Mudacumura Brunoblaise

Posted on

1 1 1 1 1

useless picoCTF 2023

useless

100 points

AUTHOR: LOIC SHEMA

Description
There's an interesting script in the user's home directory
The work computer is running SSH. We've been given a script which performs some basic calculations, explore the script and find a flag.
Hostname: saturn.picoctf.net
Port: //port number given to you
Username: picoplayer
Password: password

Note: This challenge launches an instance on demand.


That was a tricky challenge, in the home directory there is a file named useless that does command line arithmetic, spoiler, it does nothing.

The interesting thing to notice was the code itself, specifically the line:

else
    echo "Read the manual"
Enter fullscreen mode Exit fullscreen mode

Using man on the script we get the flag hidden at the bottom of the page.

picoCTF{your flag}

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up