A tool for extract Endpoints, URLs and Secrets from contents
go install github.com/SharokhAtaie/extractify@latest
extractify -h
Usage:
extractify [flags]
Flags:
INPUTS:
-u, -url string URL for scanning
-l, -list string List of URLs for scanning
-f, -file string Local file data for scanning
EXTRACTS:
-es, -secrets Extract secrets (default)
-ee, -endpoints Extract endpoints
-eu, -urls Extract urls
-ea, -all Extract all
OTHERS:
-fe, -filter-extension string[] list of extensions svg,png (comma-separated) (default ["svg", "png", "jpg", "jpeg"])
-H, -header string Set custom header
-v, -verbose Verbose mode
-t, -threads Number of threads to use (default 5)
You can use this as stdin:
cat urls.txt | extractify -all
echo "https://google.com/path" | extractify -endpoints
You can integrate this tool with others, such as subjs (https://github.com/lc/subjs):
echo "https://github.com" | subjs | extractify | tee results
For output you can use tee
like above example.