tentative fix for stall

This commit is contained in:
Bernardo Damele 2013-01-29 16:30:59 +00:00
parent 8f36f92dd3
commit 8912436c68

View File

@ -66,9 +66,10 @@ def main():
test_counts = []
attachments = {}
command_line = "python /opt/sqlmap/sqlmap.py --update ; python /opt/sqlmap/sqlmap.py --live-test"
proc = subprocess.Popen(command_line, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --update", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
proc.wait()
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --live-test", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
proc.wait()
stdout, stderr = proc.communicate()