mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor fix for command execution via web shell
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user