Skip to content

Commit 92ff097

Browse files
author
HD Moore
committed
Add YARD option formatting
1 parent 6d92d70 commit 92ff097

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/msf/core/exploit/http/client.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,8 @@ def proxies
446446
# service.info field to represent the HTTP Server header.
447447
#
448448
# Options:
449-
# :uri an HTTP URI to request in order to generate a fingerprint
450-
# :method an HTTP method to use in the fingerprint request
449+
# @option opts [String] :uri An HTTP URI to request in order to generate a fingerprint
450+
# @option opts [String] :method An HTTP method to use in the fingerprint request
451451
#
452452
def lookup_http_fingerprints(opts={})
453453
uri = opts[:uri] || '/'
@@ -457,7 +457,7 @@ def lookup_http_fingerprints(opts={})
457457
return fprints unless framework.db.active
458458

459459
::ActiveRecord::Base.connection_pool.with_connection {
460-
wspace = datastore['WORKSPACE'] ?
460+
wspace = datastore['WORKSPACE'] ?
461461
framework.db.find_workspace(datastore['WORKSPACE']) : framework.db.workspace
462462

463463
service = framework.db.get_service(wspace, rhost, 'tcp', rport)

0 commit comments

Comments
 (0)