mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Couple of minor patches
This commit is contained in:
parent
dccc837703
commit
da86486cd9
8 changed files with 18 additions and 14 deletions
3
thirdparty/magic/magic.py
vendored
3
thirdparty/magic/magic.py
vendored
|
|
@ -117,7 +117,6 @@ try:
|
|||
pass
|
||||
|
||||
if not libmagic or not libmagic._name:
|
||||
import sys
|
||||
platform_to_lib = {'darwin': ['/opt/local/lib/libmagic.dylib',
|
||||
'/usr/local/lib/libmagic.dylib',
|
||||
'/usr/local/Cellar/libmagic/5.10/lib/libmagic.dylib'],
|
||||
|
|
@ -223,4 +222,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 = b"unknown"
|
||||
MAGIC_UNKNOWN_FILETYPE = b"unknown"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue