Nagios Perl Script to add Hosts and Escalations

A couple of perl scripts to help add Hosts and Host Escalations into Nagios config files. 

DIRECTIONS: Edit .list file for script to read
FOR: edit host.list to include tab seperated parameter (5)options
use     host_name       alias   address host_groups

FOR: edit Escalation.list to include tab seperated parameter (2)options
host_name       contact_groups

Here is script

Linux, Network Security, Perl Scripts, Tutorials/Whitepapers Read More

Alternate Data Streams… WARNING

I came across this issue today… thankfully my network environement security uses both eTrust and Tripwire, so this should not be a big problem here, but I think it’s should be watched for. Basically, this is a way to hide spyware or incriminating (hacker) tools by casting or forking the file into another file. The original size will show the same and even the actual running process is hidden from process explorers, the only thing that changes is the modification date. Also, this only runs on NTFS and moving the file to another file system will corrupt the hidden file.

Network Security, Tutorials/Whitepapers, Virus Alerts, Windows Read More

Multiple host ping sweep Perl script

I was tasked with verify host connectivity after some server patches were pushed out.  So instead of manually pinging each one, and I already had a text file with all the affected hostnames, I decided to put together a little script that would read from the text file and print out whether the host was up or down. 

I have simplified my original multiple host ping sweep script. All you need for this script to work is a hosts.txt file with a list of host names or IP addresses and of course the script below.

Linux, Network Security, Perl Scripts, Tutorials/Whitepapers, Windows Read More