Skip to content
Browse files

minor update

  • Loading branch information...
1 parent 16a298c commit 07a856e68363b2b73e36f04b4d284daad3e49bd1 @stamparm committed Jul 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 dsss.py
View
4 dsss.py
@@ -65,7 +65,7 @@ def scanPage(url):
for dbms in DBMS_ERRORS:
for regex in DBMS_ERRORS[dbms]:
if not vulnerable and re.search(regex, content[HTML], re.I):
- print " (o) parameter '%s' could be SQLi vulnerable! (%s error message)" % (match.group("parameter"), dbms)
+ print " (o) parameter '%s' could be error SQLi vulnerable! (%s error message)" % (match.group("parameter"), dbms)
retVal = vulnerable = True
if not vulnerable:
original = retrieveContent(link)
@@ -83,7 +83,7 @@ def scanPage(url):
ratios = dict([(x, difflib.SequenceMatcher(None, original[TEXT], contents[x][TEXT]).quick_ratio()) for x in (True, False)])
vulnerable = ratios[True] > FUZZY_THRESHOLD and ratios[False] < FUZZY_THRESHOLD
if vulnerable:
- print " (i) parameter '%s' appears to be SQLi vulnerable! (\"%s\")" % (match.group("parameter"), payloads[True])
+ print " (i) parameter '%s' appears to be blind SQLi vulnerable! (\"%s\")" % (match.group("parameter"), payloads[True])
retVal = True
return retVal

0 comments on commit 07a856e

Please sign in to comment.
Something went wrong with that request. Please try again.