Skip to content

Commit 05dfc16

Browse files
committed
Land rapid7#2702, uninit const fix for HttpClient
2 parents 6c8df4b + a32c9e5 commit 05dfc16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def validate_fingerprint()
126126
opts[:pattern].each do |re|
127127
if not re.match(info)
128128
err = "The target server fingerprint \"#{info}\" does not match \"#{re.to_s}\", use 'set FingerprintCheck false' to disable this check."
129-
fail_with(Failure::NotFound, err)
129+
fail_with(::Msf::Module::Failure::NotFound, err)
130130
end
131131
end
132132
end

0 commit comments

Comments
 (0)