blacklist-user-agents.conf 906 B

1234567891011121314151617181920212223242526
  1. # ---------------------
  2. # WHITELISTING EXAMPLES
  3. # ---------------------
  4. # "~*(?:\b)someverygooduseragentname1(?:\b)" 0;
  5. # "~*(?:\b)someverygooduseragentname2(?:\b)" 0;
  6. # "~*(?:\b)some\-very\-good\-useragentname2(?:\b)" 0;
  7. # ---------------------
  8. # BLACKLISTING EXAMPLES
  9. # ---------------------
  10. # "~*(?:\b)someverybaduseragentname1(?:\b)" 3;
  11. # "~*(?:\b)someverybaduseragentname2(?:\b)" 3;
  12. # "~*(?:\b)some\-very\-bad\-useragentname2(?:\b)" 3;
  13. # Here are some default things I block on my own server, these appear in various types of injection attacks
  14. # You can disable them if you have problems or don't agree by switching thir value to 0 or moving them into the whitelist section first and then making their value 0
  15. # ------------
  16. # MY BLACKLIST
  17. # ------------
  18. "~*(?:\b)x22(?:\b)" 3;
  19. "~*(?:\b){|}|{(?:\b)" 3;
  20. "~*(?:\b)mb_ereg_replace(?:\b)" 3;
  21. "~*(?:\b)file_put_contents(?:\b)" 3;