KeyDown

Deface Page Checker Scripts

Jan 2nd, 2016
1,921
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.58 KB | None | 0 0
  1. visit my blog => www.annamcoder.tk
  2.  
  3. CUT HERE --------------------------------------------------------------------------------------------------------------------------
  4.  
  5.  
  6. <?php
  7. error_reporting(0);
  8. set_time_limit(0);
  9. echo '<html>
  10. <head>
  11. <style type="text/css">
  12. * { margin:0;}
  13. .style1 { color: #FFFFFF;font-family: "Arial Rounded MT Bold";text-align: center;font-size: 50px; }
  14. .style2 { background: black;border: 1px solid lime;color: lime;font-size: 13px;width:650px;}
  15. .main {font-family: Palatino Linotype;font-size: 35pt;text-shadow: 0 0 6px #FF0000, 0 0 5px #FF0000, 0 0 5px #FF0000;color: #FFF}
  16. h1 span {font-size:45px;}
  17. .even {background-color: rgba(25, 25, 25, 0.8);} .odd {background-color: rgba(19, 20, 21, 0.8);}
  18. .green {color:#00FF00;font-weight:bold;} .red {color:#FF0000;font-weight:bold;}
  19. a{color:#fff;text-decoration:none;}
  20. .hid {text-align:center;background-color: rgba(8, 92, 105, 0.8);margin:0 auto;width:40%;font-weight:bold;}
  21. input[type="submit"],.box {padding:10px;background: green;color:white;font-weight:bold;} input[type="submit"]:hover {color:#fff;}
  22. .box {width:626px;border:2px solid #fff;margin:0 auto;border-top:none;}
  23. </style>
  24.  
  25. </head><br><center><font color="lime" size="6">
  26. <b>Deface Page Checker</b></font>
  27. <br><br>
  28. <form method="post" action="">
  29. <center><table class="style2"><tr><td>Site List: </td><td><textarea name="domain" cols="80" rows="10" class="style2"></textarea></td>
  30. </tr>
  31. <tr><td>Text: </td><td><input name="text" value="hacked by synchronizer" size="20" class="style2"></td>
  32. </tr><tr></table>
  33. <br />
  34. <input type="submit" name="submit" value="-=[ CHECK NOW ]=-"/>
  35. </form></center><br />
  36. ';
  37. if(isset($_POST['submit'])) {
  38. $text = $_POST['text'];
  39. $items = explode("\n", trim($_POST['domain']));
  40. $items = array_unique(str_replace('http://','',$items));
  41. $total = count($items);
  42. echo '<div class="hid">Total Domains = '.$total.'</div><br />';
  43. echo '<h3 class="hid">Checking Defaced sites</h3>';
  44. echo '<table style="width:40%;margin:0 auto;">';
  45. $j = 1;
  46. $dc = 0;
  47. $sites = array();
  48. foreach($items as $s) {
  49. $data = file_get_contents('http://'.trim($s));
  50. $cond = strpos($data, $text);
  51. $cls = ($j % 2 == 0) ? 'class="even"' : 'class="odd"';
  52. if($cond !== false){ echo '<tr '.$cls.'><td><a href="http://'.$s.'" target="_blank">http://'.$s.'</a></td><td><span class="green">DEFACED</span></td></tr>'; $sites[] = trim($s); $dc++;
  53. } else { echo '<tr '.$cls.'><td>http://'.$s.'</td><td><span class="red">Failed!</span></td></tr>'; }
  54. $j++;
  55. }
  56. echo '</table><br />';
  57. $total = $dc;
  58. echo '<h3 class="hid">Total Defaced = '.$total.'</h3><br />';
  59. }
  60. echo '';
  61. ?>
Advertisement
Add Comment
Please, Sign In to add comment