mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
minor fix for command execution via web shell
This commit is contained in:
parent
fe0ff6e679
commit
be6767b3b0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user