a9d43ce4d3df948b91afe579ea61f8ba04e5a5e1
When systemd sends SIGTERM, asyncio cancels the scan task before BleakScanner.__aexit__ runs. BlueZ already stopped discovery by then, so stop() throws 'No discovery started'. This was crashing the service and triggering a 22-restart loop before systemd settled. Catch the specific error string and treat it as a debug-level no-op.
Description
Network drop implant — passive SOC + active exploitation. Deploy on any Debian host.
Languages
Python
89.2%
Shell
8.5%
HTML
1.1%
C
0.9%
Jinja
0.3%