Attention
Zercurity has been acquired by JumpCloud.
This documentation will no longer be maintained or updated. You can read more about the acquisition, or signup to JumpCloud today.
magic¶
Magic number recognition library table.
Platform support¶
Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: magic
- Linux
- Mac OSX
Table schema¶
Name | Type | Description |
---|---|---|
path | TEXT | Absolute path to target file |
magic_db_files | TEXT | Colon(:) separated list of files where the magic db file can be found. By default one of the following is used: /usr/share/file/magic/magic, /usr/share/misc/magic or /usr/share/misc/magic.mgc |
data | TEXT | Magic number data from libmagic |
mime_type | TEXT | MIME type data from libmagic |
mime_encoding | TEXT | MIME encoding data from libmagic |