EH-Net

Resources => Tools => Topic started by: millwalll on May 19, 2011, 02:36:47 PM



Title: John The Ripper | Wordlist
Post by: millwalll on May 19, 2011, 02:36:47 PM
Hi all,

So I am messing about with JTR and so far must downloaded about 10 word list that all say they are English words. I wanted to know is there a script anywhere that will allow me to merge these files but removed any duplicates ? As I am sure that most of the word list will have the same words so its bit counter productive and that way I could just have one big word list and add to it.

thanks :)


Title: Re: John The Ripper | Wordlist
Post by: sil on May 19, 2011, 02:38:26 PM
cat * | sort -u > NewWordList


Title: Re: John The Ripper | Wordlist
Post by: millwalll on May 19, 2011, 02:46:50 PM
cool well that was a lot easy than I thought it was going to be I will give that a go :P thanks


Title: Re: John The Ripper | Wordlist
Post by: sil on May 19, 2011, 02:58:14 PM
Well... Let's make this more complex based on the awk comment earlier...


cat * | awk '! a[$0]++'  > NewFileName
cat * | ruby -ne 'puts $_ unless $_ == @prev; @prev = $_'

Here is some more fun (and why one should learn as many commands for as many systems as possible) ... Assuming you needed to get data out of a server but didn't have appropriate perms to xfer files or perhaps some minor hiccup like a firewall, NAC or DLP system just angered you. Assume the system had python...

So lets say these wordfiles were usernames you needed to access... You have 10 userlists you needed to handle... You were too lazy to copy them via term or something (terms are your friend... forget data extraction. Exfiltration = detection

Using nothing but system commands to feed them to your self with cat + awk + python

cat wordlists* | awk '! a[$0]++' > /tmp/YOURDIRNAMEHERE && cd /tmp
python -m SimpleHTTPServer 8000

links serverip:8000

"It pays to discover"


Title: Re: John The Ripper | Wordlist
Post by: Grendel on May 19, 2011, 06:19:59 PM
So I am messing about with JTR and so far must downloaded about 10 word list that all say they are English words...
Heh... what are you doing THAT for??  ;-)


Title: Re: John The Ripper | Wordlist
Post by: millwalll on May 20, 2011, 01:15:36 PM
I am taking over the world! hahamamam Evil laugh :P

I am doing this pretty cool course and the exercise has got my brain working overtime :P


Title: Re: John The Ripper | Wordlist
Post by: Grendel on May 20, 2011, 09:48:22 PM
LOL!

Oh, and congrats on winning! I'm assuming you'll want to teach that particular class to the other hacking dojo students once you complete it. <nudge>


Title: Re: John The Ripper | Wordlist
Post by: millwalll on May 23, 2011, 11:30:48 AM
Thanks, I don't mind helping anyone if I can.

I also noticed on your twitter account you are working on a new open source project. Can anyone get involved ? has it started or still a working progress ?