Line 1: <?php
Line 2: if ($_SERVER['REQUEST_URI'] == $_SERVER['PHP_SELF'])
Line 3: exit();
Protect Your PHP Includes
Default Installations
What is it with people leaving default installations public facing? They must think I don’t have enough work to do. Inevitably, the server is compromised and used to host phishing attacks against clients of my employer.
Default Apache Install:
Plus PHPInfo page:
Equals phishing attack.
Nice equation.
Account Lockout in Linux - PAM Tally
Some pretty basic functions are missing from most of the *-nix systems by default. One of these is account lockout. In comes PAM Tally (pam_tally.so). This module maintains a count of attempted accesses, can reset count on success, and can deny access if too many attempts fail in succession.
pam_tally comes in two parts: pam_tally.so and [...]
Squid Log Parsing
The squid access.log file is useful for determing where your users are going when using http/80. These log files are generally rotated daily and each contain a LOT of data. In my organization, this is in the realm of 2 GB per day. So how do you find what you are looking for? I use [...]
Oops… Bring out the backup.
On a recent post to a mailing list I subscribe to, a user indicated that they made an inadvertent blunder to a Linux machine they operated (they were an RHCE to boot). The email was as follows:
There are some things you can do like rpm -qlv <name_of_package> but you’re going to be troubleshooting broken items [...]
Featured Articles
Protect Your PHP Includes...
Line 1: <?php Line 2: if ($_SERVER['REQUEST_URI'] == $_SERVER['PHP_SELF']) Line 3: exit(); [+]
Default Installations...
What is it with people leaving default installations public facing? They must think I don't [+]
Account Lockout in Linux - PAM Tally...
Some pretty basic functions are missing from most of the *-nix systems by default. One [+]
Categories
Archives
- November 2008 (1)
- October 2008 (4)
- September 2008 (1)
- August 2008 (3)
- July 2008 (1)
- June 2008 (3)
- May 2008 (2)
- April 2008 (3)
- March 2008 (2)
- February 2008 (3)
- January 2008 (2)
- December 2007 (3)
Meta
Google Ads
Recent Articles
- Protect Your PHP Includes
- Default Installations
- Account Lockout in Linux - PAM Tally
- Squid Log Parsing
- Oops… Bring out the backup.
- CISSP Begins…
- Outlook Organization
- Motorcycle Helmet Laws
- America needs more people like this asap
- American Musical - What you should not do.
Popular Tags
- beer browser ceh cell phones certs conversion cookies domain downloads firefox gadgets giac hacking incident response ipod isc linux minefield money mp3 pdf Perl php pix politics prelogic privacy programming registrars review sanitize input sans satillite radio scripting Scripts securecrt security sirius spam studying tftp toolkit validation vulnerability scanner web logs
