Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
firefart committed Apr 26, 2021
1 parent 64eb67b commit f6e0a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gobustervhost/gobustervhost.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ func (v *GobusterVhost) Run(ctx context.Context, word string, resChannel chan<-
// subdomain must not match default vhost and non existent vhost
// or verbose mode is enabled
found := !bytes.Equal(body, v.baseline1) && !bytes.Equal(body, v.baseline2)
if found || !helper.SliceContains(v.options.ExcludeLength, int(size)) || v.globalopts.Verbose {
if found || v.globalopts.Verbose {
resultStatus := false
if found || !helper.SliceContains(v.options.ExcludeLength, int(size)) {
if found && !helper.SliceContains(v.options.ExcludeLength, int(size)) {
resultStatus = true
}
resChannel <- Result{
Expand Down

0 comments on commit f6e0a28

Please sign in to comment.