We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 454f2ae commit 75d0ceeCopy full SHA for 75d0cee
extra/shutils/regressiontest.py
@@ -15,6 +15,7 @@
15
from email.mime.multipart import MIMEMultipart
16
17
TIME = time.strftime("%H:%M:%S %d-%m-%Y", time.gmtime())
18
+SQLMAP_HOME = "/opt/sqlmap"
19
20
SMTP_SERVER = "127.0.0.1"
21
SMTP_PORT = 25
@@ -26,7 +27,7 @@
26
27
TEST_COUNTS = []
28
ATTACHMENTS = {}
29
-command_line = "cd ../../ ; rm -f $REGRESSION_FILE ; python sqlmap.py --live-test"
30
+command_line = "cd %s && python sqlmap.py --live-test" % SQLMAP_HOME
31
proc = subprocess.Popen(command_line, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
32
33
proc.wait()
0 commit comments