subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # HEAD check for status code result = subprocess.run( ["curl", "-s", "-o", "/dev/null", "-w", "%{http_code}", "--max-time", "8", "--location", url], capture_output=True, text=True, timeout=12- Confidence
- 92% confidence
- Finding
- result = subprocess.run( ["curl", "-s", "-o", "/dev/null", "-w", "%{http_code}", "--max-time", "8", "--location", url], capture_output=True, text=True, tim
