Last active
August 9, 2016 19:18
-
-
Save Phrozyn/7e62e401638b8ad2ceff38fc53cd4b69 to your computer and use it in GitHub Desktop.
Bash wrapper for rdpy - first try, will try nested loops next
This file contains 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
#!/bin/bash | |
rdpHost=(10.0.0.1:3389 10.0.0.2:3389) | |
for i in ${rdpHost[@]}; do | |
echo ${i} >> testcredresult.txt | |
python rdpy/bin/rdpy-rdpclient.py -k en -u <username> -p <password> ${i} >> testcredresult.txt 2>&1 | |
sleep 10 | |
done | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment