Adjusted the check_autoboot_status function in long_press.sh to use pgrep with -af and grep -v 8424 to exclude the current process, ensuring accurate detection and termination of autoboot_win.sh on the remote device.
Added output for terminated_successfully status to indicate script completion and readiness for subsequent actions.
Fixes: #123
- 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.