Skip to content

Conversation

@catenamatteo
Copy link

Bash snippet to launch powerspy.py before a process X to monitor, and to kill powerspy.py after X has terminated.

Example:

PS_PID=$(launchPowerSpy "12-34-56-78-9A-BC" "0.2" "output_file.txt")
# start (possibly remote) process X here
killPowerSpy $PS_PID

Snippet to launch powerspy.py before a process X to monitor, and to kill powerspy.py after X has terminated.

Example:
```bash
PS_PID=$(launchPowerSpy !12-34-56-78-9A-BC" "0.2" "output_file.txt")
# start (possibly remote) process X here
killPowerSpy $PS_PID
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants