Craft

anyone willing to point me in the right direction Found creds but not sure how to use them

Thanks for your time!

Could use help on crafting the payload. Got t****, tried five different payloads(That work locally) with lots of different escapingā€¦ nothing pops a reverse shell

Rooted. Nice Box:)

Rooted !

Very nice box, I love it.

If need help you can ask on pm.

Rooted! Feel free to contact me for hints :slight_smile:

Greate box had a lot of fun solving it, also learned alot of new stuff :slight_smile:
root@craft:~# wc -m root.txt
33 root.txt

Last login: Fri Nov 22 04:11:15 2019 from 10.10.10.110
root@craft:~# ls
root.txt
fun box, good for my python knowledge.

still, all the hacking i did was on a windows 7 machine :slight_smile:

My reverse shell will not run mySQL commands. Can sometime tell me if my reverse shell is inadequate?

what about using php to query db? :slight_smile:

I have rooted the box, but there is no root.txt. Is that normal? (Itā€™s my first machine on HTB)

Kudos to the creator to spend some time in making the machine as close to the real-life misconfigurations and lapses. Gilfoyle is my idol, so it is very hard to believe he did some horrible mistakes. Hints:-

User:- Think from the perspective why Dinesh is always ragged. What kind of commitment he has towards the repo. You will find pieces to the puzzle.

Root:- I wasted a lot of time doing something I should not have. Read the repo and stick to whatever is in scope.

Happy Rooting

user: Like others, this is the difficult part. You will need to know how to reverse a shell by taking advantage
of a Python function that is available in the repo.

I realized that upgrading my shell using the pty module in Python was not working, and this was because the chroot
enivorment does not include /bin/bash, but you have to specify /bin/sh. I believe that the jail will limit you to
Busybox commands. Upgrading the shell is done in most of Ippecā€™s videos. Learn this technique, it will save you a
lot of guessing.

root: Check out the new repo that you have access to. There is a program that stores SSH creds that allow you to
login to remote/local machines. This part should not take long.

other: My reverse shell was very slow and kept timing out, I do not know if this is by design or if this was just my
shell? I know there is a lot left out, but I did want to provide a few tips. I spent 80% of the time trying to
hack the box without visiting the forum, but after visiting the forum, it quickly provided the missing gaps to
hack the box.

fyi: to try harder, exhaust all your resources before visiting forum, document the new commands you learn, and
stay away from msfconsole. Msfconsole is rarely the answer for boxes here.

Type your comment> @quantlink said:

I have rooted the box, but there is no root.txt. Is that normal? (Itā€™s my first machine on HTB)

Okay, found the obvious answer myself. Finally escaped and rooted the machine really.

Good box, there are plenty of hints in the forum but some of them are vague.
PM via Discord if you need help.

EDITED:
ROOTED

I got user on craft and stuck on it.
canā€™t get the root.
i found v**** service but canā€™t figure out how to use it to gain root access.

Rooted it
DM for any help

For faster response ping me on discord

whiteheart#9724

Just rooted,
hints:

ā€” user:

  • Follow the obvious path
  • You are!? time to read some production code
  • login in the wanted service
    ā€” User
  • That second repo is useful in other way
  • documentation

ā– ā– ā–  such a satisfying box and so similar to setupā€™s Iā€™ve worked on irl

In the initial foothold, I couldnā€™t craft a rev shell that worked so I got drunk and went ā– ā– ā– ā–  it, creating my own version using the commands I knew worked. Never done anything like that b4, which was fun.

The user was quite easy but I had a bit of a ā€˜dohā€™ moment when I realised my script was limited to 1 result (facepalm). Then look around in places you may have been before with the details you find here. No brute needed.

Root was pretty easy too. RTFM for that thing you found on the last step.

Oh and the theme made me scream for joy when I found it

Rooted ,DM if u need help :slight_smile:

Got user and root. For root read the documentation and apply it to the obvious .sh file and construct your own command based on the two. Shout out to @nirodha42 who helped me with my obvious stupid mistake with the db to get the additional users.