Obscurity

Someone please pm for RCE , i think i know where i should serve the payload but nothing I am sending returns anything.

Best I can do is 404 or 400

Good box, once I rooted it I then learnt about 2 other ways to root it.
So I now have a totaly of 3 ways to root the box.

You can PM via discord if you need help, Discord only, please.

Recently joined HTB, so my first root here. Nice machine, simple and straightforward.

My tips:

  • simulate your RCE payload locally
  • read the code
  • things may disappear quckly, find a way to catch them

Really like this machine and all the python scripts you had to make or edit. PM for nudges.

Type your comment> @TheWick33 said:

Type your comment> @zuk4 said:

Hi All,

I’m new in the hacking world and I have decide to try this machine, but I’m struggling to understand the py script or even run it, I’m not a python person, my mistake it seems.

So I have found the directory and the py script and I need help to understand it, is anyone able to help me?

Thank you

bro how you found the secre directory and py file can you help me please

I have used dirb with a wordlist file, that was the easiest part, at least for me.

Should i try to bruteforce the key for user ?

Type your comment> @Hagbard70 said:

Should i try to bruteforce the key for user ?

this is what I have been trying to do with no luck. I am not good with the logic/math of it to do what other people are saying here.

Any nudges?

For people asking if their method for root was intended: It should follow a similar gist to the rest of the box.

Type your comment> @Hagbard70 said:

Should i try to bruteforce the key for user ?

I don’t think it’s an intended way. you would rather focus on “areas” that key is used

found .py file by hand… i just read the webpage… but my python knowledge is lacking here… could somebody give me a nudge? i’m spending way to much time on this step of understanding the py file…

Rooted!

Simple / Fun box for me.

User: Read, write & execute on your own machine and you’ll find it
Root: Take a closer look at the command, it’s fast and simple

PM if you are confused

Rooted!
Nice box, I love when you have to reverse something.
Tip: once you find that file, everything will be straightforward.
As always, try in your own box before exploit anything there.

I am still struggling with this box, I can’t get the shell to connect. It works locally but doesn’t connect. i am lost, i need help

Still trying to find the “key”, played around with the script for too long now with no progress. Is it something we find, or something that can be inferred? Any nudge would be much appreciated.

EDIT: got user, thanks @phycomp for the nudge! Made it so much harder on myself by not actually reading the file, lol

I’ve found the script, but I’m not entirely certain what it does. I am not looking for the answer so much as a nudge as to what I should be researching next. I have some small understanding of the language, but could use a little help on how to understand constructing an input that triggers an unwanted response from the server. Have tried a few random curls to see if something interesting happens, but no dice.

Any hint about foothold

Type your comment> @ghost5egy said:

Any hint about foothold

On the main page you can find direction (file in dir), you can try to find this ‘directory’ manually or use small wordlist of very common dirs. It is important to look at the very specific error message.

Type your comment> @commercialeer said:

I’ve found the script, but I’m not entirely certain what it does. I am not looking for the answer so much as a nudge as to what I should be researching next. I have some small understanding of the language, but could use a little help on how to understand constructing an input that triggers an unwanted response from the server. Have tried a few random curls to see if something interesting happens, but no dice.

If you talking about first script (from web server) - look for comments in code from author, if developer does not particularly understand how something should be done, then this something have high probability of being vulnerable.
And you can look at how to make HTTP requests with python requests lib, it is doing some staff for you, so you can input raw (no encoding) uri’s and they will be properly understood by this server.

Question about root. I think I know how what to do regarding the file in t*p. But I cant seem to the run the py file without getting permission errors. Any help?
NVM I was being stupid

Rooted! had some real fun with user. Root was a bit disappointing (too easy).
Hints:
Foothold: don’t rush with that command and that syntax only because you have seen ippsec videos and it worked. Take time to understand the tool you want to use and what to fuzz
User: just a funny puzzle game. remember that sometimes copypasting might corrupt your bytes!
Root: nothing to say. just run the thing and you are done
Pm for nuggets!