Image download 、 Domain name resolution 、 Time synchronization please click Alibaba cloud open source image station
OneForAll It is a powerful sub domain collection tool
I installed it to kali
git clone https://gitee.com/shmilylty/OneForAll.git
git clone https://github.com/shmilylty/OneForAll.git
These two choose one at random
pwd
Look at the current directory , Because it will be installed in the current directory , Generate... In the current directory OneForAll Catalog
cd OneForAll
python3 OneForAll.py --help
This command may go wrong ,(kali I installed it myself Python)
Traceback (most recent call last):
File "oneforall.py", line 13, in
import fire
ModuleNotFoundError: No module named 'fire'
If there's this , Congratulations on winning the prize , He reminds you that you don't have this module , You have to load things step by step ,
pip3 install fire
If it can be installed directly , That would be better , If it can't be installed , Look at personal problems , My source is wrong ,
vi /etc/apt/sources.list
Aliyuan :
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
Refresh the source list
sudo apt-get update
then
Python3 OneForAll.py --hellp
There will be a prompt ,
ModuleNotFoundError: No module named '*****'
**** What is it , Just install what
pip3 install *****
Finally ,
usage :
NAME
oneforall.py - OneForAll It is a powerful sub domain collection tool
SYNOPSIS
oneforall.py --target=TARGET <flags>
DESCRIPTION
Version: 0.0.4
Project: https://git.io/fjHT1
Example:
python3 oneforall.py --target Example Domain run
python3 oneforall.py --target ./domains.txt run
python3 oneforall.py --target example.com --brute True run
python3 oneforall.py --target Example Domain --verify False run
python3 oneforall.py --target Example Domain --valid None run
python3 oneforall.py --target example.com --port medium run
python3 oneforall.py --target example.com --format csv run
python3 oneforall.py --target example.com --show True run
Note:
Parameters valid Optional value 1,0,None Respectively indicates that the export is valid , Invalid , All subdomains
Parameters verify by True Will try to resolve and request the subdomain and label the validity of the subdomain according to the results
Parameters port Optional values are 'small', 'medium', 'large', 'xlarge', See config.py To configure
Parameters format The optional formats are 'txt', 'rst', 'csv', 'tsv', 'json', 'yaml', 'html',
'jira', 'xls', 'xlsx', 'dbf', 'latex', 'ods'
Parameters path by None Will be based on format Parameters and domain names generate corresponding files in the project results directory
ARGUMENTS
TARGET
The file path of a single domain name or one domain name per line ( Required parameters )
FLAGS
--brute=BRUTE
Use the blasting module ( Default False)
--verify=VERIFY
Verify subdomain validity ( Default True)
--port=PORT
Port range requested for authentication ( Default medium)
--valid=VALID
The validity of the derived subdomain ( Default 1)
--path=PATH
export path ( Default None)
--format=FORMAT
Export format ( Default xlsx)
--show=SHOW
The terminal displays the exported data ( Default False)
Link to the original text :https://blog.csdn.net/m0_56214376/article/details/124321743