Under windows, the following command will combine all combinations of two passwords into a new file, using a plain text file as input with line-seperated passwords.
for /F "tokens=*" %i in (passwords.txt) do @(
for /F "tokens=*" %j in (passwords.txt) do
@echo %i%j
)>> combinations.txt