Avoid waiting 30 seconds when cleaning up the dbms and file system from sqlmap data

This commit is contained in:
Bernardo Damele
2010-10-29 13:09:53 +00:00
parent 963fcb57b6
commit a0df231aa4
3 changed files with 8 additions and 7 deletions

View File

@@ -153,7 +153,8 @@ class Takeover(Abstraction, Metasploit, ICMPsh, Registry, Miscellaneous):
errMsg += "is unlikely to receive commands send from you"
logger.error(errMsg)
self.sysUdfs.pop("sys_bineval")
if kb.dbms in ( "MySQL", "PostgreSQL" ):
self.sysUdfs.pop("sys_bineval")
if kb.stackedTest or conf.direct:
web = False