subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def start_charging(self): """Trigger charging on the vehicle""" try: subprocess.run( f'TESLA_EMAIL="{self.tesla_email}" python3 {self.tesla_skill_dir}/scripts/tesla.py charge start', shell=True, check=True,- Confidence
- 99% confidence
- Finding
- subprocess.run( f'TESLA_EMAIL="{self.tesla_email}" python3 {self.tesla_skill_dir}/scripts/tesla.py charge start', shell=True, check=True,
