Finally got root flag. Thank you @TazWake for getting me to look again.
Rooted Thank you @bertolis for the box. Learnt very important and interesting stuff with this box
User
Thereās info all over the internet. No big deal.
Root???
Enumerate a dir that has already been mentioned in the forum plenty of times. May be easy to miss, so know your filtering tools. Try all your options.
Root
Escape Again, Google has some very nice advice for you.
My PMs are open for nudges
Finally Rooted. Thanks for the machine, learning sth useful. The enumeration costs a lot of timeā¦
The escape is not that hard than you think.
root@ready:~# id
uid=0(root) gid=0(root) groups=0(root)
My two cents about this machine
Foothold
After you discover that high port, go check it out and enumerate. With a well known tool we always use on Kali, you can find juicy exploits : Warning ā they are incomplete, try to figure out what is missed, or if you are not a dev or donāt know Python so much( advice, you must learn it) find the fixed exploit using Google.
Shell Improvement
If you got a shell, it will be basic and unstable.
Lot of people askinā, i usually do :
python3 -c āimport pty;pty.spawn(ā/bin/bashā)ā
export TERM=xterm
Ctrl + Z
stty raw -echo; fg
User
Get that flag, is in front of you
Root
As other said, use Linpeas if you want, btw there is a folder you have to enumerate, there are files inside and one of them has juicy infos.
Root Flag
If you know where you are, you know what to search for on Google. Hacktricks will definitely help you.
Nice box, i had fun indeed so thank to its creator!
Hope it helps feel free to DM me if you are stucked
I have to say thanks to @Kiwito and @TazWake : You gave me the hints to solve the situation.
I donāt have to much to add about what @GamesDean said in the post before meā¦ just for the foothold: remember to check one of the first things u should look in a software when you do a PT.
Ayyyyy 1st time getting user.txt with no nudges. Good feeling!
nice and easy box. I think this is a good beginner machine. user did go down very quickly so I got myself cocky and karma slapped me in the face for that.
so for root1 lesson learned: if the witch cant find the snake, dont assume it is not there, it is just hiding under the rails. snake can help you getting a proper shell. once you find the juicy info use it. root2: google on how to get out of the cage; this is well known method.
Best
was a good one even if d***** is totally new for me.
The user part was just more simple as expected in view of the rating. But I did another GL device last week with nearly the same foothold.
One hint in this thread helped me out to escape.
Thx for that nice experience. Learned a lot.
Foothold: Found a helpful snake, but it was a bit moody. It worked once I hard-coded some things. You can grab the user flag with the foothold.
Upgrading shells is a useful skill to have.
Local: I wasted so much time on this. There is just so much to sieve through and things that look useful, but are actually useless. I recommend liberal enum withfind
and grep
. In the end the solution is easier than you probably thought.
Root: This is easy, just google and follow basic tutorials
It was a easy one āReadyāā¦ Got user and rootā¦ Try tryā¦
Type your comment> @Arty0m said:
Can anyone help me figure out how to escape? iām assuming i need to use a certain password to su but iām really struggling to get a tty. this isnāt something iāve done before so i might be missing something obvious but all the techniques iāve come across arenāt installed on the box. Can anyone give me an idea about what i should be looking into?
Any files in your user might help youā¦ To privescā¦ After getting shellā¦ Files like config filesā¦
Advice for this machine;
ESCAPE!
Any more info please DM.
Just got the user flag! I found two files, one with an private rsa which tried to use as root and the user and no luckā¦ On the second file found some smtp password, but I havenāt been able to use it anywhere eitherā¦
Any advise or hint?
@thorthehacker said:
Just got the user flag! I found two files, one with an private rsa which tried to use as root and the user and no luckā¦ On the second file found some smtp password, but I havenāt been able to use it anywhere eitherā¦
Any advise or hint?
This is going to suck but ātry harderāā¦
You say you havenāt been able to use it anywhere, that might just mean you havenāt tried the right thing.
Type your comment> @TazWake said:
@thorthehacker said:
Just got the user flag! I found two files, one with an private rsa which tried to use as root and the user and no luckā¦ On the second file found some smtp password, but I havenāt been able to use it anywhere eitherā¦
Any advise or hint?This is going to suck but ātry harderāā¦
You say you havenāt been able to use it anywhere, that might just mean you havenāt tried the right thing.
Thank you so much, it was so easyā¦ Sometimes you just need to go away from the computer so the ideas flow
Ooof. Got user, and have ārootā. But getting out is really hard for me. Iāve tried a few things but at this point iām more interesting in learning. Can anyone point me in a direction of a tutorial for this part? Iām lost.
nvm, got it. What a FANTASTIC box.
Well that was fun. Initial foothold and final root flag probably took 10% of my whole time. Really upped my āfindā game with this box.
Great box.
i got root shell.
DM for help
Can I PM someone for help? Iāve got user, used linpeas, looked through a lot of stuff and still not a step closer than I was when I first got user.