所有参数:
usage: ip2domain.py [-h] -f [-t] [-T] [-o]
usage: ip2domain.py [-h] [-t TARGET] [-f FILE] [-s DELAY] [-T TIMEOUT]
[-r RANK] [-o OUTPUT] [--icp]
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET Target ip/domain
-f FILE, --file FILE Target i
p/domain file
-s DELAY, --delay DELAY Request delay (default 2s)
-T TIMEOUT, --Timeout TIMEOUT Request timeout (default 3s)
-r RANK, --rank RANK Show baiduRank size (default 0)
-o OUTPUT, --output OUTPUT output file (default ./output/ip2domain_{fileName}_{date}.csv)
--icp With search icp (default false)
pip install -r requirements.txt
python ip2domain.py -f [file]
指定,并加入其他参数即可。python .\ip2domain.py -f E:\Desktop\target.txt -s 2 -r 1
python .\ip2domain.py -f E:\Desktop\target.txt -s 2 -r 1 --icp
https://github.com/Sma11New/ip2domain
如有侵权,请联系删除
推荐阅读