5 Commits

Author SHA1 Message Date
Michael Haider
2d5f72ad40 Fix check_autoboot_status to correctly identify and terminate autoboot_win.sh without including current SSH session process.
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
2024-06-19 17:36:04 +02:00
111d73273a Enhanced long_press.sh script for better control and monitoring
- 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.
2024-06-14 20:34:36 +02:00
cafe58aecf Refactored cracking process in crack_handshakes.sh
- 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.
2024-06-14 20:33:47 +02:00
bcfd3283b8 Adjust sleep duration and add reboot notification
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
2024-06-14 20:22:29 +02:00
85d046ce8c Initialer Commit: Hinzufügen von Shell-Skripten 2024-06-09 12:20:59 +02:00