mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Fix for an Issue #114
This commit is contained in:
parent
0a4b6431a8
commit
1b6cb9442f
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue
Block a user