SHOW:
|
|
- or go back to the newest paste.
| 1 | <html> | |
| 2 | <head> | |
| 3 | <title>Defaced Page Checker</title> | |
| 4 | <style> | |
| 5 | body {
| |
| 6 | background-color: black; | |
| 7 | color:white; | |
| 8 | font-size: 14px; | |
| 9 | font-family: arial; | |
| 10 | } | |
| 11 | </style> | |
| 12 | </head> | |
| 13 | <body> | |
| 14 | <center> | |
| 15 | <p>NB: Masukan Beserta Namafile Misal https://site.com/deface.html / jika index tinggal ketik sitenya doang atau tambahin index.php :p</p> | |
| 16 | <form method='POST' action=''> | |
| 17 | <textarea name='list' cols='60' rows='20' style='background:transparent;color:white;font-size:14px;'></textarea> | |
| 18 | <br> | |
| 19 | <input type='submit' name='check' value='Check!!'> | |
| 20 | </form> | |
| 21 | <?php | |
| 22 | $list = $_POST['list']; | |
| 23 | $subm = $_POST['check']; | |
| 24 | $site = explode("\r\n", $list);
| |
| 25 | foreach($site as $sites) {
| |
| 26 | $ch=curl_init($sites); | |
| 27 | curl_setopt($ch, CURLOPT_NOBODY, true); | |
| 28 | curl_exec($ch); | |
| 29 | $check = curl_getinfo($ch, CURLINFO_HTTP_CODE); | |
| 30 | curl_close($ch); | |
| 31 | if($check == 200) {
| |
| 32 | echo "<font color='lime'>".$sites." -> Terdeface</font><br>"; | |
| 33 | } | |
| 34 | elseif($check == 404) {
| |
| 35 | echo "<font color='red'>".$sites." -> 404 Not Found</font><br>"; | |
| 36 | } | |
| 37 | elseif($check == 500) {
| |
| 38 | echo "<font color='red'>".$sites." -> 500 Internal Error</font><br>"; | |
| 39 | } | |
| 40 | elseif($check == 403) {
| |
| 41 | echo "<font color='red'>".$sites." -> 403 Forbidden</font><br>"; | |
| 42 | } | |
| 43 | elseif($check == 503) {
| |
| 44 | echo "<font color='red'>".$sites." -> 503 Service Temporarily</font><br>"; | |
| 45 | } | |
| 46 | elseif($check == 302) {
| |
| 47 | echo "<font color='lightblue'>".$sites." -> Check It 302</font><br>"; | |
| 48 | } | |
| 49 | } | |
| 50 | ?> | |
| 51 | </body> | |
| 52 | </html> |