mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Added more output for debugging
This commit is contained in:
parent
a75530e96b
commit
e93f49eb82
3 changed files with 21 additions and 8 deletions
|
|
@ -57,7 +57,7 @@ var scanCmd = &cobra.Command{
|
|||
if threads <= 0 {
|
||||
threads = mathutil.Clamp(len(hostsToScan), 1, 255)
|
||||
}
|
||||
probeStates := magellan.ScanForAssets(hostsToScan, portsToScan, threads, timeout, disableProbing)
|
||||
probeStates := magellan.ScanForAssets(hostsToScan, portsToScan, threads, timeout, disableProbing, verbose)
|
||||
if verbose {
|
||||
for _, r := range probeStates {
|
||||
fmt.Printf("%s:%d (%s)\n", r.Host, r.Port, r.Protocol)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue