6 lines
239 B
PHP
6 lines
239 B
PHP
<?php
|
|
$template = str_replace(["<%=", "<%", "%>"], ["<%echo ", "\nRAW\n", "\ncat <<- RAW\n", ""], file_get_contents('index.sh.html'));
|
|
$query_string = $_SERVER['QUERY_STRING'];
|
|
echo shell_exec("GET=\"$query_string\"; $template");
|
|
?>
|