I'm doing my OSCP certification. On one of the lab machines, I'm having a really hard time getting a reverse shell.
I scanned the machine and found port 80 open. I enumerated even more and found a RFI.
I uploaded a php web shell and it worked, command is running as apache user. Then I enumerated more and found netcat on the machine.
Now I want to have a shell to my attacking box. I tried using netcat as a reverse/bind shell and get nothing.
I tried different ports and nothing is working. When I scan with nmap ports like 6666, 4444, 5555 they are all filtered.
What am I doing wrong?