Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0feb379 commit 38978c3Copy full SHA for 38978c3
2 files changed
lib/core/common.py
@@ -989,7 +989,7 @@ def checkFile(filename):
989
Checks for file existence
990
"""
991
992
- if not os.path.isfile(filename):
+ if filename is None or not os.path.isfile(filename):
993
raise SqlmapFilePathException("unable to read file '%s'" % filename)
994
995
def banner():
lib/utils/hash.py
@@ -750,6 +750,8 @@ def dictionaryAttack(attack_dict):
750
else:
751
logger.info("using default dictionary")
752
753
+ dictPaths = filter(None, dictPaths)
754
+
755
for dictPath in dictPaths:
756
checkFile(dictPath)
757
0 commit comments