Browsed by
Tag: Linux

Latest Redis on Debian 6 “Squeeze” using PPA

Latest Redis on Debian 6 “Squeeze” using PPA

Currently Debian 6 comes with a Redis database version of 1. If you enable Debian backports you can upgrade to version 2, but if you want the latest version you can do the following. vi /etc/apt/sources.list.d/redis.list add deb http://ppa.launchpad.net/chris-lea/redis-server/ubuntu lucid main You will get a GPG error: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B9316A7BC7917B12 Use apt-key to add the public key to the trusted keys apt-key adv…

Read More Read More

Shell detector app detects webshells (aspx, php)

Shell detector app detects webshells (aspx, php)

Shell detector is a great little application to, like the name suggests, detect (malicious) shells. I recently had the misfortune of having to deal with a so called web shell. Basically it created a backdoor by uploading a malicious file and its client application uses this file to send commands to be executed on the server. Looking at the capabilities of this malware I couldn’t believe what was possible. In short they owned the server. Now I know that the…

Read More Read More

Block WordPress login attempts when no WordPress is present

Block WordPress login attempts when no WordPress is present

I’ve set up LogWatch and saw these entries turning up every day. 404 Not Found /admin/wp-login.php: 2 Time(s) /administrator/index.php: 2 Time(s) /blog/wp-login.php: 2 Time(s) /section/wp-login.php: 2 Time(s) /site/wp-login.php: 2 Time(s) /wordpress/wp-login.php: 2 Time(s) /wp-login.php: 2 Time(s) /wp-login/: 2 Time(s) /wp/wp-login.php: 2 Time(s) /www.google.com/chrome: 1 Time(s) I decided to ban them using fail2ban, seeing as there is no reason to try and use a WordPress login, when there is no wp running on that server. I based this on https://github.com/miniwark/miniwark-howtos/wiki/Fail2Ban-setup-for-Apache. vi…

Read More Read More

Mounting file system over SSH then decrypt with EncFS on Arch Linux

Mounting file system over SSH then decrypt with EncFS on Arch Linux

I have a remote folder on my NAS (that is actually a dropbox folder my NAS syncs) encrypted with EncFS, which I would like to open on my Arch Linux box. I’m a long time fan of TrueCrypt, but for this particular setup, where the size of the encrypted data can vary (it is not a disk or a container with a fixed size), I found EncFS to suit my needs better. Now from my understanding (and general tinkering with the…

Read More Read More

Sudo !! Tips and tricks

Sudo !! Tips and tricks

I recently discovered some cool sudo tricks. First of sudo is a way to get elevated privileges but not get full root access. As root you can do system administration tasks, that you are not allowed to as a normal user. The things you can “sudo” are defined in the so called sudoers file and can be edited by the following command: visudo It will look for a program to open the sudoers file with in the EDITOR variable. Now…

Read More Read More

Installing Arch Linux on an Acer 5940G laptop

Installing Arch Linux on an Acer 5940G laptop

In this next post I’ll go through the steps of installing Arch Linux on an Acer 5940G laptop. I recently bought an SSD and wanted to re-install. So I figured this would make a good post and it would give me something of an advanced install notes if I wanted to redo it in the future. Now Installing Arch is not like installing ubuntu, mint or fedora. There is a graphical way to install Arch, but the main installation method…

Read More Read More

Boinc on Linux Mint

Boinc on Linux Mint

First of all what is BOINC? Boinc is an acronym for “Berkeley Open-Infrastructure for Network Computing”. A broad term, but what it boils down to is a program that launches when the computer is idle. When it starts it uses these lost CPU cycles to execute jobs. These jobs are usually big calculations that if one would try them on a single computer would take decades to complete. There are a wide variety of projects you can join, some well know are…

Read More Read More