nuclei-templates/file/logs/python-app-sql-exceptions.yaml

24 lines
506 B
YAML

id: python-app-sql-exceptions
info:
name: Python App SQL Exception Check
description: Generic check for SQL exceptions in Python according to PEP 249
reference: https://www.python.org/dev
author: geeknik
severity: medium
tags: file,logs,python,sql
file:
- extensions:
- all
extractors:
- type: regex
name: exception
part: body
regex:
- 'DataError'
- 'IntegrityError'
- 'ProgrammingError'
- 'OperationalError'