mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fix for an Issue #114
This commit is contained in:
@@ -865,7 +865,7 @@ def checkFile(filename):
|
||||
Checks for file existence
|
||||
"""
|
||||
|
||||
if not os.path.exists(filename):
|
||||
if not os.path.isfile(filename):
|
||||
raise sqlmapFilePathException, "unable to read file '%s'" % filename
|
||||
|
||||
def banner():
|
||||
|
||||
Reference in New Issue
Block a user