Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a file called mod_dav_svn.so. I would like to find out if this is a custom version of the file or a standard one.

I have tried searching Google for the md5sum of the file, but nothing has turned up, suggesting it is a custom compilation.

Is there a way to extract any metadata from this file, such as compilation time/options/etc?

share|improve this question
up vote 2 down vote accepted

Use your distro's package manager and verify the package to see if the file is original. For example in my rpm based distro I can do the following:

 # Find the full path to the file
 $ locate mod_dav_svn.so

 # Find out what package it belongs to
 $ rpm -qf /usr/lib/apache/mod_dav_svn.so

 # Verify that package to make sure the file hasn't been tampered with
 $ rpm -vV apache-mod_dav_svn
 ........     /usr/lib/apache/mod_dav_svn.so

The dots indicate that all tests show normal for that file. If it had been changed it might have indicated a checksum mismatch, a date change, a size change, etc.

share|improve this answer

The first step is file mod_dav_svn.so to see what architecture it's for, and ldd mod_dav_svn.so to see what libraries (and versions) it's linked against.

You can search for printable strings with strings (strings mod_dav_svn.so).

You can display a lot of information in readable text form with objdump. Try inspecting the file with objdump -s mod_dav_svn.so | less, the compiler might have left a clue somewhere.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.