FastSearch is a fast and lightweight alternative to dirsearch, built on a different principle.
Instead of brute-forcing single-level paths (like /admin, /api/v1, etc.), FastSearch operates using the pattern:
FastSearch separates the search process into two lists:
- Path — commonly used base paths (root directories, API bases, etc.)
- SubPath — frequently used subdirectories or endpoints found within those base paths.
The search then combines them using a path + subpath approach.
Install Go and required dependencies
go mod tidy
go run cmd/main.go -url https://exemple.ru
for _, path := range pathList {
for _,subPath := range subPathList {
url := webUrl + path + subPath
}
}