We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41d6c1a commit 192a911Copy full SHA for 192a911
1 file changed
lib/core/option.py
@@ -669,6 +669,15 @@ def _setMetasploit():
669
msfEnvPathExists = False
670
671
if IS_WIN:
672
+ try:
673
+ import win32file
674
+ except ImportError:
675
+ errMsg = "sqlmap requires third-party module 'pywin32' "
676
+ errMsg += "in order to use Metasploit functionalities on "
677
+ errMsg += "Windows. You can download it from "
678
+ errMsg += "'http://sourceforge.net/projects/pywin32/files/pywin32/'"
679
+ raise SqlmapMissingDependence(errMsg)
680
+
681
if not conf.msfPath:
682
def _(key, value):
683
retVal = None
0 commit comments