Skip to content

Commit

Permalink
Merge pull request #203 from projectdiscovery/fix-output
Browse files Browse the repository at this point in the history
Fixed an issue with verbose mode and output without nW
  • Loading branch information
Ice3man543 authored Dec 15, 2019
2 parents ab7fc96 + f61bade commit 5a7ecb6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkg/runner/enumerate.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,14 @@ func (r *Runner) EnumerateSingleDomain(domain, output string) error {
// If verbose mode was used, then now print all the
// found subdomains on the screen together.
if r.options.Verbose {
for result := range foundResults {
log.Silentf("%s\n", result)
if r.options.RemoveWildcard {
for result := range foundResults {
log.Silentf("%s\n", result)
}
} else {
for result := range uniqueMap {
log.Silentf("%s\n", result)
}
}
}

Expand Down

0 comments on commit 5a7ecb6

Please sign in to comment.