subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def run(command: str, timeout: int = 20) -> tuple[int, str, str]: try: proc = subprocess.run( command, shell=True, check=False,- Confidence
- 97% confidence
- Finding
- proc = subprocess.run( command, shell=True, check=False, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
