File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ def retrieve():
416416 conf .googlePage += 1
417417
418418def _setStdinPipeTargets ():
419- if isinstance (conf .stdinPipe , _collections .Iterable ) and not conf . testing :
419+ if isinstance (conf .stdinPipe , _collections .Iterable ):
420420 infoMsg = "using 'STDIN' for parsing targets list"
421421 logger .info (infoMsg )
422422
Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.5.9.13 "
23+ VERSION = "1.5.9.14 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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 @@ -1063,7 +1063,7 @@ def _format_action_invocation(self, action):
10631063 if args .dummy :
10641064 args .url = args .url or DUMMY_URL
10651065
1066- if hasattr (sys .stdin , "fileno" ) and not os .isatty (sys .stdin .fileno ()) and '-' not in sys .argv :
1066+ if hasattr (sys .stdin , "fileno" ) and not os .isatty (sys .stdin .fileno ()) and '-' not in sys .argv and "--testing" not in sys . argv :
10671067 args .stdinPipe = iter (sys .stdin .readline , None )
10681068 else :
10691069 args .stdinPipe = None
You can’t perform that action at this time.
0 commit comments