All pastes #826197 Raw Edit

Anonymous

public php v1 · immutable
#826197 ·published 2007-12-21 01:36 UTC
rendered paste body
   1.      <?php   2.              $fp = fsockopen("semtex.labs.pulltheplug.org", 24000);   3.          4.              if($fp) {   5.                      $bin  = null;   6.                      $data = null;   7.          8.                      while(!feof($fp)) {   9.                              $data .= fgets($fp);  10.                      }  11.         12.                      for($i=0;$i<strlen($data);$i+=2){  13.                              $bin .= $data{$i};  14.                      }  15.         16.                      file_put_contents("out", $bin);  17.         18.                      fclose($fp);  19.              } else {  20.                      die('could not connect to server');  21.              }  22.      ?>