File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 122122from lib .core .settings import PARAMETER_SPLITTING_REGEX
123123from lib .core .settings import PROBLEMATIC_CUSTOM_INJECTION_PATTERNS
124124from lib .core .settings import SITE
125- from lib .core .settings import SOCKET_PRE_CONNECT_QUEUE_SIZE
126125from lib .core .settings import SQLMAP_ENVIRONMENT_PREFIX
127126from lib .core .settings import SUPPORTED_DBMS
128127from lib .core .settings import SUPPORTED_OS
@@ -1028,7 +1027,7 @@ def _():
10281027 while kb .threadContinue :
10291028 try :
10301029 for address in socket ._ready :
1031- if len (socket ._ready [address ]) < SOCKET_PRE_CONNECT_QUEUE_SIZE :
1030+ if len (socket ._ready [address ]) < conf . threads :
10321031 s = socket .socket ()
10331032 s ._connect (address )
10341033 with kb .locks .socket :
Original file line number Diff line number Diff line change 466466# Approximate chunk length (in bytes) used by BigArray objects (only last chunk and cached one are held in memory)
467467BIGARRAY_CHUNK_SIZE = 1024 * 1024
468468
469- # Maximum number of socket pre-connects
470- SOCKET_PRE_CONNECT_QUEUE_SIZE = 3
471-
472469# Only console display last n table rows
473470TRIM_STDOUT_DUMP_SIZE = 256
474471
You can’t perform that action at this time.
0 commit comments