Last active
June 5, 2023 01:50
-
-
Save timsonner/51598871e230a0289604e9630820ade6 to your computer and use it in GitHub Desktop.
Batch. Run “net user /domain > users.txt”. Remove the first 6 lines of users.txt, then the last line and finally run this script. Drop it into pass-spray.go.
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
| @echo off | |
| if "%~1" == "" ( | |
| echo Usage: %0 users.txt | |
| exit /b 1 | |
| ) | |
| for /f "usebackq tokens=1,2,3*" %%A in (%1) do ( | |
| echo %%A | |
| echo %%B | |
| echo %%C | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment