Blog

New ClamAV / clamscan / freshclam on old Ubuntu (Feisty or the like)

A typical situation – you get to audit a server setup which hasn’t seen a apt-get update / apt-get upgrade or even apt-get dist-upgrade since Netbooks were a pipedream. “Please don’t change anything, we only want a virus scanner, but the update cache is busted,” they say. That you see a whole bunch of 404‘s in the apt (or aptitude) feedback is normal — th ...

phpDocumentor on Windows — but please, you knew that already

So the below description will give you a step-by-step to run phpDocumentor (which replaces phpDoc): Get it at www.phpdoc.org or install it via PEAR (much easier – 2MB download or so). For Windows machines: go-pear.bat (if you haven’t already — find it if you don’t know where it is) and pear install --alldeps phpdocumentor Do a search for PEAR_ENV.reg on your machine. Execu ...

And we’re up to 2.8.4

Yesterday a vulnerability was discovered: a specially crafted URL could be requested that would allow an attacker to bypass a security check to verify a user requested a password reset. As a result, the first account without a key in the database (usually the admin account) would have its password reset and a new password would be emailed to the account owner. This doesn’t allow remote access, bu ...

How many open source licenses do you need?

After an impassioned plea from a developer ont he opensource mailing lists, looking for help through the myriad of 73 versions of open source licenses that are out there, a participant pointed out this link, an article by written back in February 2009 by Bruce Perens (“Bruce Perens is the creator of the Open Source Definition, the manifesto of Open Source and the criterion for Open Source s ...

Update for Microsoft Outlook / Outlook Express (KB910721)

You’ve seen the mail, you’ve looked at the headers, you realise that mail from Microsoft typically does not route through a Brazilian ADSL line (times may be bad, but hey!) You may be wondering why, even though you chose not to register with Microsoft when you booted up for the first time, even though you’re using an Ubuntu machine, you’re getting mail from Redmond asking ...

String replacement in multiple files (bash)

sed -i 's/old-bit/new-bit/g' *.ext And hey presto, you’re done. Alternatively, to keep a copy of the old file, perl comes in with a helping hand: perl -pie 's/old-bit/new-bit/g' inputname > outputname So replacing a string snippet, like, say, a server IP, in a batch of files, this one liner can do what you need it to do. But you knew that already 🙂 ...