summaryrefslogtreecommitdiff
path: root/magic
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2023-01-22 15:07:06 +0000
committerChristos Zoulas <christos@zoulas.com>2023-01-22 15:07:06 +0000
commit1e4b738982d9e4577d1d8bd4d529112baec32781 (patch)
tree8f1a898cf2b8c730bc87ce74f243a4ac22f32422 /magic
parent554371e762c136f9cbb0ebe91faf3d2fd0dd71c8 (diff)
downloadfile-git-1e4b738982d9e4577d1d8bd4d529112baec32781.tar.gz
Increase strength to beat targa (FC Stegerman)
Diffstat (limited to 'magic')
-rw-r--r--magic/Magdir/android4
1 files changed, 3 insertions, 1 deletions
diff --git a/magic/Magdir/android b/magic/Magdir/android
index b7fca590..9c0473c8 100644
--- a/magic/Magdir/android
+++ b/magic/Magdir/android
@@ -1,6 +1,6 @@
#------------------------------------------------------------
-# $File: android,v 1.22 2023/01/12 00:11:15 christos Exp $
+# $File: android,v 1.23 2023/01/22 15:07:06 christos Exp $
# Various android related magic entries
#------------------------------------------------------------
@@ -180,7 +180,9 @@
# In include/androidfw/ResourceTypes.h:
# RES_XML_TYPE = 0x0003 followed by the size of the header (ResXMLTree_header),
# which is 8 bytes (2 bytes type + 2 bytes header size + 4 bytes size).
+# The strength is increased to avoid misidentifying as Targa image data
0 lelong 0x00080003 Android binary XML
+!:strength +1
# Android cryptfs footer
# From https://android.googlesource.com/\