How to verify Windows credential using command line

HI All,

We were working on some assignment where we had requirement to verify the credential using command line

After fighting a lot with net command I came to conclusion that we can map a domain default share using net use command.

So simple script which try to authenticate with given credential to domain using net use.


Note :- password is not masked in script.

Sample Output :-



Post a Comment

Popular posts from this blog

Contact US

OverTheWire Natas Solution Level 1-10

The Story of Blind SSRF leads to internal Host discovery.