mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 05:23:19 -07:00
new: improved syn.scan module performances when scanning multiple addresses
This commit is contained in:
parent
aea68460c8
commit
070708c307
4 changed files with 60 additions and 34 deletions
|
@ -38,7 +38,8 @@ func httpGrabber(mod *SynScanner, ip string, port int) string {
|
|||
},
|
||||
}
|
||||
|
||||
if port == 443 || port == 8443 {
|
||||
sport := fmt.Sprintf("%d", port)
|
||||
if strings.Contains(sport, "443") {
|
||||
schema = "https"
|
||||
client = &http.Client{
|
||||
Timeout: timeout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue