File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 items = list ()
1515
1616 with open (sys .argv [1 ], 'r' ) as f :
17- for item in f . readlines () :
17+ for item in f :
1818 item = item .strip ()
1919 try :
2020 str .encode (item )
Original file line number Diff line number Diff line change @@ -2293,7 +2293,7 @@ def initCommonOutputs():
22932293 key = None
22942294
22952295 with openFile (paths .COMMON_OUTPUTS , 'r' ) as f :
2296- for line in f . readlines (): # xreadlines doesn't return unicode strings when codec.open() is used
2296+ for line in f :
22972297 if line .find ('#' ) != - 1 :
22982298 line = line [:line .find ('#' )]
22992299
Original file line number Diff line number Diff line change 1818from thirdparty import six
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.5.47 "
21+ VERSION = "1.3.5.48 "
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 )
You can’t perform that action at this time.
0 commit comments