Skip to content

Commit

Permalink
domain_gen: add swedish wordlist
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Oct 6, 2011
1 parent de2f8fd commit 9e789b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion domain_gen
@@ -1,7 +1,11 @@
#!/usr/bin/perl
use strict;

open(my $fh, '<', '/usr/share/dict/cracklib-small') or die($!);
use utf8;
use open qw(:std :utf8);

open(my $fh, '<', "$ENV{HOME}/usr/share/doc/wordlists/wordlist_swedish.txt");
#open(my $fh, '<', '/usr/share/dict/cracklib-small') or die($!);
#open(my $fh, '<', "$ENV{HOME}/usr/share/doc/wordlists/big.txt");
#open(my $fh, '<', "$ENV{HOME}/usr/share/doc/wordlists/big") or die($!);
my @words = grep{ (length($_) > 4) && lc(chomp($_)) } (<$fh>);
Expand Down

0 comments on commit 9e789b7

Please sign in to comment.