Tool to test a user account and password (test login)
- by TheCleaner
Yeah, I can fire up a VM or remote into something and try the password...I know...but is there a tool or script that will simulate a login just enough to confirm or deny that the password is correct?
Scenario:
A server service account's password is "forgotten"...but we think we know what it is. I'd like to pass the credentials to something and have it kick back with "correct password" or "incorrect password".
I even thought about a drive mapping script with that user account and password being passed to see if it mapped the drive successfully or not but got lost in the logic of making it work correctly...something like:
-Script asks for username via msgbox
-script asks for password via msgbox
-script tries to map a drive to a common share that everyone has access to
-script unmaps drive if successful
-script returns popup msgbox stating "Correct Password" or else "Incorrect Password"
Any help is appreciated...you'd think this would be a rare occurrence not requiring a tool to support it but...well....