56ad5662ac8683ec8bfc7ba3c1c8c8cf40867b2b
mktemp creates the file before ssh-keygen runs — keygen sees it exists and prompts. Switch to mktemp -d so keygen writes a fresh file. When run via sudo SUDO_USER is set but HOME=/root. Resolve the real home via getent so the key lands in the operator's ~/.ssh, not root's.
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%