KvasirSecurity / Kvasir

Kvasir: Penetration Test Data Management
Other
424 stars 86 forks source link

Connect Exploit traceback #157

Open grutz opened 9 years ago

grutz commented 9 years ago

Connecting exploits using scheduler:

Traceback (most recent call last):
  File "/Users/grutz/Kvasir/web2py/gluon/scheduler.py", line 306, in executor
    "name '%s' not found in scheduler's environment" % f)
NameError: name 'connect_exploits' not found in scheduler's environment

Need to add this to models/scheduler.py:

##----------------------------------------------------------------------------

def connect_exploits(filename=None):
    """
    Process Nexpose exploits.xml file into the database
    """
    from skaldship.exploits import connect_exploits

    connect_exploits()
    return True