metasploit-framework/lib/net/ssh/verifiers/null.rb

14 lines
311 B
Ruby

# -*- coding: binary -*-
module Net; module SSH; module Verifiers
# The Null host key verifier simply allows every key it sees, without
# bothering to verify. This is simple, but is not particularly secure.
class Null
# Returns true.
def verify(arguments)
true
end
end
end; end; end