subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
start_time = datetime.datetime.now() try: if detected_shell_type == "powershell": result = subprocess.run( [shell_executable, "-Command", command], cwd=cwd, env=env,- Confidence
- 89% confidence
- Finding
- result = subprocess.run( [shell_executable, "-Command", command], cwd=cwd, env=env, capture_output=capture_output,
