You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MiaCTFer/client/subdomain/oneforall/example.py

24 lines
739 B

#!/usr/bin/env python3
# coding=utf-8
"""
示例
"""
import client.subdomain.oneforall.oneforall as oneforall
# 导入 oneforall 模块,可能是一个用于子域名收集的工具模块
if __name__ == '__main__':
# 判断是否为入口模块
test = oneforall.OneForAll(target='github.com')
# 创建一个 OneForAll 类的实例,传入目标域名'github.com'
test.brute = True
# 设置是否进行暴力破解为 True
test.req = False
# 可能表示是否进行某种请求,这里设置为 False
test.takeover = True
# 设置是否进行接管检查为 True
test.run()
# 运行 OneForAll 实例的收集任务
result = test.datas
# 获取收集到的数据并赋值给 result