0
点赞
收藏
分享

微信扫一扫

Kali安装和使用oneforall

天行五煞 2022-04-19 阅读 84
网络安全

上一篇文章写了Kali的安装过程,这篇来写oneforall的安装使用
关于虚拟机的tools安装就不做介绍了网上一搜全是大神写的(其实是因为已经安装了懒得再写一遍)
oneforall的下载地址和镜像地址也贴一下

GitHub - shmilylty/OneForAll: OneForAll是一款功能强大的子域收集工具GitHub的链接

OneForAll镜像地址适合没有科学上网条件的镜像网站,需要注册登录

这里就专门只写kali安装的版本了,kali在安装tools后的粘贴键为ctrl+shift+v,直接粘贴就是

首先安装git和pip3

sudo apt update
sudo apt install git python3-pip -y

克隆OneForAll项目,和上面一下镜像的为gitee,有条件的可以选GitHub,二选一个

git clone https://github.com/shmilylty/OneForAll.git
git clone https://gitee.com/shmilylty/OneForAll.git

安装相关依赖 

cd OneForAll/
sudo apt install python3-dev python3-pip python3-testresources -y
sudo python3 -m pip install -U pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
sudo pip3 install --ignore-installed -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python3 oneforall.py --help

 执行以下命令更新项目(可保存对/config/setting.py和/config/api.py的修改):这一部不是必须的不做也行

git stash        # 暂存本地的修改
git fetch --all  # 拉取项目更新
git pull         # 下载覆盖
git stash pop    # 释放本地修改

 最后就是运行了,其中example.com就是需要收集信息的网址,最好不要跑百度之类的大网址,会跑很久,可以尝试一些小网站

python3 oneforall.py --target example.com run

如果安装成功了就会显示 

 

举报

相关推荐

0 条评论