Module malcontent :: Class Rule
[show private | hide private]
[frames | no frames]

Class Rule

Known Subclasses:
ContentRule, ExternalIframeRule, LinkRule

An abstract class representing rules for detecting malicious content.
Method Summary
  __call__(self, site)
Applies the rule to the given site.

Class Variable Summary
int EVIL = 2                                                                     
int GOOD = 0                                                                     
int MAY_BE_EVIL = 1                                                                     

Method Details

__call__(self, site)
(Call operator)

Applies the rule to the given site. Should be overriden by real rules.

Class Variable Details

EVIL

Type:
int
Value:
2                                                                     

GOOD

Type:
int
Value:
0                                                                     

MAY_BE_EVIL

Type:
int
Value:
1                                                                     

Generated by Epydoc 2.1 on Mon Dec 12 14:30:34 2005 http://epydoc.sf.net