mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor patch (drei)
This commit is contained in:
parent
b9151ca5c5
commit
98cf790eab
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue