This commit is contained in:
Jing Ling
2020-10-25 12:17:39 +08:00
parent c6a83497be
commit 904a2d13d7
4 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
import os import os
from sys import stdout
from collections import OrderedDict from collections import OrderedDict
from contextlib import contextmanager
from inspect import isclass from inspect import isclass
from .tablib import tablib
from sqlalchemy import create_engine, exc, inspect, text from sqlalchemy import create_engine, exc, inspect, text
from .tablib import tablib
DATABASE_URL = os.environ.get('DATABASE_URL') DATABASE_URL = os.environ.get('DATABASE_URL')
+1 -1
View File
@@ -832,4 +832,4 @@ def looks_like_ip(maybe_ip):
if IP_RE.match(maybe_ip): if IP_RE.match(maybe_ip):
return True return True
except socket.error: except socket.error:
return False return False
+1 -1
View File
@@ -6,7 +6,7 @@
```python ```python
enable_all_module = False # 不开启所有模块 enable_all_module = False # 不开启所有模块
enable_partial_module = [('modules.search', 'ask')('modules.search', 'baidu')] # 只使用ask和baidu搜索引擎收集子域 enable_partial_module = [('modules.search', 'ask'), ('modules.search', 'baidu')] # 只使用ask和baidu搜索引擎收集子域
``` ```
如果你指定使用某些模块使用代理可以在[api.py](../oneforall/config/api.py)中设置: 如果你指定使用某些模块使用代理可以在[api.py](../oneforall/config/api.py)中设置:
+1 -1
View File
@@ -332,7 +332,7 @@ class ParseException(Exception):
class Token(object): class Token(object):
def __init__(self, type: TOKEN_TYPE, name: str = '', value: bool = False): def __init__(self, type, name='', value=False):
self.type = type self.type = type
self.name = name self.name = name
self.value = value self.value = value