18 lines
415 B
Bash
18 lines
415 B
Bash
#!/bin/bash
|
|
|
|
# Boot Linux
|
|
etherwake 70:85:c2:d1:40:ef
|
|
|
|
while ! ssh root@192.168.178.80 "pkill autoboot_win.sh"; do # kill autoboot_win script, to stay at Linux
|
|
echo "warte 1 sec."
|
|
sleep 1
|
|
done
|
|
|
|
|
|
# transfer handshakes
|
|
scp /root/handshakes/*.22000 root@192.168.178.80:/root/handshakes/
|
|
|
|
# start crack_handshakes.sh
|
|
ssh root@192.168.178.80 "tmux new-session -d -s crack_handshakes '/root/crack_handshakes.sh'"
|
|
|