mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
fix for a bug noticed in a multi target run (log files weren't saved properly - removed buffering as it didn't produce any noticeable results)
This commit is contained in:
@@ -34,7 +34,6 @@ from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
from lib.core.data import paths
|
||||
from lib.core.dump import dumper
|
||||
from lib.core.common import unhandledExceptionMessage
|
||||
from lib.core.exception import exceptionsTuple
|
||||
from lib.core.exception import sqlmapSilentQuitException
|
||||
@@ -123,8 +122,6 @@ def main():
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
dumper.flush()
|
||||
|
||||
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program
|
||||
if conf.get("threads", 0) > 1 or conf.get("dnsServer", None):
|
||||
os._exit(0)
|
||||
|
||||
Reference in New Issue
Block a user