Oct 30

Help us get a free dinner at Jensens Bøfhus

Tag: StuffMichael Lind Mortensen @ 9:57 pm

Hello everyone!

Dear friend, visitor or whatever your role might be. Please take the time to help me and my fellow computer science students get a free dinner at the Danish restaurant Jensens Bøfhus.

They basically have a small competition running right now, where you can upload a picture and get voted for – if your picture has the most votes = you win! So please help us and vote for our picture – you would make a bunch of poor students happy ;-)

So, if you would be so kind to click on this link (no viruses – promise!):
http://jensensb.ziteman.com/mms_sider/mms_nyestebilleder.asp?vote=1C4936BC-3DF0-48DA-B464-C11E0AD6D092

It will simply cast a vote for us in the competition. And remeber, you can vote two times! ;-)

Anyways, thanks for the support!! Peace!




Oct 30

Removing X-Powered-By header for mod_rails

Tag: Security, UnixMichael Lind Mortensen @ 4:44 pm

I recently had a bit of a problem with a server running a Ruby on Rails application. I wanted to make sure the server didn’t give out any information about service versions, however mod_rails didn’t give any easy way of doing this within the module itself. I therefore began searching for another way of doing this, and found that an easy solution was to make Apache remove the headers via. the mod_headers module.

So how is it done? Very simple, just enable the module mod_headers and add the snippet below to httpd.conf or another included configuration file in Apache. Both actions have to be done as root of course.

Enable the mod_headers module (This example is Linux Debian – it might be different for your system)

# cd /etc/apache2/mods-available/
# a2enmod headers

Add these lines to httpd.conf

Header always unset "X-Powered-By"
Header always unset "X-Runtime"

Restart the Apache server (Again – this is Debian! It might be different for you)

# apache2ctl restart

And there you go. Try making e.g. a Nikto scan on the server and see if the headers aren’t there anymore.




Oct 19

The Status of the World – Audio version

Tag: PoliticsMichael Lind Mortensen @ 12:54 am

Hello everyone,

I thought I would try something new today. I just bought a microphone a few months ago and haven’t really attempted to get it tested yet, so I guess it was about time. For this reason I’ve recorded a small message to the world, summing up the status of the world.. Enjoy!

The Status of the World