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

dockerpull下来的项目,有些python模块没安装,运行不起来。 #18

Open
SecReXus opened this issue Mar 5, 2020 · 19 comments

Comments

@SecReXus
Copy link

SecReXus commented Mar 5, 2020

docker镜像里面按照顺序开起来后,只有oneforall运行正常
端口扫描、URL扫描、漏洞扫描都运行不起来,发现是缺少pip模块。
image
image
image

@CTF-MissFeng
Copy link
Owner

docker依次里面按照顺序开起来后,只有一个forall运行正常
端口扫描,URL扫描,扩展扫描都运行不起来,发现是其中的pip模块。
图片
图片
图片

你进错目录了,看文档说明。在bayonet目录下执行。而不是去模块工具下

@SecReXus
Copy link
Author

SecReXus commented Mar 5, 2020

我就是在bayonet目录下运行一键脚本后,下发任务,发现子域名扫描完,脚本后面就没反应了。我刚才又试了一遍
image
另外那个shodanapi是正确,但是还是用不了。

@CTF-MissFeng
Copy link
Owner

我就是在bayonet目录下运行一键脚本后,下发任务,发现子域名扫描完,脚本后面就没反应了。我刚才又试了一遍 另外那个shodanapi是正确,但是还是用不了。
图片

shodan服务已经返回了提示:无效 API KEY。你shodan确实有误。这是服务器返回的

@CTF-MissFeng
Copy link
Owner

我就是在bayonet目录下运行一键脚本后,下发任务,发现子域名扫描完,脚本后面就没反应了。我刚才又试了一遍 另外那个shodanapi是正确,但是还是用不了。
图片

shodan配置在config文件中的portscan端口扫描中,而不是子域名扫描配置类中,你写错配置项。

@SecReXus
Copy link
Author

SecReXus commented Mar 5, 2020

大佬厉害,确实是我写错了,我把shadon写到oneforall了。

@CTF-MissFeng
Copy link
Owner

大佬厉害,确实是我写错了,我把shadon写到oneforall了。

在服务器中运行,推荐一个模块一个进程挂起,而不是执行run.py,比如
nohub python3 app.py > app.log
nohub python3 run_sud...py > log
nohub python3 run_port..py > log1
....
这样的好处是如果其中一个模块运行有问题,不会影响其他模块,重新启用。再就是模块工具的日志是单独的,方便查看。

测试挂机扫描一天,没有问题出现:

image

@SecReXus
Copy link
Author

SecReXus commented Mar 5, 2020

太强了!

@SecReXus
Copy link
Author

SecReXus commented Mar 5, 2020

我刚才使用nohup python3 -u tools/scan/W13SCAN/cli.py > w13scan.log 2>&1 &,启动w13scan扫描,这个模块问题,您那边是怎么解决的。
image

@CTF-MissFeng
Copy link
Owner

我刚才使用nohup python3 -u tools/scan/W13SCAN/cli.py > w13scan.log 2>&1 &,启动w13scan扫描,这个模块问题,您那边是怎么解决的。
image

进入w13sacn目录,执行python3 cli.py

@SecReXus
Copy link
Author

SecReXus commented Mar 5, 2020 via email

@SecReXus
Copy link
Author

SecReXus commented Mar 5, 2020

image

@SecReXus
Copy link
Author

SecReXus commented Mar 6, 2020

image
在bayonet页面运行run_subdomain发现模块有问题。portscan和urlscan运行正常

@CTF-MissFeng
Copy link
Owner

图片
在bayonet页面上运行run_subdomain发现模块有问题。portscan和urlscan运行正常

前面已说明,模块有同名的,需要删除ipdb模块,留下ipdb-ipdb模块

@SecReXus
Copy link
Author

SecReXus commented Mar 6, 2020

谢谢!已经开启了。现在一切正常了,但是那个漏洞数据一致回传不上去数据库那边好像。我在网页看不到漏洞。
查看日志没看到回传数据库的日志记录出现好像。

@SecReXus
Copy link
Author

SecReXus commented Mar 6, 2020

昨天我也是能够看到后台扫描漏洞了。但是数据好像上传不到数据库那边。
image
这个是昨天接到的图。

@CTF-MissFeng
Copy link
Owner

昨天我也是能够看到后台扫描突破了。但是数据好像上传不到数据库那边。 这个是昨天接收的图。
图片

目前漏洞扫描到的子域名为www.stointl.com,而数据库存储的子域名没有此项,所以写不进去。

@SecReXus
Copy link
Author

SecReXus commented Mar 6, 2020

我今天跑起来时候,漏洞已经在扫描,但是网页那边一条数据都没有,现在的机制不是实时回传了吗,还是说缓存一批漏洞上传。

@CTF-MissFeng
Copy link
Owner

我今天跑起来时候,漏洞已经在扫描,但是网页那边一条数据都没有,现在的机制不是实时回传了吗,还是说缓存一批漏洞上传。

是实时传递,有问题可以加我QQ解答。

@SecReXus
Copy link
Author

SecReXus commented Mar 6, 2020 via email

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

2 participants