Skip to content

Commit

Permalink
remove println statements
Browse files Browse the repository at this point in the history
  • Loading branch information
x90skysn3k committed Feb 23, 2024
1 parent 0340959 commit 65104a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions brutespray/brutespray.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ func Execute() {
}
hostsList = append(hostsList, host...)
}
fmt.Println(hostsList)

supportedServices := getSupportedServices(*serviceType)

Expand All @@ -96,15 +95,13 @@ func Execute() {
if h.Service == service {
users, passwords := modules.GetUsersAndPasswords(&h, *user, *password, version)
totalCombinations += modules.CalcCombinations(users, passwords)
fmt.Println(totalCombinations)
if service == "vnc" || service == "snmp" {
_, passwords := modules.GetUsersAndPasswords(&h, *user, *password, version)
totalCombinations += modules.CalcCombinationsPass(passwords)
}
}
}
}

bar, _ := pterm.DefaultProgressbar.WithTotal((totalCombinations) - nopassServices).WithTitle("Bruteforcing...").Start()
var wg sync.WaitGroup
var bruteForceWg sync.WaitGroup
Expand Down

0 comments on commit 65104a4

Please sign in to comment.