From be940bb4ee0f83110df15e5299f668a601ab6799 Mon Sep 17 00:00:00 2001 From: Plato Mavropoulos Date: Sat, 8 May 2021 16:25:05 +0300 Subject: [PATCH] Dell PFS BIOS Extractor v4.9 Improved detection of PFS Text Modules --- Dell PFS BIOS Extractor/Dell_PFS_Extract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dell PFS BIOS Extractor/Dell_PFS_Extract.py b/Dell PFS BIOS Extractor/Dell_PFS_Extract.py index 171509b..fafd4c4 100644 --- a/Dell PFS BIOS Extractor/Dell_PFS_Extract.py +++ b/Dell PFS BIOS Extractor/Dell_PFS_Extract.py @@ -8,7 +8,7 @@ Copyright (C) 2019-2021 Plato Mavropoulos Inspired from https://github.com/LongSoft/PFSExtractor-RS by Nikolaj Schlej """ -title = 'Dell PFS BIOS Extractor v4.8' +title = 'Dell PFS BIOS Extractor v4.9' import os import re @@ -682,7 +682,7 @@ def bin_is_text(buffer, file_type, is_metadata, is_advanced) : # Only for non-advanced users due to signature (.sig) invalidation if not is_advanced : - if b',END' in buffer[-0x6:-0x1] : # Text Type 1 + if b',END' in buffer[-0x7:] : # Text Type 1 is_text = True write_mode = 'w' extension = '.txt'