Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66061e8

Browse files
committed
Fixes #1811
1 parent c4b74c2 commit 66061e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/controller/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def start():
521521
injection = checkSqlInjection(place, parameter, value)
522522
proceed = not kb.endDetection
523523

524-
if injection is not None and injection.place is not None:
524+
if getattr(injection, "place", None) is not None:
525525
kb.injections.append(injection)
526526

527527
# In case when user wants to end detection phase (Ctrl+C)

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from lib.core.revision import getRevisionNumber
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.0.4.17"
23+
VERSION = "1.0.4.18"
2424
REVISION = getRevisionNumber()
2525
STABLE = VERSION.count('.') <= 2
2626
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)