Land #6599, fix silent failures in aux HttpServers

bug/bundler_fix
James Lee 2016-02-22 08:41:11 -06:00
commit 56fed01ff0
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ module Exploit::Remote::HttpServer
end
def print_prefix
if cli && !aggressive?
if cli && (respond_to?(:aggressive) && !aggressive?)
super + "#{cli.peerhost.ljust(16)} #{self.shortname} - "
else
super