1. 程式人生 > 實用技巧 >onforall安裝掃子域名工具

onforall安裝掃子域名工具

一、簡介

OneForAll基於Python 3.8.0開發和測試,請使用高於Python 3.8.0的穩定發行版本,其他版本可能會出現一些問題(Windows平臺必須使用3.8.0以上版本),安裝Python環境可以參考Python 3 安裝指南。
在Ubuntu18.04上搭建

二、虛擬機器安裝Ubuntu18.04系統

映象在官網下載:https://ubuntu.com/download/desktop (記得安裝帶桌面的版本,不要安裝成伺服器的Ubuntu映象,那樣的話是沒有圖形化介面的)

然後正常安裝就行(百度教程)

三、下載安裝python3

在終端輸入命令
sudo apt-get install python3.7
(百度。。)

然後安裝pip包,同百度==

四、安裝oneforall

  1. 下載
git clone https://gitee.com/shmilylty/OneForAll.git
  1. 安裝
cd OneForAll/
python -m pip install -U pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python3 oneforall.py --help
(python 或python3試一試就知道)
  1. 更新
    ❗注意:如果你之前已經克隆了專案執行之前請備份自己修改過的檔案到專案外的地方(如config.py),然後執行以下命令更新專案:
git fetch --all
git reset --hard origin/master
git pull

四、使用命令

單個目標

python3 oneforall.py --target example.com run

開啟爆破模組執行(使用massdns進行爆破,網路佔用極大,可能會阻塞網路)

python3 run python oneforall.py --target example.com --burte True run