subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
elif cmd not in crontab_new: crontab_new += cmd + "\n" subprocess.run(["crontab", "-"], input=crontab_new, text=True) return True def handle_memory_event(event: str):- Confidence
- 96% confidence
- Finding
- subprocess.run(["crontab", "-"], input=crontab_new, text=True)
