Skip to content

Commit 4194453

Browse files
author
Simon Siegert
committed
Rename, fix Readme
1 parent f22e88e commit 4194453

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
`py_find_injection` uses various heuristics to look for SQL injection vulnerabilities in python source code.
1+
2+
# Py_find_injection
3+
4+
Py_find_injection uses various heuristics to look for SQL injection vulnerabilities in python source code.
5+
6+
Based on https://github.com/uber/py-find-injection.
7+
8+
9+
# Usage
10+
``` shell
11+
python bin/py_find_injection.py tests/samples/bad_script.py
12+
```

py_find_injection/__init__.py renamed to bin/py_find_injection.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
import ast
55
import sys
66

7-
version_info = (0, 1, 1)
8-
__version__ = '0.1.1+dd.4'
9-
7+
version_info = (0, 1, 2)
8+
__version__ = '.'.join(map(str, version_info))
109

1110
def stringify(node):
1211
if isinstance(node, ast.Name):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="py-find-injection",
6-
version="0.1.1+dd.4",
6+
version="0.1.2",
77
author="James Brown",
88
author_email="jbrown@uber.com",
99
url="https://github.com/uber/py-find-injection",

0 commit comments

Comments
 (0)