minor fix for command execution via web shell

This commit is contained in:
Bernardo Damele 2014-02-10 09:59:57 +00:00
parent fe0ff6e679
commit be6767b3b0

View File

@ -235,6 +235,7 @@ class Web:
if "sqlmap file uploader" in uplPage:
uploaded = True
break
# Fall-back to UNION queries file upload technique
if not uploaded:
@ -273,6 +274,8 @@ class Web:
if "sqlmap file uploader" in uplPage:
uploaded = True
break
if not uploaded:
self.webBaseUrl = "%s://%s:%d/" % (conf.scheme, conf.hostname, conf.port)
self.webStagerUrl = os.path.join(self.webBaseUrl, stagerName)