(self)
Main code of the thread
Main code of the thread
Main code of the thread
def run(self):
        """ Main code of the thread """
        while True:
            try:
                target = self.queue.get(timeout = 1)
            except:
                try:
                    self.queue.task_done()
                except ValueError:
                    pass
            else:
                # No GET/POST parameters? Skip to next url 
                if len(target.params) == 0:
                    # print "[X] No paramaters to inject"
                    self.queue.task_done()
                    continue
               
                self._performInjections(target)
                self._checkStoredInjections()
                                
                # Scan complete
                try:                
                    self.queue.task_done()
                except ValueError:
                    pass
def run ( self ) : while True : try : target = self . queue . get ( timeout = 1 ) except : try : self . queue . task_done ( ) except ValueError : pass else : # No GET/POST parameters? Skip to next url  if len ( target . params ) == 0 : # print "[X] No paramaters to inject" self . queue . task_done ( ) continue self . _performInjections ( target ) self . _checkStoredInjections ( ) # Scan complete try : self . queue . task_done ( ) except ValueError : pass