summaryrefslogtreecommitdiffstats
path: root/src/file_exe.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-04-11 18:30:29 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-04-11 18:30:29 +0200
commit05698fa19db2e7053583b84920a9a50c509f04d2 (patch)
tree922c71fe071a5396d08c9aa4a43337e2d54675f1 /src/file_exe.c
parent807f3cdfe21db9169fbc6ec5661042f5cba447d2 (diff)
PhotoRec: extract date/time from Windows PE exe/dll
Diffstat (limited to 'src/file_exe.c')
-rw-r--r--src/file_exe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_exe.c b/src/file_exe.c
index 7aabe75..fb8ec5c 100644
--- a/src/file_exe.c
+++ b/src/file_exe.c
@@ -96,6 +96,7 @@ static int header_check_exe(const unsigned char *buffer, const unsigned int buff
#endif
return 0;
}
+ file_recovery_new->time=le32(pe_hdr->TimeDateStamp);
#ifdef DEBUG_EXE
{
const struct pe_image_optional_hdr32 *pe_image_optional32=(const struct pe_image_optional_hdr32 *)