Proper error message

This commit is contained in:
Bernardo Damele 2011-03-04 11:59:09 +00:00
parent 8edc3b3302
commit 7524a0c0cf

View File

@ -235,8 +235,8 @@ class Takeover(Abstraction, Metasploit, ICMPsh, Registry, Miscellaneous):
self.uploadIcmpshSlave(web=web)
self.icmpPwn()
else:
errMsg = "unable to prompt for an out-of-band session via "
errMsg += "the back-end DBMS"
errMsg = "unable to prompt for an out-of-band session because "
errMsg += "stacked queries SQL injection is not supported"
raise sqlmapNotVulnerableException(errMsg)
if tunnel == 1: