Skip to content

Commit 0cc499f

Browse files
committed
Minor deletes related to filetime change.
1 parent 3a2433d commit 0cc499f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/post/windows/gather/enum_prefetch.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,8 @@ def gather_prefetch_info(name_offset, hash_offset, lastrun_offset, runcount_offs
9797
# Finds the LastModified/Created timestamp (MACE)
9898
mtimes = client.priv.fs.get_file_mace(filename)
9999

100-
# Finds the Creation timestamp (MACE)
101-
#ct = client.priv.fs.get_file_mace(filename)
102-
103100
# Checking and moving the values
104-
if idx.nil? or count.nil? or hash.nil? or mtimes.nil? #or ct.nil?
101+
if idx.nil? or count.nil? or hash.nil? or mtimes.nil?
105102
print_error("Error reading file (might be temporary): %s" % filename)
106103
else
107104
pname = Rex::Text.to_ascii(name.slice(0..idx))

0 commit comments

Comments
 (0)