13 lines
264 B
PHP
13 lines
264 B
PHP
|
<?php
|
||
|
session_start();
|
||
|
echo shell_exec("whoami");
|
||
|
if ( !isset($_SESSION["number"]) ) {
|
||
|
$_SESSION["number"] = 1;
|
||
|
echo "New Session";
|
||
|
echo $_SESSION["number"];
|
||
|
}else {
|
||
|
$_SESSION["number"] = $_SESSION["number"] + 1;
|
||
|
echo $_SESSION["number"];
|
||
|
}
|
||
|
phpinfo();
|
||
|
?>
|