Scavenger

Enumerated w***s and found everything that needs to be found. Explored the cap like web pages. No idea where to go next.

Type your comment> @unmesh836 said:

Enumerated w***s and found everything that needs to be found. Explored the cap like web pages. No idea where to go next.

You have more d s, which w—s gave up n s for, and there’s another s ervice you can ask… You dig?

Finally rooted!
This one was an enumeration beast. You need to enumerate everyhing.
Do not worry if you can’t get a proper shell, it is not needed.

Need a nudge. I know the magic word, have seen the source and checked the binary used on Scavenger. But how can you use it if you do not have a real tty shell? What cmd are passed to a “shell” in php space does not seem to work for this kind of exploit … or is there some insane shell-fu redirection and fifo? Sooooo close!

Edit: Got root!

Thank you @bumika for the nudge.

Root Hint: Look gift horses in the mouth before making assumptions of worth. It may well be worth making a personal inspection.

Very fun, awesome box. I totally missed what is probably literally one of the oldest hideouts in the history of Unix for quite awhile, missed the breadcrumbs which pointed the way every time I looked. Thanks, @ompamo. :slight_smile:

.

hello all

injected and digged around the world, our hero got all names he needs!!! But now stucked on M----s BT, right way? Go on or change to other name? thx

Edit: Now I’m on P-----s–p as pwn----@pwn----.htb

what a fantastic machine

Rooted! Thanks a lot to the people that helped me out on this one!

If anyone is still doing this box: you might never get a full shell, but you don’t need on either (for root or user)!

Feel free to PM for hints!

@ompamo this was a fantastic box! I’m really looking forward to the next one! I loved this as it seemed super realistic and it seems like you’ve put a lot of effort into it!

Great box, had to use a a lot of different techniques to finish it.
Thanks @bumika and @0X44696F21 for helping me when i was stuck :slight_smile:

Guys, how to deal with the error at initial part?
nudge me on pm please.

// Got it

this is very weird

[-] Exploit failed: NoMethodError undefined method `code’ for nil:NilClass
[*] Exploit completed, but no session was created.

Type your comment> @ls4cfk said:

Guys, how to deal with the error at initial part?
nudge me on pm please.

// Got it

this is very weird

[-] Exploit failed: NoMethodError undefined method `code’ for nil:NilClass
[*] Exploit completed, but no session was created.

Maybe it needs more time to run …

Type your comment> @zard said:

I can’t find the ko file for the life of me. Any help will be appreciated!

~~ Same here. Could use a nudge. ~~

Nevermind!

Can anyone PM me with some nudges? I’m enumerating everything I was able to dig vhosts and found w**** but I don’t know what to do with it I can only query it and get some basic info. I’m probably missing something.

EDIT: I was able to retrieve more things through w**** now I’m trying to emurate sites, there is a lot of thing here…

Would appreciate a nudge!

I’ve found the magic word but I don’t seem to be able to use it with s****.p*p. Issue with my syntax?

I’ve managed to get a tool to work on the injection, and I found some hostnames that I haven’t found a use for. Can someone point me towards user?

Type your comment> @sysdd said:

Type your comment> @ls4cfk said:

Guys, how to deal with the error at initial part?
nudge me on pm please.

// Got it

this is very weird

[-] Exploit failed: NoMethodError undefined method `code’ for nil:NilClass
[*] Exploit completed, but no session was created.

Maybe it needs more time to run …

It’s weird. Changed the time to 600 seconds and it still fails.

Type your comment> @ls4cfk said:

Type your comment> @sysdd said:

(Quote)
It’s weird. Changed the time to 600 seconds and it still fails.

What does failed mean? Did you get the same error message?
There are more than one “time” parameters and you should choose the proper one.

Type your comment> @bumika said:

Type your comment> @ls4cfk said:

Type your comment> @sysdd said:

(Quote)
It’s weird. Changed the time to 600 seconds and it still fails.

What does failed mean? Did you get the same error message?
There are more than one “time” parameters and you should choose the proper one.

Rooted without it, more simple way. i missed something … :smiley:

[-] Exploit failed: NoMethodError undefined method `code’ for nil:NilClass
[*] Exploit completed, but no session was created.

Also running into this. Tried everything I could find for increasing timeouts, but nothing seems to work. Even tried editing the exploit to add them in the code. Anyone have any tips?

Edit: Figured it out. For anyone else struggling with this, I did have to modify the exploit itself. Take a look at the second argument here: Module: Msf::Exploit::Remote::HttpClient — Documentation by YARD 0.9.26

Edit2: Anyone manage to get a proper shell out of the second exploit? After a lot of hairpulling I realized the exploit was actually working, it was just my payload that’s bad. Was really hoping to not have a repeat of the first user though, since owning root from such a limited shell sounds super painful.

Need a nudge on p***sp exploit, increased msf timeouts but I get no shell , exploit seems to be working as cookie is obtained but no code exec.