Need file integrity checks? Check out FileVerifier++

by mtecheasy on December 14, 2010

FileVerifier++ is a Windows application for verifying the integrity of files. FileVerifier supports various algorithms by means of dynamically loadable hash libraries. It is a pure Win32 C++ application and doesn’t have any dependencies other than what comes with Windows. Permanent installation is not required and may be burned to a CD or used from a flash drive.

FileVerifier++ is a Windows utility for calculating hashes using a number of algorithms including CRC32, MD5, SHA-1, SHA-256/224/384/512, WHIRLPOOL, and RIPEMD-128/160/256/320. Supported hash file formats include MD5SUM .MD5, SFV, BSD CKSUM, and others.

http://www.programmingunlimited.net/siteexec/content.cgi?page=fv

Ubuntu/Kernel Version Information

by mtecheasy on December 14, 2010

Commands to view Ubuntu version information, as well as Kernel version.

cat /etc/lsb-release :
Ubuntu 9.04

cat /etc/issue:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=0.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION=”Ubuntu 9.04″

uname -a : print all information
Linux LS 2.6.28-19-server #66-Ubuntu SMP Sat Oct 16 18:41:24 UTC 2010 i686 GNU/Linux

uname -r : print the kernel release
2.6.28-19-server

uname -v : print the kernel version
#66-Ubuntu SMP Sat Oct 16 18:41:24 UTC 2010

uname -o : print the operating system
GNU/Linux

Hide Apache and PHP signature information

by mtecheasy on December 14, 2010

Apache Version 2.2, Ubuntu Server 9.04

Files to edit:
/etc/php5/apache2/php.ini
/etc/apache2/conf.d/security

When you access a page on your server that doesn’t exit, you get the following possible signature by default:
Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.6 with Suhosin-Patch Server at 192.168.100.158 Port 80

To remove the PHP Signature, open php.ini and find expose_php = On, and change it to Off.
Apache/2.2.11 (Ubuntu) Server at 192.168.100.158 Port 80

To remove the Apache version number, OS name, open the security file and change the ServerTokens Full to ServerTokens Prod.
Apache Server at 192.168.100.158 Port 80

If you don’t want any information displayed, open the security file once more and change the ServerSignature On to ServerSignature Off.

For more information on the various options available visit:
http://httpd.apache.org/docs/current/mod/core.html#serversignature
http://httpd.apache.org/docs/current/mod/core.html#servertokens