I am in www-data user, need help
hey bro, send DM!
Is there any way to upgrade to a full shell out of the php web shell (after file upload)? Executing one command at a time is tedious
yeah, via python shell upgrade
Better DM for such questions, cause itâs not good to openly discuss the steps of the box
Though, as already said in this topic, you donât need to crack anything.
No way, I was trying to crack all the hashes
Why not try the obvious after running Linpeas/manual enumeration?
You have a username and then you have a password⌠Why not try it in the running services?
Users normally reuse passwords, so many times you will find that a password that works for a service, also works somewhere else
Yeah, but after latest boxes it felt too easy, you know?
Generally, Iâve found itâs a better route to assume password re-use than to not. It doesnât take that long to test that theory either in a lot of cases.
Yes - upload a php reverse shell instead. Thereâs a really well-known one you can find in /usr/share/webshells on Kali (not sure the location on Pwnbox but I assume its the same).
YAY!
1 - NMAP
2 - VHOST enum
3 - fuzz
4 - search for cve
5 - exploit and get a rev shell
Iâm still working on priv esc but I donât think what youâre doing is the right path. As you can see in the error message, you canât execute your shell script as root as mtz
If youre having issues with the script. Dump it into CHATGPT and tell it to explain it to you whats happening.
Then break it down. Ok i need a file to be somewhere but i cant move files to that location. Use your google-fu and figure out how to make files or give access to files from one location to another in linux.
After that you need to figure out a file you want to abuse. IF you can abuse any file on a system what would be your first stop? Somewhere where user creds are stored perhaps?
I was talking about this exactly with @T2M5
Youâve mention one possible file. I can think of another that can give you higher privileges, which was how I abused it.
I feel like an idiot for not getting that faster â â â â . As soon as I read your comment I understood haha.
Exactly
Those who need help already know where to find me!