mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Patch for an Issue #28
This commit is contained in:
parent
41d6c1af82
commit
192a911b76
|
@ -669,6 +669,15 @@ def _setMetasploit():
|
|||
msfEnvPathExists = False
|
||||
|
||||
if IS_WIN:
|
||||
try:
|
||||
import win32file
|
||||
except ImportError:
|
||||
errMsg = "sqlmap requires third-party module 'pywin32' "
|
||||
errMsg += "in order to use Metasploit functionalities on "
|
||||
errMsg += "Windows. You can download it from "
|
||||
errMsg += "'http://sourceforge.net/projects/pywin32/files/pywin32/'"
|
||||
raise SqlmapMissingDependence(errMsg)
|
||||
|
||||
if not conf.msfPath:
|
||||
def _(key, value):
|
||||
retVal = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user