summaryrefslogtreecommitdiffstats
path: root/src/fat_adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-12-29 08:10:37 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-12-29 08:10:37 +0100
commitbb4d75d006077c6c74e2f177037d633612d9853e (patch)
treede1e27231848993e5b5f94899d0c8e0ba33f198a /src/fat_adv.c
parent351ec89be070bedb0bb4cdf5ac35d074fc76b6bb (diff)
Set a 0 sector size in TestDisk FAT boot sector code.
This way no FAT is reported when scanning TestDisk executable
Diffstat (limited to 'src/fat_adv.c')
-rw-r--r--src/fat_adv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fat_adv.c b/src/fat_adv.c
index 4742c67..812efad 100644
--- a/src/fat_adv.c
+++ b/src/fat_adv.c
@@ -2946,7 +2946,7 @@ static int write_FAT_boot_code_aux(unsigned char *buffer)
const unsigned char boot_code[DEFAULT_SECTOR_SIZE]= {
0xeb, 0x3c, 0x90, 0x6d, 0x6b, 0x64, 0x6f, 0x73, 0x66, 0x73, 0x00, 0x00, 0x02, 0x08, 0x01, 0x00,
0x02, 0x00, 0x02, 0x00, 0x00, 0xf8, 0xcc, 0x00, 0x3f, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x5a, 0x5f, 0x06, 0x00, 0x00, 0x00, 0x29, 0xf8, 0x3f, 0x7c, 0x3e, 'T', 'E', 'S', 'T', 'D',
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x29, 0xf8, 0x3f, 0x7c, 0x3e, 'T', 'E', 'S', 'T', 'D',
'I', 'S', 'K', 0x20, 0x20, 0x20, 0x46, 0x41, 0x54, 0x31, 0x36, 0x20, 0x20, 0x20, 0x0e, 0x1f,
0xbe, 0x5b, 0x7c, 0xac, 0x22, 0xc0, 0x74, 0x0b, 0x56, 0xb4, 0x0e, 0xbb, 0x07, 0x00, 0xcd, 0x10,
0x5e, 0xeb, 0xf0, 0x32, 0xe4, 0xcd, 0x16, 0xcd, 0x19, 0xeb, 0xfe, 'T', 'h', 'i', 's', ' ',