diff --git a/README.md b/README.md index 28d8f3c..616a9d3 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ What does it do? Usage of /tmp/go-build2863756334/b001/exe/main: -address string IP address to bind the web ui server to. (default "127.0.0.1") + -dictionary string + File to use for enumeration. (default "db/apache-list") -domain string domain to scan -shodan string diff --git a/cmd/bruter/main.go b/cmd/bruter/main.go index 29e12ac..6fe1d7f 100644 --- a/cmd/bruter/main.go +++ b/cmd/bruter/main.go @@ -34,10 +34,11 @@ var app config.AppConfig var session *scs.SessionManager var ( - Domain = flag.String("domain", "", "domain to scan") - Apikey = flag.String("shodan", "", "shadan api key") - Address = flag.String("address", "127.0.0.1", "IP address to bind the web ui server to.") - Verbose = flag.Bool("verbose", false, "Verbosity") + Domain = flag.String("domain", "", "domain to scan") + Apikey = flag.String("shodan", "", "shadan api key") + Address = flag.String("address", "127.0.0.1", "IP address to bind the web ui server to.") + Dictionary = flag.String("dictionary", "db/apache-list", "File to use for enumeration.") + Verbose = flag.Bool("verbose", false, "Verbosity") ) func init() { @@ -94,7 +95,7 @@ func main() { }() buffer := make([]byte, 500000) // 500K(almost) - file, err := os.Open("db/apache-list") + file, err := os.Open(*Dictionary) if err != nil { log.Fatal().Err(err).Msg("") } diff --git a/db/dict_short.txt b/db/dict_short.txt index aeb6638..49b8c27 100644 --- a/db/dict_short.txt +++ b/db/dict_short.txt @@ -1,44 +1,3 @@ -/!.gitignore -/!.htaccess -/!.htpasswd -/%2e%2e//google.com -/%2e%2e;/test -/%3f/ -/%C0%AE%C0%AE%C0%AF -/%EXT% -/%EXT%.7z -/%EXT%.backup -/%EXT%.bak -/%EXT%.cgi -/%EXT%.conf -/%EXT%.copy -/%EXT%.gz -/%EXT%.htaccess -/%EXT%.js -/%EXT%.json -/%EXT%.log -/%EXT%.old -/%EXT%.original -/%EXT%.php -/%EXT%.py -/%EXT%.rar -/%EXT%.rb -/%EXT%.sql -/%EXT%.swp -/%EXT%.tar -/%EXT%.tgz -/%EXT%.tmp -/%EXT%.txt -/%EXT%.xml -/%EXT%.zip -/%ff -/+CSCOE+/logon.html -/+CSCOE+/session_password.html -/+CSCOT+/oem -/+CSCOT+/oem-customization?app=AnyConnect&type=oem&platform=..&resource-type=..&name=%2bCSCOE%2b/portal_inc.lua -/+CSCOT+/translation -/+CSCOT+/translation-table?type=mst&textdomain=/%2bCSCOE%2b/portal_inc.lua&default-language&lang=../ -/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd /..;/ /.0 /.7z