This might help my future self : SELECT username, password into outfile ‘/tmp/passwords.txt’ fields terminated by ‘:’ optionally enclosed by ” lines terminated by ‘\n’ from mailbox where mailbox.active = 1; and then : john /tmp/passwords.txt …. e.g. root@mail:~# john /tmp/passwords.txt Created directory: /root/.john Loaded 2327 password hashes with 2326 different salts (md5crypt [MD5 32/64… Continue reading john the ripper on crypt passwords out of postfixadmin
One day I’ll give up on the illusion that I actually might post something useful here. Thanks to MonkeySailor. over Christmas I did had an Arduino and some lights. But there are loads of tutorials for it (like: http://www.instructables.com/id/Arduino-Controlled-LED-Strip-Holiday-Lighting/ ) , so there’s no point in me trying to document it. Perhaps it’s time for… Continue reading Arduino lights etc.
Fed up installing updates to WordPress sites? Stick this in a cron job somewhere, and cross your fingers (a little)….
I think the spammers need some help with their regular expressions….
1. See http://github.com/palepurple/policyd-weight – I’m trying to make some changes to policyd-weight (something I’ve been using for ages) to make it more configurable and add in a GeoIP patch which I’ve seen floating around. 2. See https://twitter.com/excommunicado and http://blog.hinterlands.org/2013/11/an-update-on-communicado/ – for a DNS Blacklist you might want to use – using excommunicado.co.uk as a RHSBL has stopped about 700… Continue reading spam (policyd-weight + excommunicado)
And a new theme. Perhaps one day I’ll fix my twitter sync script. In the mean time, there’s a bit on Solr on Pale Purple’s blog. along with SpamDyke to stop Qmail being overrun by spam.
Recently on the Twitter the following (attached) image came up – presumably legit, of a job advert. Highlights below. It’s almost like someone cut and pasted two job postings together. The phone number does appear to be legit … so perhaps the advert itself is?
One of my customers uses Akismet to protect his various blogs from the masses of spam. Oddly torwards the end of last week, Akismet started to identify everything as spam, with no error message being returned on check of spam, and the admin dashboard showing the api key/akismet were happy. I initially thought that perhaps… Continue reading Weird Akismet behaviour with WordPress (incorrect spam identification)
NFS really can be a major PITA. Our office network has been breaking all day. This seemed to coincide with moving more of our computers to gigabit ethernet (removing the 100mbit CISCO 7960 phones which their network had been daisy-chained through – and seemed to cause intermittent packet loss) Here are some tips for others… Continue reading Stupid NFS (Debian Squeeze / Ubuntu Precise)
At work we keep receiving emails from sales-droids in India who are trying to persuade us to outsource PHP/Android/Java/whatever development to them. Here’s my first attempt at a spamassassin rule to neutralise it – in my case, copy into a something.cf file in /etc/spamassassin/mail, and running over a suitably loaded email results in : Content… Continue reading SpamAssassin ruleset to try and catch India based web development spam