Skip to content

Commit

Permalink
Merge pull request #9 from liamg/liamg-add-vhost-scanning
Browse files Browse the repository at this point in the history
Remove status code from VHOST output
  • Loading branch information
liamg authored Jan 12, 2020
2 parents 78cdd94 + 6800d98 commit 536a0e8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@ $ scout vhost https://google.com
[+] Port -
[+] Using SSL true

[302] account.google.com
[302] accounts.google.com
[301] blog.google.com
[200] code.google.com
[301] dev.google.com
[302] local.google.com
[302] m.google.com
[301] mail.google.com
[301] mobile.google.com
[200] www.google.com
[301] admin.google.com
[302] chat.google.com
account.google.com
accounts.google.com
blog.google.com
code.google.com
dev.google.com
local.google.com
m.google.com
mail.google.com
mobile.google.com
www.google.com
admin.google.com
chat.google.com

Scan complete. 12 results found.

Expand Down
2 changes: 1 addition & 1 deletion cmd/scout/vhost.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ var vhostCmd = &cobra.Command{

go func() {
for result := range resultChan {
importantOutputChan <- tml.Sprintf("<blue>[</blue><yellow>%d</yellow><blue>]</blue> %s\n", result.StatusCode, result.VHOST)
importantOutputChan <- tml.Sprintf("%s\n", result.VHOST)
}
close(waitChan)
}()
Expand Down

0 comments on commit 536a0e8

Please sign in to comment.