Exemple #1
0
 def __init__(self, job, timeout=30):
     scan.__init__(self, job)
     if (len(job) > 1):
         self.type = job[0].split('|')[1]
         self.port = job[0].split('|')[2]
     self.scan_type = _whats_your_name()
     if (timeout < 30):
         self.timeout = 30
     else:
         self.timeout = timeout
Exemple #2
0
 def __init__(self, job, timeout=30):
     scan.__init__(self, job)
     if (len(job) > 1):
         self.type = job[0].split('|')[1]
         self.port = job[0].split('|')[2]
     self.scan_type = _whats_your_name()
     if (timeout < 30):
         self.timeout = 30
     else:
         self.timeout = timeout
Exemple #3
0
 def __init__(self, job, timeout=10):
     scan.__init__(self, job)
     setattr(self, 'datasize', 0)
     if (len(job) > 1):
         self.type = job[0].split('|')[1]
         self.port = job[0].split('|')[2]
     self.scan_type = _whats_your_name()
     if (timeout >= 60):
         self.timeout = 59
     else:
         self.timeout = timeout
Exemple #4
0
 def __init__(self, job, timeout=5):
     scan.__init__(self, job)
     setattr(self, 'ttl', 0)
     self.scan_type = _whats_your_name()
     if (len(job) > 1):
         if (len(job[0].split('|')) > 1):
             self.broadcast = True
         else:
             self.broadcast = False
     self.response_list = []
     if (timeout >= 60):
         self.timeout = 59
     else:
         self.timeout = timeout
Exemple #5
0
 def __init__(self, job, timeout=5):
     scan.__init__(self, job)
     setattr(self, 'ttl', 0)
     self.scan_type = _whats_your_name()
     if (len(job) > 1):
         if (len(job[0].split('|')) > 1):
             self.broadcast = True
         else:
             self.broadcast = False
     self.response_list = []
     if (timeout >= 60):
         self.timeout = 59
     else:
         self.timeout = timeout
Exemple #6
0
 def __init__(self, job, timeout=None):
     scan.__init__(self, job)
     self.scan_type = _whats_your_name()
 def __init__(self, job, timeout=None):
     scan.__init__(self, job)
     if (len(job) > 1):
         self.type = job[0].split('|')[1]
     self.scan_type = _whats_your_name()
Exemple #8
0
 def __init__(self, job, timeout=None):
     scan.__init__(self, job)
     self.scan_type = _whats_your_name()
Exemple #9
0
 def __init__(self, job, timeout=None):
     scan.__init__(self, job)
     if (len(job) > 1):
         self.type = job[0].split('|')[1]
     self.scan_type = _whats_your_name()