opnsense-src/contrib/file/magic/Magdir/varied.script

60 lines
1.5 KiB
Text
Raw Normal View History

#------------------------------------------------------------------------------
2020-02-09 20:33:52 -05:00
# $File: varied.script,v 1.13 2019/10/11 14:35:29 christos Exp $
# varied.script: file(1) magic for various interpreter scripts
0 string/t #!\ / a
>3 string >\0 %s script text executable
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
0 string/b #!\ / a
>3 string >\0 %s script executable (binary data)
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
0 string/t #!\t/ a
>3 string >\0 %s script text executable
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
0 string/b #!\t/ a
>3 string >\0 %s script executable (binary data)
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
0 string/t #!/ a
>2 string >\0 %s script text executable
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
0 string/b #!/ a
>2 string >\0 %s script executable (binary data)
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
0 string/t #!\ script text executable
>3 string >\0 for %s
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
0 string/b #!\ script executable
>3 string >\0 for %s (binary data)
2020-02-09 20:33:52 -05:00
!:strength / 2
2014-06-24 17:24:48 -04:00
# using env
0 string/t #!/usr/bin/env a
>15 string/t >\0 %s script text executable
!:strength / 10
2014-06-24 17:24:48 -04:00
0 string/b #!/usr/bin/env a
>15 string/b >\0 %s script executable (binary data)
!:strength / 10
0 string/t #!\ /usr/bin/env a
>16 string/t >\0 %s script text executable
!:strength / 10
2014-06-24 17:24:48 -04:00
0 string/b #!\ /usr/bin/env a
>16 string/b >\0 %s script executable (binary data)
!:strength / 10
# From: arno <arenevier@fdn.fr>
# mozilla xpconnect typelib
2019-11-09 22:44:32 -05:00
# see https://www.mozilla.org/scriptable/typelib_file.html
0 string XPCOM\nTypeLib\r\n\032 XPConnect Typelib
>0x10 byte x version %d
>>0x11 byte x \b.%d