mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor bug fix - issue #112
This commit is contained in:
@@ -259,6 +259,8 @@ class Web:
|
|||||||
|
|
||||||
if "sqlmap file uploader" not in uplPage:
|
if "sqlmap file uploader" not in uplPage:
|
||||||
continue
|
continue
|
||||||
|
else:
|
||||||
|
continue
|
||||||
|
|
||||||
if "<%" in uplPage or "<?" in uplPage:
|
if "<%" in uplPage or "<?" in uplPage:
|
||||||
warnMsg = "file stager uploaded on '%s', " % localPath
|
warnMsg = "file stager uploaded on '%s', " % localPath
|
||||||
@@ -326,7 +328,7 @@ class Web:
|
|||||||
testStr = "command execution test"
|
testStr = "command execution test"
|
||||||
output = self.webBackdoorRunCmd("echo %s" % testStr)
|
output = self.webBackdoorRunCmd("echo %s" % testStr)
|
||||||
|
|
||||||
if testStr in output:
|
if output and testStr in output:
|
||||||
infoMsg = "the backdoor has been successfully "
|
infoMsg = "the backdoor has been successfully "
|
||||||
else:
|
else:
|
||||||
infoMsg = "the backdoor has probably been successfully "
|
infoMsg = "the backdoor has probably been successfully "
|
||||||
|
|||||||
Reference in New Issue
Block a user