Advertisement
AgusSR

Defaced Checker

Dec 27th, 2015
2,156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.97 KB | None | 0 0
  1. <html>
  2. <style type="text/css">
  3. html {
  4.     margin: 10px auto;
  5.     text-align: center;
  6.     background: #000000;
  7.     color: #008000;
  8. }
  9. a {
  10.     color: lime;
  11.     text-decoration: none;
  12. }
  13. textarea, input {
  14.     border: 1px solid #008000;
  15.     color: #bb0000;
  16.     background: transparent;
  17. }
  18. </style>
  19. <form method="post">
  20. Target: <br>
  21. <textarea name="url" style="resize: none; margin: 5px auto; padding-left: 5px; width: 500px; height: 250px;" placeholder="http://target.com"></textarea><br>
  22. <input type="submit" name="go" value="Hajar" style="margin: 5px auto; width: 250px; height: 20px;">
  23. </form>
  24. <?php
  25. $url = explode("\r\n", $_POST['url']);
  26. $go = $_POST['go'];
  27. function ambil($target) {
  28.     $ambil = htmlspecialchars(@file_get_contents($target));
  29.     return preg_match("/IndoXploit/", $ambil); // ganti IndoXploit dengan kata-kata yang ada di scriptmu
  30. }
  31. if($go) {
  32.     foreach($url as $sites) {
  33.         if(ambil($sites)) {
  34.             echo "<a href='$sites' target='_blank'>$sites</a><br>";
  35.         }
  36.     }
  37. }
  38. ?>
  39. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement