mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
More DREI updates
This commit is contained in:
parent
1241a025a2
commit
09aba3b5ce
16 changed files with 65 additions and 36 deletions
3
thirdparty/magic/magic.py
vendored
3
thirdparty/magic/magic.py
vendored
|
|
@ -200,7 +200,7 @@ try:
|
|||
magic_compile.argtypes = [magic_t, c_char_p]
|
||||
|
||||
except (ImportError, OSError):
|
||||
from_file = from_buffer = lambda *args, **kwargs: "unknown"
|
||||
from_file = from_buffer = lambda *args, **kwargs: MAGIC_UNKNOWN_FILETYPE
|
||||
|
||||
MAGIC_NONE = 0x000000 # No flags
|
||||
MAGIC_DEBUG = 0x000001 # Turn on debugging
|
||||
|
|
@ -223,3 +223,4 @@ MAGIC_NO_CHECK_ASCII = 0x020000 # Don't check for ascii files
|
|||
MAGIC_NO_CHECK_TROFF = 0x040000 # Don't check ascii/troff
|
||||
MAGIC_NO_CHECK_FORTRAN = 0x080000 # Don't check ascii/fortran
|
||||
MAGIC_NO_CHECK_TOKENS = 0x100000 # Don't check ascii/tokens
|
||||
MAGIC_UNKNOWN_FILETYPE = "unknown"
|
||||
Loading…
Add table
Add a link
Reference in a new issue