Site Navigation

News Blurbs

Forensic Files

Forensic Whitepapers

Network Security

Scripts

Knowledge Base

About Me

About Anthrax

Photo Album

Contact Me

Nickname

Password




Create New Account

HomeScripts

Here are some various things I have done over the years for various script requests. There exists varying degrees of solutions, with Windows platforms including KIX and Microsoft shell scripting, though nothing beats the reliability of command line scripting. Likewise, I generally prefer to avoid as many outside dependencies as possible to ensure the script truly works on as many platforms as expected.

- Linux - Windows - Nagios

processcheck.sh - Search for old processes and alert to any running over a defined amount of time.

winlogin.bat - Login script that syncs local time, determines OS, and then can automatically schedule reboots to ensure that patches are fully applied.

nagios_externalevent.sh - Shell script that allows you to submit external events to Nagios from the command line.

nagios_checktracert.ph - Shell script runs with PHP from the command line to verify if a particular IP is in a traceroute. Can be used to detect route convergance and alert with Nagios as necessary.