mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
增加brute_nameservers_path的说明以及typo
This commit is contained in:
@@ -37,9 +37,9 @@ git clone https://github.com/shmilylty/OneForAll.git
|
||||
|
||||
```bash
|
||||
cd OneForAll/
|
||||
python -m pip install -U pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
|
||||
python3 -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/
|
||||
python oneforall.py --help
|
||||
python3 oneforall.py --help
|
||||
```
|
||||
|
||||
其他系统平台的请参考[依赖安装](https://github.com/shmilylty/OneForAll/tree/master/docs/installation_dependency.md),如果在安装依赖过程中发现编译某个依赖库失败时可以参考[troubleshooting.md](https://github.com/shmilylty/OneForAll/tree/master/docs/troubleshooting.md)中解决方法,如果还没有解决欢迎加群反馈。
|
||||
@@ -81,6 +81,8 @@ docker run -it --rm -v ~/results:/OneForAll/results -v ~/.config:/OneForAll/conf
|
||||
<details>
|
||||
<summary><b>✨使用演示</b></summary>
|
||||
|
||||
如果你的主机不在中国,请把 [setting](https://github.com/shmilylty/OneForAll/blob/master/config/setting.py#L46) 中`brute_nameservers_path`选项的`cn_nameservers.txt`修改为`nameservers.txt`。
|
||||
|
||||
1. 如果你是通过pip3安装的依赖则使用以下命令运行示例:
|
||||
```bash
|
||||
python3 oneforall.py --target example.com run
|
||||
|
||||
@@ -718,7 +718,7 @@ class Brute(Module):
|
||||
self.elapse = round(end - start, 1)
|
||||
logger.log('ALERT', f'{self.source} module takes {self.elapse} seconds, '
|
||||
f'found {len(self.subdomains)} subdomains of {domain}')
|
||||
logger.log('DEBUG', f'{self.source} module found subdomains of {domain}:\n'
|
||||
logger.log('DEBUG', f'{self.source} module found subdomains of {domain}: '
|
||||
f'{self.subdomains}')
|
||||
self.gen_result()
|
||||
self.save_db()
|
||||
|
||||
+3
-3
@@ -40,8 +40,9 @@ enable_partial_module = [] # 启用部分收集模块 必须禁用enable_all_mo
|
||||
brute_concurrent_num = 2000 # 爆破时并发查询数量(默认2000,最大推荐10000)
|
||||
# 爆破所使用的字典路径 默认data/subdomains.txt
|
||||
brute_wordlist_path = data_storage_dir.joinpath('subnames.txt')
|
||||
# 爆破所使用的字典路径 默认data/cn_nameservers.txt
|
||||
# 如果你不在中国请改为nameservers.txt
|
||||
# 爆破所使用的DNS服务器路径 默认data/cn_nameservers.txt 如果你不在中国请改为nameservers.txt
|
||||
# DNS resolve server file path default data/nameservers.txt
|
||||
# If your computer's location are not in China, change `cn_nameservers.txt` to `nameservers.txt` plz.
|
||||
brute_nameservers_path = data_storage_dir.joinpath('cn_nameservers.txt')
|
||||
# 域名的权威DNS名称服务器的保存路径 当域名开启了泛解析时会使用该名称服务器来进行A记录查询
|
||||
authoritative_dns_path = data_storage_dir.joinpath('authoritative_dns.txt')
|
||||
@@ -78,4 +79,3 @@ request_proxy_pool = [{'http': 'http://127.0.0.1:1080',
|
||||
# 搜索模块设置
|
||||
enable_recursive_search = False # 递归搜索子域
|
||||
search_recursive_times = 2 # 递归搜索层数
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ You can use pip3 install requirements, the following is an example of using **pi
|
||||
|
||||
```bash
|
||||
cd OneForAll/
|
||||
python -m pip install -U pip setuptools wheel
|
||||
python3 -m pip install -U pip setuptools wheel
|
||||
pip3 install -r requirements.txt
|
||||
python3 oneforall.py --help
|
||||
```
|
||||
@@ -71,6 +71,8 @@ Result will be saved in `~/results`.
|
||||
<details>
|
||||
<summary><b>✨OneForAll usage</b></summary>
|
||||
|
||||
If your computer are not in China, change [setting](https://github.com/shmilylty/OneForAll/blob/master/config/setting.py#L46) `brute_nameservers_path` param `cn_nameservers.txt` to `nameservers.txt` plz.
|
||||
|
||||
1. If you are use pip3, run the following command:
|
||||
```bash
|
||||
python3 oneforall.py --target example.com run
|
||||
|
||||
Reference in New Issue
Block a user