Archive for the ‘linux’ Category

Cracking passwords fast with rainbow tables on SSD


2010
03.15

A Swiss firm, Objectif Sécurité, makers of Ophcrack_Office (for Word and Excel files) and Ophcrack Open Source (over at sourceforge.net), has tweaked their application to crack XP passwords with up to 14 characters on a Steady State Drive interface (think of large, light, laptop drive using Flashdrive technology) through rainbow tables (pre-calculated hashes) in an average of 5.3s.

Seek times on the SSD seem to be the big tweak here:

Oechslin has fitted an elderly Athlon 64 X2 4400+ with an SSD and the optimised tables. This system can, with only a 75% CPU utilisation, crack a 14 digit password with special characters, in an average of 5.3 seconds. Oechslin says that, worst case, it should be able to search arithmetically through 300 billion passwords per second, a speed that is a factor of 500 faster than an Elcomsoft cracker supported by a modern Tesla GPU from NVIDIA.

(more…)

nginx on Windows Vista / Windows 7 with php


2009
11.22

You can get the latest stable version of a Windows compile of nginx (0.7.64) here.

Setup is quite straight forward; you’ll need the php-cgi.exe downloaded (copy the libmysql*.dll to the Windows system directory – quickest but dirtiest solution) and tied in; I assume that you can download and run the mysql application yourself?

You may need to run the startup as a batch file (f: below is the drive installed on, php has been extracted into the php under nginx as you can see). PHP is set to listen on port 9000, which nginx interfaces requests to below. (more…)

Postfix maximum individual mail size and mailbox size


2009
10.14

If you’re getting the "5.3.4 Messag exceeds fixed limit” error, check on the default vs set values in your /etc/postfix/main.cf using
postconf -d (for the default)
and
postconf -n (for the values you have set manually in the main.cf)
Default for message_size_limit (maximum size per mail) is 10240000 (bytes, ie approx 10MB)

Up this to your desired value, eg 30MB by setting
postconf -e "message_size_limit = 30720000"
specifiying the size in bytes.
You can reset the maximum mailbox size using the same method (below just resets to the default value)
postconf -e "virtual_mailbox_limit = 51200000"

But you knew that already!

RDP redirection via Putty (Linux Server) for Windows Remote Desktop


2009
09.25

Tunnel and SSH SelectionsTunneling via Putty is quite well documented. In Putty (the link points to the lastest version), create a new session.

In the SSH section, make sure compression is enabled (for SSH v2 – you shouldn’t be using anything earlier, anyway).

In the SSH=>Tunnel section , set the Source port to 127.0.0.2:3389, and the target to SERVER:3389 (where SERVER corresponds to your upstream Windows Terminal Server).

Tunnel Information settingsOnce the connection has been created, and you’ve logged into the Putty session, connect to 127.0.0.2 on the local machine and you should be prompted by the remote machine.

This is all as a result of the “localhost” restriction in RDP sessions – however, there is a patch.

Simple as π :)

Trac and remote SVN servers


2009
09.17

Do the SVN server Trac relates to have to reside on the same as the Trac installation?

At present, alas it seems so. (If you’re new to Trac and need a one-stop-shop of commands, look here.)

http://trac.edgewall.org/ticket/2828 points to and abstracts http://trac.edgewall.org/ticket/493

Seems like Trac and remote SVN is not happening yet, though SVN replication is an option… There is also an obscure comment some two years ago about a remote plugin, which was at alpha, but the project seems to have since disappeared/moved…

Sigh…

Wipe all mp3s and avis from the filesystem


2009
09.08

So you want to run a script that removes all mp3 and avi files off the filesystem. One way (in bash) as below. Comment, suggestions and feedback are welcome :) Using $EUID to check for root user, and $IFS to check for line breaks as the file names has spaces in them. IFS is saved to a temp variable, reset and then re-instated afterwards. C is the counter. Got two litte for loops in bash with backtick execution.

(more...)