mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
minor bug fix - issue #112
This commit is contained in:
parent
95e0d46e3e
commit
0a4b6431a8
|
@ -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 "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user