Initial foothold was easy and user makes sense if you look right in front of your nose and think whether admins reuse same things for multiple people. I had a pretty good idea with how to get root but trying to understand the service and its syntax took me a bit.
Fun box nonetheless.
Send me a PM if you need help or nudges.
Got root, thanks to some hints here and Gunroot.
Mainly a newbie to pentesting and Linux world in general so itās fair to say I learnt a lot about what you can do
No idea how to get user.txt, I feel like Iāve looked around everywhere, can someone point me to the right direction? thank you.
Its difficult to answer this because the simplest non-spoiler answer is to enumerate. Look in the files and folders. Make sure you know what youāve found and dont assume because something looks like a random string of characters that it isnāt useful.
But thereās a lot of data to work through. Unfortunately, this is realistic - you might do a pentest and land on a box which has 30 userās documents and you have to go through terabytes of tedious stuff to see if theyāve left credentials out.
The main thing I can say is dont go too far from where your shell lands. Look at the files. If its encoded, decode it. If its hashed try to crack it. etc.
Is their a tool that can automate this enumeration process? I have tried to zip the interesting directory and copied it to my machine and Iāve been using grep with a certain ārockingā wordlist hinted in this thread but so far the only thing Iāve managed to achieve is freezing my vm due to the grep errors because of unescaped characters in the wordlist. Am I on the right path or am I digging in the completely wrong direction?
Is their a tool that can automate this enumeration process?
Not that I know of, but if you found yourself doing this a lot it might be worth creating one.
You can possibly script it with some bash.
I have tried to zip the interesting directory and copied it to my machine and Iāve been using grep with a certain ārockingā wordlist hinted in this thread but so far the only thing Iāve managed to achieve is freezing my vm due to the grep errors because of unescaped characters in the wordlist. Am I on the right path or am I digging in the completely wrong direction?
You might have pulled down too much data but you are definitely in the right area. I donāt think running grep with a wordlist will get you what you need.
Thanks @ChefByzen, I enjoyed this machine a lot. Just right amount of CVE, guessing and enumeration.
Hints:
Foothold - check what is used and how old it is. Do it by hand if sploit fails.
User1 - search for interesting files, find interesting pattern. Maybe ask chef if he can help you.
User2 - check how can you login with that username. What would you use if you are User1?
Root - you are going places. Google if you are already famous?
Hey guys! I need a hint. So i have a ww-dta shell, got decrypted creds to pl and nv but i canāt drop to theirs accounts because w*-d*ta shell donāt take input, like su and ssh requires a key file. I should enumerate next too?
Hey guys! I need a hint. So i have a ww-dta shell, got decrypted creds to ************* but i canāt drop to theirs accounts because w**-d*ta shell donāt take input, like su and ssh requires a key file. I should enumerate next too?
Hey guys! I need a hint. So i have a ww-dta shell, got decrypted creds to pl and nv but i canāt drop to theirs accounts because w*-d*ta shell donāt take input, like su and ssh requires a key file. I should enumerate next too?
How did you decrypt the creds of n*v,
I was only able to decrypt plās creds.
Could someone give me a hint? I found the /CeN*/ L**** p*** and now i donāt know what to do with it, I barely found it almost by accident without the dirbuster
Could someone give me a hint? I found the /CeN*/ L**** p*** and now i donāt know what to do with it, I barely found it almost by accident without the dirbuster
There is no need of dirbuster to get the shell. Just read everything on the webpage and use google.
Could someone give me a hint? I found the /CeN*/ L**** p*** and now i donāt know what to do with it, I barely found it almost by accident without the dirbuster
There is no need of dirbuster to get the shell. Just read everything on the webpage and use google.
after some googling i found an et and after running it iām in a sl in www-data with a suspicious file named ex*** and a lot of .php files, am i on the right track?