hashcat Forum
Quick script to convert dict for passpal - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: User Contributions (https://hashcat.net/forum/forum-25.html)
+--- Thread: Quick script to convert dict for passpal (/thread-862.html)



Quick script to convert dict for passpal - chort - 01-28-2012

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



RE: Quick script to convert dict for passpal - arex1337 - 01-28-2012

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