Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 23 Nov 2005 02:21:17 +0300
From: Solar Designer <>
Subject: CommuniGate Pro (Re: Patch: Improved raw-md5 and new format (Post.Office MD5))

On Tue, Nov 22, 2005 at 11:20:41PM +0100, Frank Dittrich wrote:
> Solar Designer wrote:
> >Please excuse my ignorance, but what's Post.Office?

> Using these keyword combinations:
> "Post.Office" OpenWave
> or
> "Post.Office" MD5
> would have provided links which look somewhat more promising, e.g.
> or news group articles, see


While we're at it, here's a script I wrote to extract password hashes
from a CommuniGate Pro messaging server install for use with John a few
years ago.  The script was only tested with GNU bash for the shell and
GNU versions of find and sed.



find /path/to/CommuniGate -name "$FILE" -printf '%h\n' |
while read DIRS; do
	HOME="`echo "$DIRS" | sed 's/\.macnt$//'`"
	USER="`echo "$HOME" | sed -n 's,^.*/\([^/]*\)$,\1,p'`"
	PASS="`sed -n 's/^ Password = "\\\002\([^"]*\)";$/\1/p' < $DIRS/$FILE`"
	RN="`sed -n 's/^ RealName = "*\(.*[^"]\)"*;$/\1/p' < $DIRS/$FILE`"
	if [ -n "$USER" -a -n "$PASS" ]; then
		echo "$USER:$PASS:::$RN:$HOME"

Alexander Peslyak <solar at>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598 - bringing security into open computing environments

Was I helpful?  Please give your feedback here:

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.