Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行问题 #4

Open
letmejustdoit opened this issue Nov 15, 2017 · 5 comments
Open

运行问题 #4

letmejustdoit opened this issue Nov 15, 2017 · 5 comments

Comments

@letmejustdoit
Copy link

跑不起来,报中间件问题

@Lee-0x00
Copy link
Owner

能把错误贴出来?

@letmejustdoit
Copy link
Author

send_task.py 发送到redis redis 正常
daemon.py 能接受到数据。但接受send_task的结果时就开始出错了。Middleware connect fail !!!
然后AWVS并没有建立任务。 我是单独下的wukong-agent进行调试的。

@Lee-0x00
Copy link
Owner

Lee-0x00 commented Nov 17, 2017

这个是正常运行! 默认会遍历500个任务,如果你redis只是写了1个任务,demon.py第一次会打印
信息,后面接着会打印499个 Middleware connect fail !!! 这条信息!然后运行任务,代码片段如下:

for line in range(0, 500):
    try :
        data = r.spop("scan_batch")
        target = eval(data)
        p.apply_async(custom_scan, args=(target,))
        count += 1
    except :
        time.sleep(30)
        print("Middleware connect fail !!! please try again ...")

你可以修改下任务数量改成range(0, 4);而消息提示你也可以修改下;如下:

for line in range(0, 4):
    try :
        data = r.spop("scan_batch")
        target = eval(data)
        p.apply_async(custom_scan, args=(target,))
        count += 1
    except :
        time.sleep(30)
        print("Waiting for task loading ...")

awvs得等待端口扫描完执行,大约1分钟后,你可以在安装awvs的机器上访问localhost:8183就可以看到任务在运行!

@zx273983653
Copy link

不行一样的问题,nessus 和awvs 内没有任务

@Lee-0x00
Copy link
Owner

Lee-0x00 commented Nov 24, 2017

访问下你的awvs的web界面http://localhost:8183 试试;
如果能访问在修改settings对应的awvs的ip和port端口部分;nessus同样操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants