November 2009
9 posts
3 tags
4 tags
3 tags
Python on Eclipse →
2 tags
Google and what they know about you →
2 tags
2 tags
Java Comparator examples →
6 tags
How to generate an MD5sums file of packages
Start by querying the Red Hat package manager
rpm -ql coreutils | grep bin > files1 This gets a listing of all the executables in that rpm, dumping them into a file called files1. Next, copy the file to a file called “file2”, open up file 2, and go through it, deleting every line that contained a file rkhunter had told you about (there were several executables in coreutils...
4 tags
Red Hat Shenanigans
An “update” or “patch” in Linux is just a file that overwrites the old file, so it will have a different hash value than the old file. Rootkit Hunter will warn you about this, and it gets annoying! The procedure for this sort of event is as follows:
Look at the files that rkhunter tells us have changed, and try to figure out what package they’re in. We do this by...
3 tags