Created
March 21, 2022 15:49
-
-
Save pry0cc/6015a95c407cf888aac23a456c6e2ebb to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
protocols=("ssh" "ftp" "telnet" "netbios-ssn" "ms-wbt-server" "vnc") | |
for protocol in "${protocols[@]}" | |
do | |
mkdir -p "proto/$protocol" | |
users="usernames/generic.txt" | |
passes="passwords/generic.txt" | |
if [[ -f "usernames/$protocol.txt" ]]; then | |
users="usernames/$protocol.txt" | |
fi | |
#if [[ "$protocol" == "rdp" || "$protocol" == "smb" ]]; then | |
# users="usernames/windows.txt" | |
# passes="passwords/windows.txt" | |
#fi | |
./gorgo.py -x "$1" --protocols $protocol -U "$users" -P "$passes" --generate -o "proto/$protocol/combinations.csv" | |
cat "proto/$protocol/combinations.csv" >> combos.csv | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment