mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 20:53:27 +08:00
24 lines
506 B
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'
|