Post

Sws101_tryhackme_lazyadmin

Topic: Lazy Admin

Alt text

Hello welcome back to another CFT room and in this room we will doing this room to expend our knowledge in Linux comnmands.

So basically i started this room with and nmap scan to see the port open this room, and in this i found that:

Alt text

so i went to the browser and and pasted this IP address.

Alt text

so i tried some common directories with gobuster and got the following:

Alt text

In the /content i got the following message:

Alt text

In which i never heard of the term sweetRice and i tried to expand the knowledge and again did gobuster on the content directory an d found the following:

Alt text

So i went into the /as endpoint and it gave me a login pager for the SeetRice website.

Alt text

and also into /inc i got a bunch of directories.

Alt text

Than i went to the /latest.txt and i think i got the version here

Alt text

I also went to the “mysql_backup” and i think i found the username and password to login in the SweetRice login site.

Alt text

for the password i used crack station to crack hashed password

Alt text

so i used this credentails to login into the login page and i was in.

Alt text

Alt text

Alt text

Alt text

So according to this, I need to go to the Adding Ads section and upload this, which will allow me to add PHP code to the server.

This post is licensed under CC BY 4.0 by the author.