Adds invalid exception class

adds an invalid exception class to the
LoginScanner namespace.

MSP-9683
namespace change to Metasploit

chaning the code to live in the namespace of
Metasploit::Framework instead of Msf::Auxiliary

MSP-9683
specs for port validation

created specs for port validation

MSP-9683
add host validations to ssh scanner

add validations to the :host attribute
on the SSH LoginScanner
add validations for cred_details

Adds validator for the cred_details
attribute on the SSH Login Scanner.
Makes sure propper input is always supplied
for the scanner.
last of the validations

finalized validation for SSH lgoinscanner
Merge branch 'master' into feature/ssh_login_scanner
Add more attributes and validations

Added some more attributes neccesary
for the actual running of the login scan
as well as accompanying validations and
specs
SSH connection exception handling

added in the exception handling
around the Net::SSH conenction
in attempt_login
basic login attempt functionality

groundowkr now layed for trying
authentication attempts on the
SSH LoginScanner, with test coverage
fix host validation

host validation was buggy, fixed it
do not create sessions with scanner

the session creation behaviour is
currently inextricably linked to module
behaviour. We will have our scanner class
only return success status. The calling module
will be responsible for opening sessions afterwards.
add loginscanner result class

add a result class to have more
tightly defined return values from
the loginscanner classes
refactor to use Result class

we now use a Result class to handle
all result codes from the login attempt
dd tests for #scan!

the scan! method is mostly done
and has unit tests
add CredDetail class

rather than passing dumb hashes around
added a CredDetail class that comes
with it's own conditional validations
allow for balnk passwords

have to alter validation slightly
to allow for blank passwords
use the CredDetail class

now that we have the new CredDetail
class, use it instead of hashes
move requires into module

move all the requires into the LoginScanner
module area to clean up requires
Merge branch 'staging/electro_release' into feature/ssh_login_scanner