Skip to content

Commit f13d91f

Browse files
committed
Fix a prob of printing an empty rhost from the scanner mixin
1 parent e8304e6 commit f13d91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/symantec_brightmail_ldapcreds.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def initialize(info = {})
5454
end
5555

5656
def print_status(msg='')
57-
super("#{peer} - #{msg}")
57+
super(rhost ? "#{peer} - #{msg}" : msg)
5858
end
5959

6060
def print_good(msg='')

0 commit comments

Comments
 (0)