Tainted flow: 'video_url' from requests.get (line 181, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
try: if "v.douyin.com" in video_url: print(f"检测到短链,正在解析真实地址:{video_url}") resp = requests.get(video_url, allow_redirects=True, timeout=10, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'}) video_url = resp.url print(f"短链已解析为真实链接:{video_url}")- Confidence
- 87% confidence
- Finding
- resp = requests.get(video_url, allow_redirects=True, timeout=10, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'})
