mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-19 12:33:20 +03:00
tentative fix for stall
This commit is contained in:
parent
8f36f92dd3
commit
8912436c68
|
@ -66,9 +66,10 @@ def main():
|
||||||
test_counts = []
|
test_counts = []
|
||||||
attachments = {}
|
attachments = {}
|
||||||
|
|
||||||
command_line = "python /opt/sqlmap/sqlmap.py --update ; python /opt/sqlmap/sqlmap.py --live-test"
|
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --update", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
proc = subprocess.Popen(command_line, 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()
|
proc.wait()
|
||||||
stdout, stderr = proc.communicate()
|
stdout, stderr = proc.communicate()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user