subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if args.remote and args.remote_cmd: import subprocess try: result = subprocess.run( args.remote_cmd.split() + [os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "platforms", "detect.py"), "--json"], capture_output=True, text=True, timeout=10 )- Confidence
- 93% confidence
- Finding
- result = subprocess.run( args.remote_cmd.split() + [os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "platforms", "detect.py"), "--json"],
