ctf-writeup/2023/VishwaCTF 2023/Payload
daffainfo e6c48e50f1 feat: grouped the challs 2024-01-09 16:59:32 +07:00
..
images feat: grouped the challs 2024-01-09 16:59:32 +07:00
README.md feat: grouped the challs 2024-01-09 16:59:32 +07:00

README.md

Payload

No description.

About the Challenge

We were given a website that has a button to give us a detail about the system

preview

How to Solve?

When I want to check the source code, trying every single thing on the btn parameter. The result is nothing. And then I decided to test some interesting endpoint like .git or robots.txt. And then there is a source code when I open robots.txt

robots

As you can see, we can execute an OS command using the cmd parameter. And then read index.php file to obtain the flag or we can execute the env command to retrieve the flag from environtment variables

flag

VishwaCTF{y0u_f-o-u-n-d_M3}