added asp.net support

This commit is contained in:
delorean 2025-01-12 12:04:14 -06:00
parent 2659c12c0b
commit 2e4a4fd971
2 changed files with 3 additions and 4 deletions

View File

@ -10,11 +10,10 @@ func thread(l *slog.Logger, dests <-chan string, tab chan<- interface{}) {
c := MkClient()
for dest := range dests {
uriloop:
for _, uri := range Paths {
url := "https://" + dest + uri
if err := Hit(l, c, url); err != nil {
break uriloop
break
}
time.Sleep(time.Duration(Conf.Delay) * time.Millisecond)
}

View File

@ -13,7 +13,7 @@ import (
var (
// constants
Patterns = []string{"index of", "directory listing for"}
Patterns = []string{"index of", "directory listing for", "directory listing -- /"}
Ignore = []string{"..", ".", "../", "./", "parent directory", "last modified", "name", "size", "description"}
)
@ -119,7 +119,7 @@ func query(c *fasthttp.Client, url string) (*goquery.Document, string, error) {
// goes to stderr for verbosity, not included when stdout is piped
if !Conf.Silent {
println("->", url)
println("querying", url)
}
var err error