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

Skip to content

Commit c395958

Browse files
committed
Fixes #1888
1 parent 798b539 commit c395958

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/controller/checks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,8 @@ def genCmpPayload():
710710

711711
if not checkFalsePositives(injection):
712712
kb.vulnHosts.remove(conf.hostname)
713-
injection.notes.add(NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE)
713+
if NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE not in injection.notes:
714+
injection.notes.append(NOTE.FALSE_POSITIVE_OR_UNEXPLOITABLE)
714715

715716
else:
716717
injection = None

lib/core/datatype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(self):
9191
self.prefix = None
9292
self.suffix = None
9393
self.clause = None
94-
self.notes = set()
94+
self.notes = [] # Note: https://github.com/sqlmapproject/sqlmap/issues/1888
9595

9696
# data is a dict with various stype, each which is a dict with
9797
# all the information specific for that stype

lib/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.53"
22+
VERSION = "1.0.5.54"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
@@ -533,7 +533,7 @@
533533
HASHDB_END_TRANSACTION_RETRIES = 3
534534

535535
# Unique milestone value used for forced deprecation of old HashDB values (e.g. when changing hash/pickle mechanism)
536-
HASHDB_MILESTONE_VALUE = "zYwqRDymvj" # "".join(random.sample(string.ascii_letters, 10))
536+
HASHDB_MILESTONE_VALUE = "ERqvmQHalF" # "".join(random.sample(string.ascii_letters, 10))
537537

538538
# Warn user of possible delay due to large page dump in full UNION query injections
539539
LARGE_OUTPUT_THRESHOLD = 1024 ** 2

0 commit comments

Comments
 (0)