Don't like ads? PRO users don't see any ads ;-)

Bad Bot .htaccess for NGINX, List from HackRepair.com

By: hackrepair on Jun 14th, 2012  |  syntax: None  |  size: 6.57 KB  |  hits: 121  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Begin HackRepair.com Blacklist
  2.         if ($http_user_agent ~* "^BlackWidow"){
  3.                 return 403;
  4.                 }
  5.         if ($http_user_agent ~ "^Bolt"){
  6.                 return 403;
  7.                 }
  8.         if ($http_user_agent ~* "CazoodleBot"){
  9.                 return 403;
  10.                 }
  11.         if ($http_user_agent ~* "^ChinaClaw"){
  12.                 return 403;
  13.                 }
  14.         if ($http_user_agent ~* "^Custo"){
  15.                 return 403;
  16.                 }
  17.         if ($http_user_agent ~ "^Default"){
  18.                 return 403;
  19.                 }
  20.         if ($http_user_agent ~* "^DIIbot"){
  21.                 return 403;
  22.                 }
  23.         if ($http_user_agent ~* "^DISCo"){
  24.                 return 403;
  25.                 }
  26.         if ($http_user_agent ~* "discobot"){
  27.                 return 403;
  28.                 }
  29.         if ($http_user_agent ~* "^eCatch"){
  30.                 return 403;
  31.                 }
  32.         if ($http_user_agent ~* "ecxi"){
  33.                 return 403;
  34.                 }
  35.         if ($http_user_agent ~* "^EirGrabber"){
  36.                 return 403;
  37.                 }
  38.         if ($http_user_agent ~* "^EmailCollector"){
  39.                 return 403;
  40.                 }
  41.         if ($http_user_agent ~* "^EmailSiphon"){
  42.                 return 403;
  43.                 }
  44.         if ($http_user_agent ~* "^EmailWolf"){
  45.                 return 403;
  46.                 }
  47.         if ($http_user_agent ~* "^ExtractorPro"){
  48.                 return 403;
  49.                 }
  50.         if ($http_user_agent ~* "^EyeNetIE"){
  51.                 return 403;
  52.                 }
  53.         if ($http_user_agent ~* "^FlashGet"){
  54.                 return 403;
  55.                 }
  56.         if ($http_user_agent ~* "^GetRight"){
  57.                 return 403;
  58.                 }
  59.         if ($http_user_agent ~* "^GetWeb!"){
  60.                 return 403;
  61.                 }
  62.         if ($http_user_agent ~* "^Go!Zilla"){
  63.                 return 403;
  64.                 }
  65.         if ($http_user_agent ~* "^Go-Ahead-Got-It"){
  66.                 return 403;
  67.                 }
  68.         if ($http_user_agent ~* "^GrabNet"){
  69.                 return 403;
  70.                 }
  71.         if ($http_user_agent ~* "^Grafula"){
  72.                 return 403;
  73.                 }
  74.         if ($http_user_agent ~* "GT::WWW"){
  75.                 return 403;
  76.                 }
  77.         if ($http_user_agent ~* "heritrix"){
  78.                 return 403;
  79.                 }
  80.         if ($http_user_agent ~* "^HMView"){
  81.                 return 403;
  82.                 }
  83.         if ($http_user_agent ~* "HTTP::Lite"){
  84.                 return 403;
  85.                 }
  86.         if ($http_user_agent ~* "HTTrack"){
  87.                 return 403;
  88.                 }
  89.         if ($http_user_agent ~* "ia_archiver"){
  90.                 return 403;
  91.                 }
  92.         if ($http_user_agent ~* "IDBot"){
  93.                 return 403;
  94.                 }
  95.         if ($http_user_agent ~* "id-search"){
  96.                 return 403;
  97.                 }
  98.         if ($http_user_agent ~* "id-search.org"){
  99.                 return 403;
  100.                 }
  101.         if ($http_user_agent ~* "^InterGET"){
  102.                 return 403;
  103.                 }
  104.         if ($http_user_agent ~* "^InternetSeer.com"){
  105.                 return 403;
  106.                 }
  107.         if ($http_user_agent ~* "IRLbot"){
  108.                 return 403;
  109.                 }
  110.         if ($http_user_agent ~* "^Java"){
  111.                 return 403;
  112.                 }
  113.         if ($http_user_agent ~* "^JetCar"){
  114.                 return 403;
  115.                 }
  116.         if ($http_user_agent ~* "^larbin"){
  117.                 return 403;
  118.                 }
  119.         if ($http_user_agent ~* "^LeechFTP"){
  120.                 return 403;
  121.                 }
  122.         if ($http_user_agent ~* "libwww"){
  123.                 return 403;
  124.                 }
  125.         if ($http_user_agent ~* "libwww-perl"){
  126.                 return 403;
  127.                 }
  128.         if ($http_user_agent ~* "^Link"){
  129.                 return 403;
  130.                 }
  131.         if ($http_user_agent ~* "LinksManager.com_bot"){
  132.                 return 403;
  133.                 }
  134.         if ($http_user_agent ~* "linkwalker"){
  135.                 return 403;
  136.                 }
  137.         if ($http_user_agent ~* "lwp-trivial"){
  138.                 return 403;
  139.                 }
  140.         #ignored: condition 72
  141.         if ($http_user_agent ~* "^Maxthon$"){
  142.                 return 403;
  143.                 }
  144.         if ($http_user_agent ~* "MFC_Tear_Sample"){
  145.                 return 403;
  146.                 }
  147.         if ($http_user_agent ~* "^microsoft.url"){
  148.                 return 403;
  149.                 }
  150.         if ($http_user_agent ~ "Microsoft"){
  151.                 return 403;
  152.                 }
  153.         if ($http_user_agent ~* "^Mozilla.*Indy"){
  154.                 return 403;
  155.                 }
  156.         if ($http_user_agent ~* "^Mozilla.*NEWT"){
  157.                 return 403;
  158.                 }
  159.         if ($http_user_agent ~* "^MSFrontPage"){
  160.                 return 403;
  161.                 }
  162.         if ($http_user_agent ~* "^Navroad"){
  163.                 return 403;
  164.                 }
  165.         if ($http_user_agent ~* "^NearSite"){
  166.                 return 403;
  167.                 }
  168.         if ($http_user_agent ~* "^NetAnts"){
  169.                 return 403;
  170.                 }
  171.         if ($http_user_agent ~* "^NetSpider"){
  172.                 return 403;
  173.                 }
  174.         if ($http_user_agent ~* "^NetZIP"){
  175.                 return 403;
  176.                 }
  177.         if ($http_user_agent ~* "^Nutch"){
  178.                 return 403;
  179.                 }
  180.         if ($http_user_agent ~* "^Octopus"){
  181.                 return 403;
  182.                 }
  183.         if ($http_user_agent ~* "^PageGrabber"){
  184.                 return 403;
  185.                 }
  186.         if ($http_user_agent ~* "panscient.com"){
  187.                 return 403;
  188.                 }
  189.         if ($http_user_agent ~* "^pavuk"){
  190.                 return 403;
  191.                 }
  192.         if ($http_user_agent ~* "PECL::HTTP"){
  193.                 return 403;
  194.                 }
  195.         if ($http_user_agent ~* "^PeoplePal"){
  196.                 return 403;
  197.                 }
  198.         if ($http_user_agent ~* "^pcBrowser"){
  199.                 return 403;
  200.                 }
  201.         if ($http_user_agent ~* "PHPCrawl"){
  202.                 return 403;
  203.                 }
  204.         if ($http_user_agent ~* "PleaseCrawl"){
  205.                 return 403;
  206.                 }
  207.         if ($http_user_agent ~* "^psbot"){
  208.                 return 403;
  209.                 }
  210.         if ($http_user_agent ~* "^RealDownload"){
  211.                 return 403;
  212.                 }
  213.         if ($http_user_agent ~* "^ReGet"){
  214.                 return 403;
  215.                 }
  216.         if ($http_user_agent ~ "^Rippers"){
  217.                 return 403;
  218.                 }
  219.         if ($http_user_agent ~* "SBIder"){
  220.                 return 403;
  221.                 }
  222.         if ($http_user_agent ~* "^SeaMonkey$"){
  223.                 return 403;
  224.                 }
  225.         if ($http_user_agent ~* "^sitecheck.internetseer.com"){
  226.                 return 403;
  227.                 }
  228.         if ($http_user_agent ~* "^SiteSnagger"){
  229.                 return 403;
  230.                 }
  231.         if ($http_user_agent ~* "^SmartDownload"){
  232.                 return 403;
  233.                 }
  234.         if ($http_user_agent ~* "Snoopy"){
  235.                 return 403;
  236.                 }
  237.         if ($http_user_agent ~* "Steeler"){
  238.                 return 403;
  239.                 }
  240.         if ($http_user_agent ~* "^SuperBot"){
  241.                 return 403;
  242.                 }
  243.         if ($http_user_agent ~* "^SuperHTTP"){
  244.                 return 403;
  245.                 }
  246.         if ($http_user_agent ~* "^Surfbot"){
  247.                 return 403;
  248.                 }
  249.         if ($http_user_agent ~* "^tAkeOut"){
  250.                 return 403;
  251.                 }
  252.         if ($http_user_agent ~ "^Teleport"){
  253.                 return 403;
  254.                 }
  255.         if ($http_user_agent ~ "^Toata"){
  256.                 return 403;
  257.                 }
  258.         if ($http_user_agent ~* "URI::Fetch"){
  259.                 return 403;
  260.                 }
  261.         if ($http_user_agent ~* "urllib"){
  262.                 return 403;
  263.                 }
  264.         if ($http_user_agent ~* "User-Agent"){
  265.                 return 403;
  266.                 }
  267.         if ($http_user_agent ~* "^VoidEYE"){
  268.                 return 403;
  269.                 }
  270.         if ($http_user_agent ~* "webalta"){
  271.                 return 403;
  272.                 }
  273.         if ($http_user_agent ~* "^WebAuto"){
  274.                 return 403;
  275.                 }
  276.         if ($http_user_agent ~* "^[Ww]eb[Bb]andit"){
  277.                 return 403;
  278.                 }
  279.         if ($http_user_agent ~* "WebCollage"){
  280.                 return 403;
  281.                 }
  282.         if ($http_user_agent ~* "^WebCopier"){
  283.                 return 403;
  284.                 }
  285.         if ($http_user_agent ~* "^WebFetch"){
  286.                 return 403;
  287.                 }
  288.         if ($http_user_agent ~* "^WebLeacher"){
  289.                 return 403;
  290.                 }
  291.         if ($http_user_agent ~* "^WebReaper"){
  292.                 return 403;
  293.                 }
  294.         if ($http_user_agent ~* "^WebSauger"){
  295.                 return 403;
  296.                 }
  297.         if ($http_user_agent ~* "^WebStripper"){
  298.                 return 403;
  299.                 }
  300.         if ($http_user_agent ~* "^WebWhacker"){
  301.                 return 403;
  302.                 }
  303.         if ($http_user_agent ~* "^WebZIP"){
  304.                 return 403;
  305.                 }
  306.         if ($http_user_agent ~* "^Wget"){
  307.                 return 403;
  308.                 }
  309.         if ($http_user_agent ~* "^Widow"){
  310.                 return 403;
  311.                 }
  312.         if ($http_user_agent ~* "^WWW-Mechanize"){
  313.                 return 403;
  314.                 }
  315.         if ($http_user_agent ~* "^WWWOFFLE"){
  316.                 return 403;
  317.                 }
  318.         if ($http_user_agent ~* "Yandex"){
  319.                 return 403;
  320.                 }
  321.         if ($http_user_agent ~* "zermelo"){
  322.                 return 403;
  323.                 }
  324.         if ($http_user_agent ~* "^Zeus"){
  325.                 return 403;
  326.                 }
  327.         if ($http_user_agent ~* "^Zeus.*Webster"){
  328.                 return 403;
  329.                 }
  330.         if ($http_user_agent ~* "ZyBorg"){
  331.                 return 403;
  332.                 }
  333. # End HackRepair.com Blacklist