Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. <?php
  2. function copyright()
  3. {
  4. /*
  5. Zerobyte.id
  6. Don't remove this copyright please !
  7. */
  8. system('clear');
  9. echo "
  10. _ __ ___ _ _
  11. | |/ / ___ _ _ __ _ _ _ __ _ / __|| |_ ___ __ | |__
  12. ___ _ _
  13. | ' < / -_)| '_|/ _` || ' \ / _` | | (__ | ' \ / -_)/ _|| / //
  14. -_)| '_|
  15. |_|\_\\\___||_| \__,_||_||_|\__, |
  16. \___||_||_|\___|\__||_\_\\\___||_|
  17. |___/ Zerobyte Webshell Mass
  18. Checker";
  19. }
  20. copyright();
  21. $green = "\e[92m";
  22. $red = "\e[91m";
  23. $keyword = array(
  24. "Webshell",
  25. "0Byte",
  26. "IndoXploit",
  27. "Shell",
  28. "shell",
  29. "wso"
  30. ); // Edit Here
  31. echo "\nEnter Your List : ";
  32. $url = trim(fgets(STDIN));
  33. $kontorus = file_get_contents($url);
  34. $urls = explode("\n", $kontorus);
  35. $i = 1;
  36. foreach ($urls as $list) {
  37. echo "[" . $i . " / " . count($urls) . "]";
  38. $i++;
  39. $shell = explode(PHP_EOL, $list);
  40. foreach ($shell as $shellchk) {
  41. $url = trim($shellchk);
  42. $keyx = '/' . implode('|', $keyword) . '/i';
  43. $ch = curl_init($url);
  44. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  45. curl_setopt($ch, CURLOPT_TIMEOUT, 10);
  46. $shellcurl = curl_exec($ch);
  47. $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  48. curl_close($ch);
  49. if ($httpcode == '200' OR preg_match("$keyx",
  50. $shellcurl)) {
  51. echo $green . "[LIVE!] $url\n\033[0m";
  52. $save = @fopen("live.txt", "a");
  53. fwrite($save, $url . "\n");
  54. fclose($save);
  55. }else{
  56. echo $red . "[DIE] $url\n\033[0m";
  57. $save = @fopen("die.txt", "a");
  58. fwrite($save, $url . "\n");
  59. fclose($save);
  60. }
  61. }
  62. }
  63. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement