subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # 使用 curl 抓取 HTML result = subprocess.run( ['curl', '-s', '-A', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '--max-time', '30', '-L', target_url], capture_output=True, text=True, timeout=35- Confidence
- 80% confidence
- Finding
- result = subprocess.run( ['curl', '-s', '-A', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', '--max-time', '30', '-L', target_url], captu
