Footprinting medium machinr

Feel free to DM me

I have the same problem. Do you have any advice, please?

mount the drive as root

4 Likes

See it sucks that you had to be so blunt here, but I honestly think the lab is a bit unfair because it almost goes against what you learnt in the NFS module, which is perhaps why it seems a few people are struggling here. We learn that being in the nobody group means you’re being root squashed, and although your not technically being root squashed when you log it as your default user, thats where the student’s brain is going, so I was never going to try as the root user. Furthermore I wasn’t actually aware I could switch to the root user in pwnbox outside of sudo. I didn’t realise it was the same password as the default user. Doing your own research into nobody group when you’re not root user takes you down a massive rabbit hole of something being wrong on the server. So here I am trying to change the NFS version when the answer was way more simple. I think the lab should be changed to show that the root group owns the folder, rather than the nobody group.

In saying that I did learn a valuable lesson in making sure I truly look properly at the folder permissions. Despite being in the nobody group, we can still ascertain which user we need to mount as via the folder folder permissions output, as ONLY the root user has permissions on the folder.

11 Likes

thank to your advice I can read the content of the nfs.
I found the important.txt, but it look like the password is not work for SQL server Management…
Can you give us another advice sir ?

Thank you

The user you are logged in with via RDP has no rights to access the database. You have to find another user to connect to it via RDP.

Hello I’ve used rdp I’ve learned how to query and search the last 200 entries, I believe I need to thoroughly search the databases. Am I on the right track?

anyone got this error while trying to connect to the MSSQL?

image

1 Like

I think the other user is “default”.
But where is his password ?
This lab is so weird !

got it once I figured out what a table and database was, learning a little sql helps

The hint suggests that you find and use an Administrator account and mssql. After I learned a little sql I got the answer 2 days later, the next question only took me 30min to solve. There’s a learning curve once you pass that the answers are usually right under your nose.

1 Like

Yes I am stuck with this error when I try to log-in as SA with the password in important.txt. Did you manage to solve this?

Alex has no rights to access the database.
So you have to find another user with whom you can connect to the Windows host via RDP. One that has enough rights. Maybe a user similar to SA?

1 Like

Im guessing that would be the admin account and I would need to use the SA account credentials I found to do that. Which service should I be looking at?

Log in via RDP with the other user and then use the database.

Thank you. I meant which service should I be footprinting (with the SA account I presume) to find the other user?

It is not about a service. Look around on the system.

Hey give me a hint please!
I found only users alex and sa is there any other user?

Yes, Alex has no rights to access the database.
You need another Windows user.
Have a look around on the system.
Users have the stupid habit to use passwords several times. Is there a user who has the same role for Windows as SA has for the database?

Do you mean Administrator ?