Dhayalanb / windows-php-reverse-shell

Simple php reverse shell implemented using binary .
394 stars 181 forks source link

system() has been disabled for security reasons (Fix) #2

Open Reelix opened 3 years ago

Reelix commented 3 years ago

If you get the above error, change

$output = system($cmd); to $output = exec($cmd); or $output = passthru($cmd);

Whilst exec and pasthru may also be disabled, they are less likely to be disabled than system