mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fixes #1243
This commit is contained in:
parent
18e62fd507
commit
4b2ff4339a
|
@ -32,6 +32,7 @@ from lib.core.enums import PART_RUN_CONTENT_TYPES
|
|||
from lib.core.exception import SqlmapConnectionException
|
||||
from lib.core.log import LOGGER_HANDLER
|
||||
from lib.core.optiondict import optDict
|
||||
from lib.core.settings import IS_WIN
|
||||
from lib.core.subprocessng import Popen
|
||||
from thirdparty.bottle.bottle import error as return_error
|
||||
from thirdparty.bottle.bottle import get
|
||||
|
@ -155,7 +156,7 @@ class Task(object):
|
|||
|
||||
def engine_start(self):
|
||||
self.process = Popen(["python", "sqlmap.py", "--pickled-options", base64pickle(self.options)],
|
||||
shell=False, stdin=PIPE, close_fds=True)
|
||||
shell=False, stdin=PIPE, close_fds=not IS_WIN)
|
||||
|
||||
def engine_stop(self):
|
||||
if self.process:
|
||||
|
|
Loading…
Reference in New Issue
Block a user