def __init__(self): EvasionPlugin.__init__(self) ''' random.seed(..) is used to generate the same IP addresses in every scan otherwise the plugin could generate false negatives (scan #1 finds bug because of some specific IP it's sent in the header; and then scan #2 doesn't send the same IP and the bug is not found). ''' self.random = random.Random() self.random.seed(42)
def __init__(self): EvasionPlugin.__init__(self)