OSINT 工具,可为给定的种子 URL 查找域名、子域名、目录、端点和文件。
NetScout is an OSINT tool that finds domains, subdomains, directories, endpoints and files for a given seed URL. It consists of the following components:
go install github.com/caio-ishikawa/netscout@latestmake installNetScout uses two external APIs: BinaryEdge and SerpAPI. BinaryEdge is used to query for historical data of subdomains registered to the seed URL, and SERP API is used to collect Google Search results for speficic filetypes for the seed URL.
NetScout expects the API keys to be set as environment variables:
export BINARYEDGE_API_KEY=""export SERP_API_KEY=""Usage:
…Sets seed url, depth, and output file:
netscout -u https://crawler-test -d 2 -o netscout.txtSkips BinaryEdge and Google dork:
netscout -u https://crawler-test.com -d 2 --skip-binaryedge --skip-google-dork -o netscout.txtSets thread count to 5, req delay to 1000ms, and forces requests to be made throught a headless Chrome browser.
netscout -u https://crawler-test.com -d 2 -t 5 --delay-ms 1000 --headless -o netscout.txtSets depth to 2, and adds cookies and header values
netscout -u https://crawler-test.com --deep -d 2 -t 5 -h "key=test,key_two=test_2" -c "key=test,key_two=test_2"Enables the shortened URL scan, sets crawler depth to 2, and threads to 5
netscout -u https://crawler-test.com --deep -d 2 -t 5Before submitting a PR, please ensure that the project builds successfully and that all existing tests pass. More info at Testing
Thank you for your interest in contributing to this project!
The tests are placed in the same directory as the tested file, and the crawler tests require the DVWA (Damn Vulnerable Web App) to be running locally with port 80 exposed. Before running the tests, the test files must be set up.
All the setup needed for the tests are handled in the Makefile:
make test-container-pullmake testfiles-setupmake test-container-runmake testmake testfiles-teardown暂无开放 Issues,或尚未同步最近议题。