日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

OneForAll安装使用

發(fā)布時(shí)間:2023/12/20 编程问答 23 豆豆
生活随笔 收集整理的這篇文章主要介紹了 OneForAll安装使用 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

OneForAll是一款功能強(qiáng)大的子域收集工具

我安裝到了kali

git clone https://gitee.com/shmilylty/OneForAll.git git clone https://github.com/shmilylty/OneForAll.git 這倆個(gè)隨便選擇了一個(gè)pwd 看一下當(dāng)前目錄,因?yàn)闀?huì)安裝到當(dāng)前目錄,在當(dāng)前目錄生成OneForAll目錄 cd OneForAllpython3 OneForAll.py --help這個(gè)命令可能會(huì)出錯(cuò),(kali自己安裝了Python)Traceback (most recent call last): File "oneforall.py", line 13, in <module> import fire ModuleNotFoundError: No module named 'fire'如果出現(xiàn)這個(gè),那就恭喜你中獎(jiǎng)了,他提示你沒(méi)有這個(gè)模塊,你要一步一步裝東西了,

pip3 install?fire

如果直接可以安裝,那就更好,如果安裝不了,看個(gè)人問(wèn)題,我的是源不對(duì),

vi? /etc/apt/sources.list

163源:

deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise?main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

阿里源:

deb http://mirrors.aliyun.com/ubuntu/ precise?main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ precise?main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse

?阿里的源好一點(diǎn),中科大、清華的下載不了,

刷新源列表

sudo apt-get update

然后

Python3??OneForAll.py --hellp

會(huì)出現(xiàn)提示,

ModuleNotFoundError: No module named '*****'****是啥,就安裝啥 pip3 install?*****

最后就好了,用法: NAMEoneforall.py - OneForAll是一款功能強(qiáng)大的子域收集工具SYNOPSISoneforall.py --target=TARGET <flags>DESCRIPTIONVersion: 0.0.4Project: https://git.io/fjHT1Example:python3 oneforall.py --target Example Domain runpython3 oneforall.py --target ./domains.txt runpython3 oneforall.py --target example.com --brute True runpython3 oneforall.py --target Example Domain --verify False runpython3 oneforall.py --target Example Domain --valid None runpython3 oneforall.py --target example.com --port medium runpython3 oneforall.py --target example.com --format csv runpython3 oneforall.py --target example.com --show True runNote:參數(shù)valid可選值1,0,None分別表示導(dǎo)出有效,無(wú)效,全部子域參數(shù)verify為True會(huì)嘗試解析和請(qǐng)求子域并根據(jù)結(jié)果給子域有效性打上標(biāo)簽參數(shù)port可選值有'small', 'medium', 'large', 'xlarge',詳見(jiàn)config.py配置參數(shù)format可選格式有'txt', 'rst', 'csv', 'tsv', 'json', 'yaml', 'html','jira', 'xls', 'xlsx', 'dbf', 'latex', 'ods'參數(shù)path為None會(huì)根據(jù)format參數(shù)和域名名稱在項(xiàng)目結(jié)果目錄生成相應(yīng)文件ARGUMENTSTARGET單個(gè)域名或者每行一個(gè)域名的文件路徑(必需參數(shù))FLAGS--brute=BRUTE使用爆破模塊(默認(rèn)False)--verify=VERIFY驗(yàn)證子域有效性(默認(rèn)True)--port=PORT請(qǐng)求驗(yàn)證的端口范圍(默認(rèn)medium)--valid=VALID導(dǎo)出子域的有效性(默認(rèn)1)--path=PATH導(dǎo)出路徑(默認(rèn)None)--format=FORMAT導(dǎo)出格式(默認(rèn)xlsx)--show=SHOW終端顯示導(dǎo)出數(shù)據(jù)(默認(rèn)False)

總結(jié)

以上是生活随笔為你收集整理的OneForAll安装使用的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。