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.
- Updated paths and variables for improved organization and clarity.
- Changed wordlist to a larger one located at /media/michaelis/Games/Wordlists/fucking_big_WPA.txt.
- Modified session_file path to /root/.hashcat/sessions/hashcat.restore for consistency.
- Added functions for uploading handshakes to Nextcloud and processing individual handshakes.
- Introduced notifications for starting and cracking handshakes using curl commands.
- Integrated hashcat session restore functionality with notification upon restoration.
Extended sleep duration from 30 seconds to 40 seconds for stability.
Updated reboot command to use full paths (/usr/sbin/grub-reboot 2 and /usr/sbin/reboot) for clarity and reliability.
Added a curl command to send a notification indicating booting into Windows.
Changes:
- Increased sleep duration from 30s to 40s.
- Updated reboot command to use full paths.
- Added curl command to notify reboot to Windows.
Commit: 4c8d07e