File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from thirdparty import six
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.10.10.7 "
23+ VERSION = "1.10.10.8 "
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 @@ -268,9 +268,10 @@ def _thread():
268268
269269 os .environ ["SQLMAP_UNSAFE_EVAL" ] = '1'
270270
271- # bounded well above the slowest known entry (GraphQL, ~96s) - a hung entry fails fast and
272- # visibly instead of silently burning the whole CI job's timeout (see #6129 CI investigation)
273- output = shellExec (cmd , timeout = 180 )
271+ # GraphQL blind-dumps every table, including the wide LDAP directory fixture. It takes
272+ # ~124s locally on PyPy and can exceed 180s on CI; give that entry more room without
273+ # weakening its checks or changing the watchdog for the remaining entries (see #6129).
274+ output = shellExec (cmd , timeout = 300 if "--graphql" in options else 180 )
274275
275276 if not all ((check in output if not check .startswith ('~' ) else check [1 :] not in output ) for check in checks ) or "unhandled exception" in output :
276277 dataToStdout ("---\n \n $ %s\n " % cmd )
You can’t perform that action at this time.
0 commit comments