picoCTF 2022 | Local Authority Write-up

Challenge description

Can you get the flag? Go to this website and see what you can discover.

Category: Web Exploitation


Inspecting the website’s source, we can find the login.php file responsible for managing the login form:

Inspecting that file itself, we find inside it a javascript file called secure.js:

Finally, inside it, we can find the credentials to log in as admin:

Simply log in to the website using these credentials to obtain the flag.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: