OpenAdmin

Can anyone give me a little help? I discovered my weakness is enumeration because I’m stuck with www data

Type your comment> @H0ru5 said:

Can anyone give me a little help? I discovered my weakness is enumeration because I’m stuck with www data

To get around in a Linux system you need a username and some sort of credentials. See if you can find potential usernames.

If you have found anything remotely interesting, have you tried to utilize it in some way? See if you can find credentials.

You only need ‘cat’ and ‘ls’ command at this stage. Until you find some username and credentials, then you need an additional tool to test your findings.

My first root own. I had a lot of help from all the comments scattered throughout but learned a lot that will be useful elsewhere :slight_smile: Initial foothold, user1 and root were easy enough; user 2 was the challenge but once I started looking in the right place it got easier.

Rooted !
DM if you stuck

Type your comment> @GreyHat86 said:

Can someone give me a nudge? found a possible R** for ON***N. just want to check i’m not off down a rabbit hole.

you are going right!

Rooted earlier today. msf failed me on this one, but was a fun journey. DM if hint is needed :slight_smile:

Just rooted, let me be clear here with some stuff:
0. Dont overthink, it is as easy machine

  1. Foothold should be a fast enum + google
  2. Getting the first user should be fast, all you need is cat, ls and knowing people use the same password for everything like in real world
  3. More cat and ls in different places and I found what I needed, got second user
  4. Getting root was ridiculous ctf like, piece of cake, go to the basics

Root it.

any nudge pm me :slight_smile:

Any nudge on what to enumerate for root?

Type your comment> @poots said:

Any nudge on what to enumerate for root?

you might wanna check for some special binaries… :slight_smile:

@poots said:

Any nudge on what to enumerate for root?

Have a look at what the user is allowed to do as a super user.

Going for user, found an exploit to use however when running the .sh I get “syntax error: unexpected end of file”, and getting nothing with metasploit. Anyone get this and know a quick fix?

@squire said:

Going for user, found an exploit to use however when running the .sh I get “syntax error: unexpected end of file”, and getting nothing with metasploit. Anyone get this and know a quick fix?

dos2unix.

am i supposed to get keys of joanna? cuz when i see main.php, its executing a command of printing the keys!!
kindly help me proceed further!

Stucked on privilege escalation as usual u_u
I already escalate from www-shell and login into the machine with the info found there (j***y shell)
Can anyone give me a hint about how to get next user please?

just rooted
improved my enumeration skills:
taught me to use tools!
PM for hints! would be happy to!
thanks to @TazWake

I read a lot of “John” here, but uncle john isn’t needed.
Many ways to skin a cat, but using John here is like trying to explode the door of a safe, when the window right next to it is open…

Hi Guys,

i am very new to HTB and “hacking” in . I have both flags but when i try to submit flags on HTB, it throws me error. is there a way we submit flags?

@RedLotus said:

Hi Guys,

i am very new to HTB and “hacking” in . I have both flags but when i try to submit flags on HTB, it throws me error. is there a way we submit flags?

As far as I know OpenAdmin doesn’t use Dynamic Flags, so it depends on what the error says.

For example, you do need to select a rating before you submit, that often throws people.

If all else fails and you are confident you have selected a rating and have the flag from user.txt, you can raise a ticket on JIRA for HTB to investigate.

@RedLotus said:

Hi Guys,

i am very new to HTB and “hacking” in . I have both flags but when i try to submit flags on HTB, it throws me error. is there a way we submit flags?

For some time, now, flags have become dynamic. This means that they (usually) change with every reset of the machine. It is thus advised to submit the flags as soon as you discover them.
If a flag doesn’t work, even when you immediately submitted it, try resetting the machine, wait a few after the reset, obtain the new flag and submit it. There seems to be a delay between “the machine is back up, again” and “the new flag has been generated on the machine”.