Skip to content

Instantly share code, notes, and snippets.

@szymon1118
Created September 6, 2019 14:18
Show Gist options
  • Save szymon1118/5551629ea7d6bce5e965bd45c354461f to your computer and use it in GitHub Desktop.
Save szymon1118/5551629ea7d6bce5e965bd45c354461f to your computer and use it in GitHub Desktop.
Simple example of executing hashcat in background.
#!/bin/bash
./hashcat64.bin -b > /dev/null 2>&1 &
HC_PID=$!
echo "Waiting for hashcat process to finish..."
wait $HC_PID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment