File tree 3 files changed +10
-4
lines changed
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 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.4.12.44 "
21
+ VERSION = "1.4.12.45 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
VERSION_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 60
60
HTTPCookieProcessor = urllib2 .HTTPCookieProcessor
61
61
62
62
NAME = "identYwaf"
63
- VERSION = "1.0.129 "
63
+ VERSION = "1.0.131 "
64
64
BANNER = r"""
65
65
` __ __ `
66
66
____ ___ ___ ____ ______ `| T T` __ __ ____ _____
@@ -509,7 +509,7 @@ def run():
509
509
510
510
print (colorize ("%s[=] results: '%s'" % ("\n " if IS_TTY else "" , results )))
511
511
512
- hardness = 100 * results .count ('x' ) / len (results )
512
+ hardness = 100 * results .count ('x' ) // len (results )
513
513
print (colorize ("[=] hardness: %s (%d%%)" % ("insane" if hardness >= 80 else ("hard" if hardness >= 50 else ("moderate" if hardness >= 30 else "easy" )), hardness )))
514
514
515
515
if blocked :
@@ -545,7 +545,7 @@ def run():
545
545
counter_y += 1
546
546
elif any (_ in markers for _ in (part & ~ 1 , part | 1 )):
547
547
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 )))
549
549
if SIGNATURES [candidate ] in matches :
550
550
if result > matches [SIGNATURES [candidate ]]:
551
551
matches [SIGNATURES [candidate ]] = result
You can’t perform that action at this time.
0 commit comments