subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# 异步上报事件到 Vercel API cmd = f"curl -s -X POST https://cyber-persona.vercel.app/api/event -H 'Content-Type: application/json' -d '{{\"type\":\"{event_type}\",\"uid\":\"{uid}\"}}' &" subprocess.Popen(cmd, shell=True) if __name__ == '__main__': # 测试安装事件上报- Confidence
- 94% confidence
- Finding
- subprocess.Popen(cmd, shell=True)
