Exemplo n.º 1
0
def testOpenVas():
    o = Openvas()
    o.name = "Basic test"
    o.description = "Openvas scan against localhost"
    #o.target = "localhost"
    o.target = "www.rdexperts.com"
    o.status = "NEW"
    save.delay(o)  #@UndefinedVariable

    run.delay(o)  #@UndefinedVariable
Exemplo n.º 2
0
def testOpenVas():
    o = Openvas()
    o.name = "Basic test"
    o.description = "Openvas scan against localhost"
    #o.target = "localhost"
    o.target = "www.rdexperts.com"
    o.status = "NEW"
    save.delay(o) #@UndefinedVariable
    
    run.delay(o) #@UndefinedVariable
Exemplo n.º 3
0
def testNmap():
    result = run.delay("www.rdexperts.com")  #@UndefinedVariable
    print result.wait()
Exemplo n.º 4
0
def testNmap():
    result = run.delay("www.rdexperts.com") #@UndefinedVariable
    print result.wait()