默认导出格式修改为csv

This commit is contained in:
shmilylty
2019-08-23 10:17:33 +08:00
parent 403a3fefcb
commit 69f94193f6
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -160,14 +160,14 @@ class AIOBrute(Module):
:param str rule: fuzz模式使用的正则规则(默认使用config.py配置)
:param bool export: 是否导出爆破结果(默认True)
:param int valid: 导出子域的有效性(默认None)
:param str format: 导出格式(默认xls)
:param str format: 导出格式(默认csv)
:param str path: 导出路径(默认None)
:param bool show: 终端显示导出数据(默认False)
"""
def __init__(self, target, process=None, coroutine=64, wordlist=None,
segment=500, recursive=False, depth=2, namelist=None,
fuzz=False, rule=None, export=True, valid=None, format='xls',
fuzz=False, rule=None, export=True, valid=None, format='csv',
path=None, show=False):
Module.__init__(self)
self.domains = set()
+1 -1
View File
@@ -17,7 +17,7 @@ class Collect(object):
self.collect_func = []
self.path = None
self.export = export
self.format = 'xls'
self.format = 'csv'
def get_mod(self):
"""
+1 -1
View File
@@ -13,7 +13,7 @@ from common import utils
from common.database import Database
def export(table, db=None, valid=None, dpath=None, format='xls', show=False):
def export(table, db=None, valid=None, dpath=None, format='csv', show=False):
"""
OneForAll数据库导出模块
+2 -2
View File
@@ -68,11 +68,11 @@ class OneForAll(object):
:param bool verify: 验证子域有效性(默认True)
:param str port: 请求验证的端口范围(默认medium)
:param int valid: 导出子域的有效性(默认1)
:param str format: 导出格式(默认xls)
:param str format: 导出格式(默认csv)
:param bool show: 终端显示导出数据(默认False)
"""
def __init__(self, target, brute=None, verify=None, port='medium', valid=1,
format='xls', takeover=True, show=False):
format='csv', takeover=True, show=False):
self.target = target
self.port = port
self.domains = set()
+2 -2
View File
@@ -60,10 +60,10 @@ class Takeover(Module):
:param str target: 单个子域或者每行一个子域的文件路径(必需参数)
:param int thread: 线程数(默认100)
:param str format: 导出格式(默认xls)
:param str format: 导出格式(默认csv)
:param str dpath: 导出目录(默认None)
"""
def __init__(self, target, thread=100, dpath=None, format='xls'):
def __init__(self, target, thread=100, dpath=None, format='csv'):
Module.__init__(self)
self.subdomains = set()
self.module = 'Check'