mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor patch (drei)
This commit is contained in:
@@ -1808,7 +1808,7 @@ def getFileType(filePath):
|
||||
finally:
|
||||
desc = getText(desc)
|
||||
|
||||
if desc == magic.MAGIC_UNKNOWN_FILETYPE:
|
||||
if desc == getText(magic.MAGIC_UNKNOWN_FILETYPE):
|
||||
content = openFile(filePath, "rb", encoding=None).read()
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user