Customize From Amass v3.19.3 For Personal Purposes
Using command
go install github.com/th13ntc/AmassCustom/v1/cmd/amass
> amass help
Usage: amass intel|enum|viz|track|db [options]
-h Show the program usage message
-help
Show the program usage message
-version
Print the version number of this Amass binary
Subcommands:
amass intel - Discover targets for enumerations
amass enum - Perform enumerations and network mapping
amass viz - Visualize enumeration results
amass track - Track differences between enumerations
amass db - Manipulate the Amass graph database
Implement code
package main
import (
"fmt"
amass "github.com/th13ntc/AmassCustom/v1/core"
)
func main() {
var args = []string{
"-passive",
"-d", "example.com",
}
fmt.Println(args)
amass.Run("enum", args)
}