cdw1p icon

Defaced Page Checker (Web Based)

cdw1p | PRO | 02/12/18 11:38:06 PM UTC | 0 ⭐ | 530 👁️ | Never ⏰ | []
PHP |

1.53 KB

|

None

|

0 👍

/

0 👎

<html>
    <head>
        <title>Defaced Page Checker</title>
        <style>
            body {
                background-color: black;
                                color:white;
                font-size: 14px;
                font-family: arial;
            }
        </style>
    </head>
    <body>
        <center>
         <p>NB: Masukan Beserta Namafile Misal https://site.com/deface.html / jika index tinggal ketik sitenya doang atau tambahin index.php :p</p>
     <form method='POST' action=''>
        <textarea name='list' cols='60' rows='20' style='background:transparent;color:white;font-size:14px;'></textarea>
                <br>
        <input type='submit' name='check' value='Check!!'>
        </form>
<?php
$list = $_POST['list'];
$subm = $_POST['check'];
    $site = explode("\r\n", $list);
    foreach($site as $sites) {
    $ch=curl_init($sites);
    curl_setopt($ch, CURLOPT_NOBODY, true);
    curl_exec($ch);
    $check = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);
    if($check == 200) {
        echo "<font color='lime'>".$sites." -> Terdeface</font><br>";
    }
    elseif($check == 404) {
        echo "<font color='red'>".$sites." -> 404 Not Found</font><br>";
    }
    elseif($check == 500) {
        echo "<font color='red'>".$sites." -> 500 Internal Error</font><br>";
    }
    elseif($check == 403) {
        echo "<font color='red'>".$sites." -> 403 Forbidden</font><br>";
  }
    elseif($check == 503) {
        echo "<font color='red'>".$sites." -> 503 Service Temporarily</font><br>";
    }
  elseif($check == 302) {
        echo "<font color='lightblue'>".$sites." -> Check It 302</font><br>";
    }
}
?>
</body>
</html>

Comments