Install the ksubdomain tool in kali

1. libpcap-dev needs to be installed under linux; so first arrange the environment required for the installation tool.

sudo apt-get install libpcap-dev libnids-dev libnet1-dev

 

2. Install the go package

apt install gccgo-go

3. Download ksubdomain: GitHub - knownsec/ksubdomain: stateless subdomain blasting tool

4. Unzip and execute the command in the cd ksubdomain directory:

go mod download

Execute after waiting for the command to complete

cd cmd

go build ksubdomain.go

 5. Download releases: Releases · knownsec/ksubdomain · GitHub , after downloading and decompressing, it will be ksubdomain

At this point, the ./ksubdomain command can be executed;

For example: ./ksubdomain -d baidu.com -b 1m

Use the built-in dictionary of ksubdomain to run the baidu.com domain name

At this point, the installation and test use are completed.

This article is for learning purposes only, and shall not be used for unauthorized scanning tests, and illegal use is prohibited.

 

Guess you like

Origin blog.csdn.net/woai_zhongguo/article/details/122805482