I'm trying to concoct a way to grab two (nearly identical) directories and show me the difference between all files in the two directories.
Looking for two different things:
1- List all files (recursively) that are different between the two directories
2- Subtract all the files in /new-directory/ from /old-directory/ and output the results to a third directory or someplace where I can easily scan over the differences.
I'm looking for backdoors to a server by comparing a backed up (clean) directory to one with a suspected backdoor (inside a a previously existing file).