Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- visit my blog => www.annamcoder.tk
- CUT HERE --------------------------------------------------------------------------------------------------------------------------
- <?php
- error_reporting(0);
- set_time_limit(0);
- echo '<html>
- <head>
- <style type="text/css">
- * { margin:0;}
- .style1 { color: #FFFFFF;font-family: "Arial Rounded MT Bold";text-align: center;font-size: 50px; }
- .style2 { background: black;border: 1px solid lime;color: lime;font-size: 13px;width:650px;}
- .main {font-family: Palatino Linotype;font-size: 35pt;text-shadow: 0 0 6px #FF0000, 0 0 5px #FF0000, 0 0 5px #FF0000;color: #FFF}
- h1 span {font-size:45px;}
- .even {background-color: rgba(25, 25, 25, 0.8);} .odd {background-color: rgba(19, 20, 21, 0.8);}
- .green {color:#00FF00;font-weight:bold;} .red {color:#FF0000;font-weight:bold;}
- a{color:#fff;text-decoration:none;}
- .hid {text-align:center;background-color: rgba(8, 92, 105, 0.8);margin:0 auto;width:40%;font-weight:bold;}
- input[type="submit"],.box {padding:10px;background: green;color:white;font-weight:bold;} input[type="submit"]:hover {color:#fff;}
- .box {width:626px;border:2px solid #fff;margin:0 auto;border-top:none;}
- </style>
- </head><br><center><font color="lime" size="6">
- <b>Deface Page Checker</b></font>
- <br><br>
- <form method="post" action="">
- <center><table class="style2"><tr><td>Site List: </td><td><textarea name="domain" cols="80" rows="10" class="style2"></textarea></td>
- </tr>
- <tr><td>Text: </td><td><input name="text" value="hacked by synchronizer" size="20" class="style2"></td>
- </tr><tr></table>
- <br />
- <input type="submit" name="submit" value="-=[ CHECK NOW ]=-"/>
- </form></center><br />
- ';
- if(isset($_POST['submit'])) {
- $text = $_POST['text'];
- $items = explode("\n", trim($_POST['domain']));
- $items = array_unique(str_replace('http://','',$items));
- $total = count($items);
- echo '<div class="hid">Total Domains = '.$total.'</div><br />';
- echo '<h3 class="hid">Checking Defaced sites</h3>';
- echo '<table style="width:40%;margin:0 auto;">';
- $j = 1;
- $dc = 0;
- $sites = array();
- foreach($items as $s) {
- $data = file_get_contents('http://'.trim($s));
- $cond = strpos($data, $text);
- $cls = ($j % 2 == 0) ? 'class="even"' : 'class="odd"';
- 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++;
- } else { echo '<tr '.$cls.'><td>http://'.$s.'</td><td><span class="red">Failed!</span></td></tr>'; }
- $j++;
- }
- echo '</table><br />';
- $total = $dc;
- echo '<h3 class="hid">Total Defaced = '.$total.'</h3><br />';
- }
- echo '';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment