Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick script to convert dict for passpal
01-28-2012, 08:14 PM
Post: #1
Quick script to convert dict for passpal
Seems to work so far (thanks to bmenrigh & inv):

Code:
#!/bin/bash

if [ -z "$2" ]
then
        echo "Usage: $0 <infile> <outfile>"
        exit
fi

INFILE=$1
OUTFILE=$2

if [ -f "$INFILE" ] && `touch $OUTFILE`
then
        iconv -f latin1 -t utf8 $INFILE > $OUTFILE
fi
Find all posts by this user
Quote this message in a reply
01-28-2012, 08:41 PM
Post: #2
RE: Quick script to convert dict for passpal
Cool. Let me just suggest this tool, for those of you who are not allergic to PHP: http://thepasswordproject.com/dictclean

And if anyone would like to port it to Ruby, I'd be grateful Wink
Find all posts by this user
Quote this message in a reply
Post Reply