04-18-2013, 03:44 AM
I wrote my own. It's quite a bit faster than using hashcat, especially if you are removing a lot of hashes.
so, for example:
hashcat -a 0 -m 2611 -e salts -o mytemp.out input.txt passwords.txt
perl remove.pl mytemp.out <password.txt >password.new
where the remove.pl is something like
$infile = shift;
open (IN,"<$infile") || die "can't find input file $infile:$!";
while (<IN>) {
chop;
if (/([0-9a-f]{32}):/) {
$hf{$1} = $_;
}
}
while (<>) {
if (/([0-9a-f]{32})/) {
if (exists $hf{$1}) {
# optional, if you want the solutions in the output
# print "$hf{$1}\n";
next;
}
}
print;
}
so, for example:
hashcat -a 0 -m 2611 -e salts -o mytemp.out input.txt passwords.txt
perl remove.pl mytemp.out <password.txt >password.new
where the remove.pl is something like
$infile = shift;
open (IN,"<$infile") || die "can't find input file $infile:$!";
while (<IN>) {
chop;
if (/([0-9a-f]{32}):/) {
$hf{$1} = $_;
}
}
while (<>) {
if (/([0-9a-f]{32})/) {
if (exists $hf{$1}) {
# optional, if you want the solutions in the output
# print "$hf{$1}\n";
next;
}
}
print;
}