子域名爆破工具

本章将记录3个子域名爆破工具subfinder、OneForAll、ksubdomain的安装,项目地址分别是:
https://github.com/projectdiscovery/subfinder
https://github.com/shmilylty/OneForAll
https://github.com/knownsec/ksubdomain

1. subfinder

我是在Windows操作系统上安装的,需要配置Go环境。
Go环境比较简单,在官网上下载下来直接安装,把系统变量添加上就行了。
在这里插入图片描述
安装subfinder:

设置 Golang 代理:go env -w GOPROXY=https://goproxy.cn,direct 
执行命令安装:go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest 

在这里插入图片描述安装成功后,在bin目录下生成subfinder.exe
在这里插入图片描述在这里插入图片描述

2. OneForAll

项目下载到本地后,python3和pip3安装相关依赖,安装过程需要使用管理员权限。
由于我Windows系统上的python命令对应python3,pip3pip都对应pip3

管理员权限打开cmd
cd OneForAll/
python -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

在这里插入图片描述【*】运行脚本时报错ImportError: cannot import name ‘sre_parse’ from ‘re’
在这里插入图片描述 这是因为python的版本过高不兼容导致的。
作者已经修复此问题,我们pip uninstall exrex卸载exrex后重新下载依赖pip install exrex就可以了 。
在这里插入图片描述

3. ksubdomain

Linux需要libpcap环境和 go 1.17以上版本
Windows需要Go环境和winpcap或者npcap
在这里插入图片描述

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值