https://github.com/simsieg/pyinjection
A python tool to find sqli vulnerabilities in python code
https://github.com/simsieg/pyinjection
code-analysis python sqlinjection
Last synced: 10 months ago
JSON representation
A python tool to find sqli vulnerabilities in python code
- Host: GitHub
- URL: https://github.com/simsieg/pyinjection
- Owner: simsieg
- License: other
- Created: 2017-09-14T12:57:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-21T18:39:51.000Z (almost 9 years ago)
- Last Synced: 2025-08-04T12:37:38.678Z (11 months ago)
- Topics: code-analysis, python, sqlinjection
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pyInjection
pyInjection uses various heuristics to look for SQL injection vulnerabilities in python source code.
Based on https://github.com/uber/py-find-injection.
# Usage
```
$ python bin/pyInjection.py --help
usage: pyInjection.py [-h] [-v] [-i INPUT] [-j] [-s] [-q] [files [files ...]]
Look for patterns in python source files that might indicate SQL injection or
other vulnerabilities
positional arguments:
files files to check or '-' for standard in
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-i INPUT, --input INPUT
path to a file containing a list of files to check,
each file in a line
-j, --json print output in JSON
-s, --stdin read from standard in, passed files are ignored
-q, --quiet do not print error statistics
Exit status is 0 if all files are okay, 1 if any files have an error. Found
vulnerabilities are printed to standard out
```