mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
fixed stall
This commit is contained in:
@@ -66,10 +66,10 @@ def main():
|
|||||||
test_counts = []
|
test_counts = []
|
||||||
attachments = {}
|
attachments = {}
|
||||||
|
|
||||||
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --update", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --update", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
proc.wait()
|
proc.wait()
|
||||||
|
|
||||||
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --live-test", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --live-test", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
proc.wait()
|
proc.wait()
|
||||||
stdout, stderr = proc.communicate()
|
stdout, stderr = proc.communicate()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user