mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
minor adjustments - issue #311
This commit is contained in:
parent
454f2ae10b
commit
75d0cee994
|
@ -15,6 +15,7 @@ from email.mime.text import MIMEText
|
||||||
from email.mime.multipart import MIMEMultipart
|
from email.mime.multipart import MIMEMultipart
|
||||||
|
|
||||||
TIME = time.strftime("%H:%M:%S %d-%m-%Y", time.gmtime())
|
TIME = time.strftime("%H:%M:%S %d-%m-%Y", time.gmtime())
|
||||||
|
SQLMAP_HOME = "/opt/sqlmap"
|
||||||
|
|
||||||
SMTP_SERVER = "127.0.0.1"
|
SMTP_SERVER = "127.0.0.1"
|
||||||
SMTP_PORT = 25
|
SMTP_PORT = 25
|
||||||
|
@ -26,7 +27,7 @@ CONTENT = ""
|
||||||
TEST_COUNTS = []
|
TEST_COUNTS = []
|
||||||
ATTACHMENTS = {}
|
ATTACHMENTS = {}
|
||||||
|
|
||||||
command_line = "cd ../../ ; rm -f $REGRESSION_FILE ; python sqlmap.py --live-test"
|
command_line = "cd %s && python sqlmap.py --live-test" % SQLMAP_HOME
|
||||||
proc = subprocess.Popen(command_line, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
proc = subprocess.Popen(command_line, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
||||||
proc.wait()
|
proc.wait()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user