Traceback

I am beating my head against a wall…any advice is welcome and greatly appreciated.

I have found lt file, and I am aware of how to run it with s with correct permissions. However, when running the file, I get a line that says “Welcome to…” followed by jargon/encoding. I have no clue what this file is supposed to do, only that it assists in gaining access in some way.

I have also found a.l**, and edited it to reflect the correct connection information, as this seems to be the right next step (but obviously is not). I have not been able to get this file to execute; in every way I try it just shows the command I entered and sits there, staring blankly at me.

I have perused every page of the forum so far, and found some useful hints but still not able to get anywhere on this box. I am happy to discuss via PM if necessary to avoid any spoilers for the rest. I am sure it is something simple I am overlooking, but I am not sure what else to try at this point. Thank you so much for any help you can provide.

Disclaimer It may be obvious, but I am pretty noobish at this. I have been researching the ■■■■ out of this, trying to figure it out, so I am not looking for handouts. I am honestly trying to develop a solid pentesting methodology; I just need a nudge in the right direction.

Hi, I just finished my write up of this machine, I thought of putting the root flag as a password but apparently it is a dynamic string now. Could some who has root send me the hash for the root password.

why not do it myself? because this box keeps getting reset and it is getting on my nerves

Managed to get root last night despite multiple resets. People are still leaving a lot of garbage all over the box, but at least the webserver and ssh stayed up this time.

Got root flag…but i could not get a shell as root.
Somebody help me an how i would go about getting a shell please

Rooted! The resets every 15 min are making this machine harder than it should be. Learnt some stuff with this one.

Foothold : easy, just google what you see

User : i ended up doing this two ways. Didnt need to learn alot about the language

Root : this was a pain and i went down a rabbit hole. Turns out i was doing it right all the time but not triggering the right way. Be quick and always have a second terminal open :smile:

Happy to give a nudge

rooted! :smiley:

user: thanks for suggesting to look after not visible html hints, I finally got the webshell and made my way through s*******n user.txt file

root: accidentally found an interesting process running, but I hadn’t been able to
take advantage of it at first, too many things to do and not enough time to do them (and too many reset and overwrites by other people unfortunately, please guys use “>>”). Finally, I thought I was actually only interested in root.txt contents, and there are quicker ways to read it, instead of doing a classic privesc for a shell :wink:

very nice box, funny, actually easy but not trivial!

Rooted !

Fun box :slight_smile: Guy use “>>” seriously !

Feel free to reach out if you need help

Rooted! Thanks @Xh4H !
User: OSINT, check the author of backdoor in the google :wink:
Root: Enumeration. Search what the file(s) you can write.
Good machine for beginners.

UDP: PM me if you need hints :3

Rooted.

User was a little bit difficult; not too bad though. See if you can see what processes are being executed and see if you can “Traceback” it to some files that you control.

Hope this is not considered a spoiler. If it is, please take it down.

■■■ the resets are killing

Argh, SSH is determined to break me today.

I’ve added my public key to the relevant file but it’s still asking for a password when I try to SSH in.

Been stuck on this for several hours yesteday and today (slaps head in shame). Would be extremely grateful if someone could help me out a bit! :slight_smile:

I’m stuck on root for 2 days now. I am s***n I found r-p**** and I’m editing 0*-h****r file with what I want to execute, but still don’t know how to run it as root. Permission denied whatever I tried.

@cryptonian said:

Argh, SSH is determined to break me today.

I’ve added my public key to the relevant file but it’s still asking for a password when I try to SSH in.

Been stuck on this for several hours yesteday and today (slaps head in shame). Would be extremely grateful if someone could help me out a bit! :slight_smile:

Possibly someone has modified the file before you have a chance to ssh in. You can check this by tailing / cating / heading the file.

If not check the syntax is correct and no extra junk has appeared from the way it was added.

If not, check you are using the private key correctly.

If it is none of them, I’ve no idea.

@WhiskeyBar said:

I’m stuck on root for 2 days now. I am s***n I found r-p**** and I’m editing 0*-h****r file with what I want to execute, but still don’t know how to run it as root. Permission denied whatever I tried.

It depends on what is denying you. How are you trying to run it as root? Why are you trying to run it as root? (etc).

Think about the attack you are trying to execute, the files you are trying to use and how they are used by the OS.

@TazWake said:

@WhiskeyBar said:

I’m stuck on root for 2 days now. I am s***n I found r-p**** and I’m editing 0*-h****r file with what I want to execute, but still don’t know how to run it as root. Permission denied whatever I tried.

It depends on what is denying you. How are you trying to run it as root? Why are you trying to run it as root? (etc).

Think about the attack you are trying to execute, the files you are trying to use and how they are used by the OS.

Idk with the files I could edit, I don’t know what else to do, read about many things such as cronjobs and etc. still don’t see a way to run it or make it run as root with the permissions I have.

@WhiskeyBar said:

Idk with the files I could edit, I don’t know what else to do, read about many things such as cronjobs and etc. still don’t see a way to run it or make it run as root with the permissions I have.

So, trying to avoid spoilers. Something made you decide to modify this file, so try to focus on what that was.

You can modify some files but you might find something else changes them quite often. However, you can either be fast or find a way where this doesn’t matter.

Lastly, you need to understand what triggers the file. Then you can make it work.

Type your comment> @TazWake said:

@cryptonian said:

Argh, SSH is determined to break me today.

I’ve added my public key to the relevant file but it’s still asking for a password when I try to SSH in.

Been stuck on this for several hours yesteday and today (slaps head in shame). Would be extremely grateful if someone could help me out a bit! :slight_smile:

Possibly someone has modified the file before you have a chance to ssh in. You can check this by tailing / cating / heading the file.

If not check the syntax is correct and no extra junk has appeared from the way it was added.

If not, check you are using the private key correctly.

If it is none of them, I’ve no idea.

Thanks but all the SSH details are correct (ran them several times over multiple hours, after resetting the box as well) and still no luck.

I’m exactly where I need to be to get root but I can’t modify the file because I don’t have w permissions. Not sure what I can do at this point.

@TazWake said:

@WhiskeyBar said:

Idk with the files I could edit, I don’t know what else to do, read about many things such as cronjobs and etc. still don’t see a way to run it or make it run as root with the permissions I have.

So, trying to avoid spoilers. Something made you decide to modify this file, so try to focus on what that was.

You can modify some files but you might find something else changes them quite often. However, you can either be fast or find a way where this doesn’t matter.

Lastly, you need to understand what triggers the file. Then you can make it work.

Hmm you are right, I still don’t know how they get back to their old version in just seconds, will look up to that , thanks!

Took me a while but finally rooted. I spent more time than I would like to admit getting the foothold and then an interactive session. Available for hints.

Done and Dusted! Refreshing straight forward and nice easy machine Thanks @Xh4H