added asp.net support
This commit is contained in:
parent
2659c12c0b
commit
2e4a4fd971
@ -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)
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user