home *** CD-ROM | disk | FTP | other *** search
/ ftp.f-secure.com / 2014.06.ftp.f-secure.com.tar / ftp.f-secure.com / support / hotfix / fsis / IS-SpamControl.fsfix / iufssc / rules / 20_porn.cf < prev    next >
Text File  |  2006-11-29  |  5KB  |  87 lines

  1. # SpamAssassin rules file: porn tests
  2. #
  3. # Please don't modify this file as your changes will be overwritten with
  4. # the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead.
  5. # See 'perldoc Mail::SpamAssassin::Conf' for details.
  6. #
  7. # Note: body tests are run with long lines, so be sure to limit the
  8. # size of searches; use /.{0,30}/ instead of /.*/ to avoid huge
  9. # search times.
  10. #
  11. # <@LICENSE>
  12. # Copyright 2004 Apache Software Foundation
  13. # Licensed under the Apache License, Version 2.0 (the "License");
  14. # you may not use this file except in compliance with the License.
  15. # You may obtain a copy of the License at
  16. #     http://www.apache.org/licenses/LICENSE-2.0
  17. # Unless required by applicable law or agreed to in writing, software
  18. # distributed under the License is distributed on an "AS IS" BASIS,
  19. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  20. # See the License for the specific language governing permissions and
  21. # limitations under the License.
  22. # </@LICENSE>
  23. #
  24. ###########################################################################
  25.  
  26. #require_version @@VERSION@@
  27.  
  28. ###########################################################################
  29.  
  30. body FREE_PORN                  /\bfree (?:porn|xxx|adult)/i
  31. describe FREE_PORN              Possible porn - Free Porn
  32.  
  33. body CUM_SHOT                   /\bcum[ -]?shots?\b/i
  34. describe CUM_SHOT               Possible porn - Cum Shot
  35.  
  36. # "live cam" is a very common nonspam phrase, removed
  37. body LIVE_PORN                  /\blive .{0,9}(?:fuck(?:ing)?|sex|naked|girls?|virgins?|teens?|porno?)\b/i
  38. describe LIVE_PORN              Possible porn - Live Porn
  39.  
  40. body HARDCORE_PORN              /\bh[a\@]rd[ -]?core .{0,9}(?:teen|virgin|cheerleader|amat(?:eu|ue)r)|\bextreme h[a\@]rdcore/i
  41. describe HARDCORE_PORN          Possible porn - Hardcore Porn
  42.  
  43. body HOT_NASTY            /\b(?=[dehklnswxy])(?:horny|nasty|hot|wild|young|horniest|nastiest|hottest|wildest|youngest|naughty|dirtiest|slutty|kinky|lusty|extreme|xxx+)\b.{0,9}\b(?=[acfghilmpsvx])(?:virgins?\b|asian|cheerleader|sex|selection|fuck|fucking|anal\b|lesb(?:ian|o)|incest|chicks?|pics|movies|video|gay\b|porn|h[a\@]rdcore|schoolgirls|amateur|slut|adult|cum\b|xxx|sites?|hotties|shit)/i
  44. describe HOT_NASTY        Possible porn - Hot, Nasty, Wild, Young
  45.  
  46. body BEST_PORN            /\b(?:best|biggest|largest|most|free|ultimate)\b.{0,9}\b(?:virgins?\b|anal\b|lesbians?|incest|porno?|h[a\@]rdcore|sluts?|xxx+)/i
  47. describe BEST_PORN        Possible porn - Best, Largest, Most Porn
  48.  
  49. body NASTY_GIRLS                /\b(?:horniest|nasty|nastiest|hottest|wildest|slutty|xxx+)\b.{0,9}\b(?:girl|women|teen|babe)/i
  50. describe NASTY_GIRLS            Possible porn - Nasty Girls
  51.  
  52. body AMATEUR_PORN               /\bamateur .{0,9}(?:sex|porn|star|sites?|college|babes|action|pics|trash|gang|rape)|\b(?:real|best) amateur/i
  53. describe AMATEUR_PORN           Possible porn - Amateur Porn
  54.  
  55. body SOMETHING_FOR_ADULTS       /\badult.{0,9}(?:entertainment|sites?|industry|only|business|membership)/i
  56. describe SOMETHING_FOR_ADULTS   Possible porn - Adult Web Sites
  57.  
  58. body PORN_15            /(?=[celstwvy])(?:college|eating|licking|spears|tight|wet|shaved|voyeur|young|teen(?:age)?).{0,16}pussy/i
  59. describe PORN_15        Possible porn - various types of feline
  60.  
  61. body PORN_16            /\b(?:nasty|teen|dir(?:ty|iest)?|little).{0,16}\bsluts?/i 
  62. describe PORN_16         Possible porn - nasty, dirty, little etc.
  63.  
  64. body LOTS_OF_STUFF        /\b(?:\d{1,3}[,\.]?)+\d{3}.{0,20}\b(?:pics|pictures|images|photos|movies)/i
  65. describe LOTS_OF_STUFF        Thousands or millions of pictures, movies, etc.
  66.  
  67. body DISGUISE_PORN              /\b(?:c[*0]cks?|d[1*]cks?|h[0*]rny|b[1*]tch(?:es)|f[*0]ckk?ed|p[*]ssy|p[*]ssies)\b/i
  68. describe DISGUISE_PORN          Attempts to disguise porn words
  69.  
  70. body DISGUISE_PORN_MUNDANE    /\b(?:h[0*]t|y[0*][uv]ng|b[0*]ys?|g[1*]r[1l]s?|g[1l]rls?|w[1*]ves|w[1*]fe|s3xy?|p[0*]rn[o0*]?)\b/i
  71. describe DISGUISE_PORN_MUNDANE    Attempts to disguise mundane words used in porn
  72.  
  73. # thx to vince.delvecchio@analog.com for the legwork on the negative
  74. # lookbehinds here; saved a lot of work for us (bug 1035), also see bug 1835
  75. uri PORN_URL_SEX                /^https?:\/\/[\w\.-]*(?<!es|ba)(?<!dle|sus)sex(?!press)[\w-]*\./i
  76. describe PORN_URL_SEX           URL uses words/phrases which indicate porn (sex)
  77. uri PORN_URL_SLUT               /^https?:\/\/[\w\.-]*slut[\w-]*\./i
  78. describe PORN_URL_SLUT          URL uses words/phrases which indicate porn (slut)
  79. uri PORN_URL_MISC               /^https?:\/\/[\w\.-]*(?:porn|hard-?core|taboo|lesbian|naughty)[\w-]*\./i
  80. describe PORN_URL_MISC          URL uses words/phrases which indicate porn (misc)
  81.  
  82. header SUBJECT_SEXUAL        Subject =~ /[s5][e3\xE8-\xEB]x[u\xB5\xF9-\xFC][a4\xE0-\xE6@][l!|1](?:[l!|1]y)?.{0,3}[e3\xE8-\xEB]xp[l!|1][i1!|l\xEC-\xEF]c[i1!|l\xEC-\xEF]t/i
  83. describe SUBJECT_SEXUAL        Subject indicates sexually-explicit content
  84.