Commit Graph

6 Commits (1e38a5db86b257c3c633a74c1cda8e40eda63209)

Author SHA1 Message Date
David Maloney 0d9fbe798a
turn nil publics and privates into blanks
don't pass nil into the credential object, pass an empty string instead
this is the expected behaviour and avoids stack traces
2014-09-05 16:06:58 -05:00
darkbushido ad6eed01a2
.to_credential now assigns a parent
Metasploit::Credential::Core#to_credential will set the parent to the original core objext
Metasploit::Framework::Credential#to_credential also sets the parent to itself.
2014-07-31 14:52:27 -05:00
Lance Sanchez 6e11a4f789 changing the private_type
chainging trys to show these may all come back nil.

MSP-10658
2014-07-08 11:07:39 -05:00
Lance Sanchez e6f13f6607 reformatting the hash
MSP-10658
2014-07-08 11:07:25 -05:00
David Maloney 38419dae83
fix to_credential on core
the Metasploit::Credential::Core to_credential
method now seats private_type and realm_key correctly
2014-07-07 18:05:04 -05:00
Lance Sanchez b5351eec2b
adding .to_credential
Metasploit::Framework::Credential and Metasploit::Credential::Core
need to be consumable by the login scanners. the easiest way to do this
was to create a shared to_credential method on both that return Metasploit::Framework::Credential

MSP-9912
2014-06-26 11:05:59 -05:00