File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/)
4+ # See the file 'LICENSE' for copying permission
5+
6+ find . -wholename " ./thirdparty" -prune -o -type f -iname " *.py" -exec pylint --rcfile=./.pylintrc ' {}' \;
Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.12.44 "
21+ VERSION = "1.4.12.45 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 6060 HTTPCookieProcessor = urllib2 .HTTPCookieProcessor
6161
6262NAME = "identYwaf"
63- VERSION = "1.0.129 "
63+ VERSION = "1.0.131 "
6464BANNER = r"""
6565 ` __ __ `
6666 ____ ___ ___ ____ ______ `| T T` __ __ ____ _____
@@ -509,7 +509,7 @@ def run():
509509
510510 print (colorize ("%s[=] results: '%s'" % ("\n " if IS_TTY else "" , results )))
511511
512- hardness = 100 * results .count ('x' ) / len (results )
512+ hardness = 100 * results .count ('x' ) // len (results )
513513 print (colorize ("[=] hardness: %s (%d%%)" % ("insane" if hardness >= 80 else ("hard" if hardness >= 50 else ("moderate" if hardness >= 30 else "easy" )), hardness )))
514514
515515 if blocked :
@@ -545,7 +545,7 @@ def run():
545545 counter_y += 1
546546 elif any (_ in markers for _ in (part & ~ 1 , part | 1 )):
547547 counter_n += 1
548- result = int (round (100 * counter_y / (counter_y + counter_n )))
548+ result = int (round (100.0 * counter_y / (counter_y + counter_n )))
549549 if SIGNATURES [candidate ] in matches :
550550 if result > matches [SIGNATURES [candidate ]]:
551551 matches [SIGNATURES [candidate ]] = result
You can’t perform that action at this time.
0 commit comments