Monthly Archive for April, 2008

PHP Firewall Script

Do you worry about your site’s security? Has your site ever been hacked? Worry no more! FireWall Script is a PHP-based configurable firewall. Once installed, you can configure what mischevious things you want to be on the lookout for and let FireWall Script do the rest. With the logging functionality included, you can also go back and see if anyone is attempting to sidestep your rules and stay ahead of the game. Install FireWall Script, stop worrying about your site’s security, and start worrying about your site.

MySQL dump

[user@server ~]$ mysqldump -u user -p table > backup_file.sql
Password:

[user@server ~]$ tar -zcvf backup_file.gz backup_file.sql

Checking open ports with Nmap

[user@server ~]$ sudo nmap -sS -O 10.100.188.15
Password:

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2008-04-25 19:14 EDT
Interesting ports on server (10.100.188.15):
(The 1650 ports scanned but not shown below are in state: closed)
PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
111/tcp  open  rpcbind
199/tcp  open  smux
631/tcp  open  ipp
808/tcp  open  ccproxy-http
946/tcp  open  unknown
2301/tcp open  compaqdiag
8009/tcp open  ajp13
8080/tcp open  http-proxy
MAC Address: 00:16:35:D4:BE:C2 (Unknown)
Device type: general purpose
Running: Linux 2.4.X
OS details: Linux 2.4.20 (Itanium)
Uptime 15.153 days (since Thu Apr 10 15:34:08 2008)

Nmap run completed — 1 IP address (1 host up) scanned in 2.301 seconds

Setting the Date/Time in Linux

[root@server ~]# date 042511082008
Fri Apr 25 11:08:00 PDT 2008

Wordpress 2.5.1 released

Version 2.5.1 of WordPress is now available. It includes a number of bug fixes, performance enhancements, and one very important security fix. We recommend everyone update immediately, particularly if your blog has open registration. The vulnerability is not public but it will be shortly.

In addition to the security fix, 2.5.1 contains many bug fixes. If you are interested only in the security fixes, you can download these corrected copies of wp-includes/pluggable.php, wp-admin/includes/media.php, and wp-admin/media.php. Replace your existing copies of these files with these new copies.

If you download the entire 2.5.1 release, you will be getting over 70 other fixes. 2.5.1 focuses on fixing the most annoying bugs and improving performance. Here are some highlights:

  • Performance improvements for the Dashboard, Write Post, and Edit Comments pages.
  • Better performance for those who have many categories
  • Media Uploader fixes
  • An upgrade to TinyMCE 3.0.7
  • Widget Administration fixes
  • Various usability improvements
  • Layout fixes for IE

Get it now.