mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
Applying patch from Brandon Perry via ML
This commit is contained in:
parent
3e65037a05
commit
8853e43616
|
@ -134,7 +134,8 @@ class Task(object):
|
|||
self.set_option("oDir", self.output_directory)
|
||||
|
||||
def clean_filesystem(self):
|
||||
shutil.rmtree(self.output_directory)
|
||||
if self.output_directory:
|
||||
shutil.rmtree(self.output_directory)
|
||||
|
||||
def engine_start(self):
|
||||
self.process = Popen("python sqlmap.py --pickled-options %s" % base64pickle(self.options), shell=True, stdin=PIPE, close_fds=False)
|
||||
|
|
Loading…
Reference in New Issue
Block a user