1

I have lost some Axcrypt files on my hard drive, as I have changed the extension. Is there a way to detect those files (via header, size, etc.)

If not, are there some tools to detect discordance between a file's header and filetype?

4

The encrypted files have a common header. The first 4 bytes of AXX files are C0 B9 07 2E. The static header is actually longer than this, but 4 bytes should be enough to rule out false positives.

  • Do you know a tool who scan for files with this header ? – hotips May 22 '12 at 19:21
  • 3
    use the command "find" with: test "$(head -c 4 $file)" = "$(echo -e '\xc0\xb9\x07\x2e')" – Diego May 23 '12 at 22:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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