- Added debug mode activation to assist in troubleshooting.
- Set the PATH variable explicitly for script robustness.
- Adjusted wake-on-LAN delay to 10 seconds for system stability.
- Implemented function to check and terminate autoboot_win.sh process on the remote device.
- Introduced loop with a 2-minute duration to monitor the status of autoboot_win.sh and handle its termination.
- Included logic to transfer handshakes and initiate crack_handshakes.sh upon successful termination of autoboot_win.sh.
- Provided error handling for cases where autoboot_win.sh cannot be terminated successfully.