AdminMisc::GetFileInfo gives different info than Windows explorer
by Ben Conrad other posts by this author
Sep 29 2004 6:18PM messages near this date
view in the new Beta List Site
RE: Snort Simulator
|
RE: Perl OO
Folks,
I'm writing a script to find gdiplus.dll files that may be vulnerable to the
microsoft GDI+ bug.
When I use:
Win32::AdminMisc::GetFileInfo($filename, \%Info);
print "- $Info{ProductVersion}\n";
-or-
print "- $Info{FileVersion}\n";
I get version 5.1.3102.2180
But if I look at the file properties in Windows Explorer or use filever.exe
I get 5.1.3097.0
There are notes in the AdminMisc README that say something about a subhash
with a keyname of "File", but I'm not sure how to implement that.
> >>
Added support for GetFileInfo() to return:
- Hash will have a subhash with the keyname of "File":
- File Version (true value as reported by the FileVersion
stamp)
- Product Version (true value as reported by the
ProductVersion stamp)
> >>>
Thanks,
Ben
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|