Aabyss-Team / ARL

ARL官方仓库备份项目:ARL(Asset Reconnaissance Lighthouse)资产侦察灯塔系统旨在快速侦察与目标关联的互联网资产,构建基础资产信息库。 协助甲方安全团队或者渗透测试人员有效侦察和检索资产,发现存在的薄弱点和攻击面。
MIT License
801 stars 485 forks source link

源码安装xing模块问题 #8

Open Herily opened 2 months ago

Herily commented 2 months ago

![Uploading image.png…]()

源码安装爆这个错误为什么啊

Grass1 commented 2 months ago

我也有这个问题。结局了吗

Herily commented 2 months ago

[root@vultr ~]# systemctl status arl-worker ● arl-worker.service - ARL Worker Service Loaded: loaded (/etc/systemd/system/arl-worker.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since 二 2024-05-21 01:24:41 UTC; 50min ago Process: 21803 ExecStart=/usr/local/bin/celery -A app.celerytask.celery worker -l info -Q arltask -n arltask -c 2 -O fair -f arl_worker.log (code=exited, status=2) Main PID: 21803 (code=exited, status=2)

5月 21 01:24:41 vultr.guest celery[21803]: File "/opt/ARL/app/tasks/domain.py", line 8, in 5月 21 01:24:41 vultr.guest celery[21803]: from app import services 5月 21 01:24:41 vultr.guest celery[21803]: File "/opt/ARL/app/services/init.py", line 18, in 5月 21 01:24:41 vultr.guest celery[21803]: from .npoc import run_risk_cruising, run_sniffer 5月 21 01:24:41 vultr.guest celery[21803]: File "/opt/ARL/app/services/npoc.py", line 3, in 5月 21 01:24:41 vultr.guest celery[21803]: from xing.core import PluginType, PluginRunner 5月 21 01:24:41 vultr.guest celery[21803]: ModuleNotFoundError: No module named 'xing' 5月 21 01:24:41 vultr.guest systemd[1]: arl-worker.service: main process exited, code=exited, status=2/INVALIDARGUMENT 5月 21 01:24:41 vultr.guest systemd[1]: Unit arl-worker.service entered failed state. 5月 21 01:24:41 vultr.guest systemd[1]: arl-worker.service failed. 这个错误吗

Grass1 commented 2 months ago

gunicorn -b 0.0.0.0:5003 app.main:arl_app -w 3 --access-logfile arl_web.log 执行这个命令报错xing模块问题

Herily commented 2 months ago

我这个命令正常

Grass1 commented 2 months ago

你看的那个文章安装的啊

AabyssZG commented 2 months ago

现在可以采用Docker安装的方式更加稳定,Docker安装过程如下:

//安装docker
yum -y install docker

//启动Docker服务
systemctl start docker

//拉取Docker镜像
docker pull honmashironeko/arl-docker

//运行Docker容器
docker run -d -p 5003:5003 --name arl --privileged=true honmashironeko/arl-docker /usr/sbin/init
Herily commented 2 months ago

源码安装已经不行了吗

AabyssZG commented 2 months ago

源码安装已经不行了吗

源码安装使用 CentOS 7.9 是没问题的,我们这边安装过程中并没有出现xing模块问题 具体原因还需要再排查一下,因为我们没出现,所以目前并不清楚解决方案

xxxxxxovo commented 1 month ago

源码安装已经不行了吗

源码安装使用 CentOS 7.9 是没问题的,我们这边安装过程中并没有出现xing模块问题 具体原因还需要再排查一下,因为我们没出现,所以目前并不清楚解决方案

曾哥,源码安装的方式,服务如果关闭,再次启动的主程序在哪

WeaponA commented 2 weeks ago

gunicorn -b 0.0.0.0:5003 app.main:arl_app -w 3 --access-logfile arl_web.log 执行这个命令报错xing模块问题

解决了吗?我也有这个问题

WeaponA commented 2 weeks ago

gunicorn -b 0.0.0.0:5003 app.main:arl_app -w 3 --access-logfile arl_web.log 执行这个命令报错xing模块问题

解决了吗?我也有这个问题

采用容器安装,但是任务多了,经常会卡主不动,过很久可能才继续任务,怀疑是发包流量太大(全端口+6w的file_leak字典),根据官方的一个说法怀疑是流量大导致的,因为nmap的日志在这段时间确实停了,另外容器状态也是自行重启过的。所有准备采用源码安装,碰到上面的问题

WeaponA commented 2 weeks ago

gunicorn -b 0.0.0.0:5003 app.main:arl_app -w 3 --access-logfile arl_web.log 执行这个命令报错xing模块问题

解决了吗?我也有这个问题

我容器安装了,然后去worker镜像pip list 看了下,/opt/ARL-NPoC 下面有xing,拷贝出来了,放在主机opt目录下,然后去报错的代码文件修改了手动导入import sys
sys.path.append('/opt/ARL-NPoC')

AabyssZG commented 1 week ago

gunicorn -b 0.0.0.0:5003 app.main:arl_app -w 3 --access-logfile arl_web.log 执行这个命令报错xing模块问题

解决了吗?我也有这个问题

我容器安装了,然后去worker镜像pip list 看了下,/opt/ARL-NPoC 下面有xing,拷贝出来了,放在主机opt目录下,然后去报错的代码文件修改了手动导入import sys sys.path.append('/opt/ARL-NPoC')

感谢师傅提供的解决方案👍,因为我们自己搭建的时候没有碰到这个问题哈哈

AabyssZG commented 3 days ago

源码安装已经修复了一部分BUG,并在脚本内添加了Docker运行方式,感兴趣的师傅可以尝试跑一下新脚本看看