Linux script for automatic notification of failed download

Scenario: We need a CentOS machine to periodically automatically download a file from a remote server on the internet. If this download fails for any reason, the network admin should be emailed to investigate further. Resolution: A simple cron job can be used which executes a download script. The following script was used: #!/bin/bash wget … Continue reading Linux script for automatic notification of failed download

OpsView, bash and GNUplot

Update: The method I go on to describe is over complicated for the objective. Matt in the comments section pointed out a much easier, OpsView method of doing this. Still, the below is a good exersize in bash / gnuPlot scripting. So, OpsView has away around it's own limitation of not graphing host checks. Thanks … Continue reading OpsView, bash and GNUplot

A first impression of steganalysis & python

Spurred on by the russian spies use of steganography, I decided to revisit the work I've done in my undergrad thesis regarding the effectiveness of current steganalysis methods. (For those of you who are scratching their heads about steganalysis and steganography, read a quick primer from one of my previous posts: http://dvas0004.wordpress.com/2010/06/27/steganalysis-in-modern-day-anti-malware-systems/) My thesis work … Continue reading A first impression of steganalysis & python

A poor man’s remote access system

Working in the support business, remote access systems is your daily bread and butter. We've seen remote access become increasingly easy, especially with the advent of services such as teamviewer, GoToMyPC, Crossloop, and the zillion derivatives of these programs. There are of course the commercial alternatives, such as the well-known WebEx from Cisco, even SonicWALL … Continue reading A poor man’s remote access system

Script to backup WordPress from remote PC

Another auto-backup script 🙂 This time, I wanted to have a quick and easy way to login to my server from my windows laptop, compress and backup the wordpress blog content, as well as the wordpress mysql database, then copy everything back to my laptop. A one-click backup basically. Here's what I did. First up, … Continue reading Script to backup WordPress from remote PC

Backup Scripts

On my work PC I have several important files and folders that I would regularly want to backup. These are usually some MySQL database backend for a website, the website content itself, my Outlook .pst file and a folder containing important work documents. I wanted a backup script that would automatically backup these files regularly, … Continue reading Backup Scripts