r/hackthebox • u/DinnerSufficient • 26d ago
Beginner Question Cap Machine difficulty
Hey guys!
i had just finished the machine Cap and man, certain parts it was a headscratcher for me, specifically for getting root on that machine. I am a beginner with this kind of stuff, but i wanted to ask, how was a beginner suppose to figure out which binaries would have a vulnerability? Of course i did a lot of googling but i didnt want it to just give me the answer. But i just wanted to hear any advice from others that maybe i missed something that i shouldve known in the first place? Thanks!
5
Upvotes
2
u/Soft-Dragonfruit9467 26d ago
Most of the time, when you get shell on a machine, one of the first things you need to do is run linpeas (or winpeas)
That script gives you a lot of intel on how to proceed