mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
Fix for an Issue #851
This commit is contained in:
parent
d4610890ca
commit
2aadfc0fd3
|
@ -164,8 +164,8 @@ class Task(object):
|
||||||
shutil.rmtree(self.output_directory)
|
shutil.rmtree(self.output_directory)
|
||||||
|
|
||||||
def engine_start(self):
|
def engine_start(self):
|
||||||
self.process = Popen("python sqlmap.py --pickled-options %s" % base64pickle(self.options),
|
self.process = Popen(["python", "sqlmap.py", "--pickled-options", base64pickle(self.options)],
|
||||||
shell=True, stdin=PIPE, close_fds=False)
|
shell=False, stdin=PIPE, close_fds=False)
|
||||||
|
|
||||||
def engine_stop(self):
|
def engine_stop(self):
|
||||||
if self.process:
|
if self.process:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user