Skip to content

Commit

Permalink
Adding a note to explain a limitation on create_credential_and_login
Browse files Browse the repository at this point in the history
You cannot use the method to create an credentail and a login with the origin type service
unless the service is the same one you want to create the login for
  • Loading branch information
Lance Sanchez committed Sep 30, 2016
1 parent a42a546 commit cceed1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/metasploit/credential/creation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ def create_credential(opts={})
# which ties a {Metasploit::Credential::Core} to the `Mdm::Service` it is a valid
# credential for.
#
# NOTE: for origin_type: service it must be the same service your going to create a login for.
#
# {Metasploit::Credential::Core} options
# @option opts [String] :jtr_format The format for John the ripper to use to try and crack this
# @option opts [Symbol] :origin_type The Origin type we are trying to create
Expand Down

0 comments on commit cceed1b

Please sign in to comment.