browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

python

PostgreSQL Backup script (python)

Perhaps the following will be of use to others. In a nutshell, it’s a python script which backs up a provided list of PostgreSQL databases. I’ve written it for Windows, but it should work on Linux too (just change the paths in the BACKUP_DIR and dumper variables. No doubt it could be changed to query … Continue reading »

Categories: postgresql, python | Tags: , , , | 1 Comment

Automated snapshot backup of an Amazon EBS volume

I found the following Python script online, but it didn’t really work too well : http://aws-musings.com/manage-ebs-snapshots-with-a-python-script/ EBS – Elastic Block Storage … I had to easy_install boto, to get it to work. I’m not sure the Debian python-boto package in Lenny is up to date. Anyway, $server now has : from boto.ec2.connection import EC2Connection from … Continue reading »

Categories: python | Tags: , , , | 4 Comments

Logging … and how not to do it.

Grumpy man, back from battling with some legacy code, has a rant. Continue reading »

Categories: development, php, python | Leave a comment

wapiti – web application vulnerability scanner (super quick review/intro)

Today, I finally looked at Wapiti, which is a web application vulnerability scanner. It operates on a black box basis (i.e. it doesn’t see the underlying PHP/ASP/Java source code), and effectively tries to ‘break’ any forms on a page. In order to get it to do anything useful, you’ll probably need to provide it with … Continue reading »

Categories: python | Tags: , , , | 4 Comments