Minor adjustment to UNION query SQL injection detection function.

Updated command line help message based upon recent developments.
Updated copyright note of lib/contrib/multipartpost.py.
This commit is contained in:
Bernardo Damele
2008-12-21 16:35:03 +00:00
parent 996a872e51
commit 35708a0b97
5 changed files with 20 additions and 17 deletions

View File

@@ -72,9 +72,9 @@ def comparison(page, headers=None, getSeqMatcher=False):
conf.seqMatcher.set_seq2(page)
if getSeqMatcher:
return round(conf.seqMatcher.ratio(), 5)
return round(conf.seqMatcher.ratio(), 3)
elif round(conf.seqMatcher.ratio(), 5) >= MATCH_RATIO:
elif round(conf.seqMatcher.ratio(), 3) >= MATCH_RATIO:
return True
else: