Try to match version numbers that span a whole line:
$ strings file.exe | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'
In my (few) tests, the AssemblyVersion of the binary was always the last result.
Try to match version numbers that span a whole line:
$ strings file.exe | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'
In my (few) tests, the AssemblyVersion of the binary was always the last result.