Skip to docs navigation

Reverse Shell Php -

A reverse shell is a shell that runs on a victim's computer or server, connecting back to the attacker's machine. Unlike a traditional shell, where the attacker initiates a connection to the victim's machine, a reverse shell initiates a connection from the victim's machine to the attacker's machine.

Change $ip to your attacking machine's IP address (use your VPN IP if on a platform like Hack The Box ). Reverse Shell Php

On your local machine, use a tool like Netcat to listen for the incoming connection: nc -lvnp 4444 . A reverse shell is a shell that runs