quarks/net-analyzer/fierce/files/fierce-path.patch
2011-12-04 22:24:11 -08:00

26 lines
912 B
Diff

--- fierce.pl.orig 2011-12-04 22:22:07.912453710 -0800
+++ fierce.pl 2011-12-04 22:22:43.348452584 -0800
@@ -245,11 +245,11 @@
} elsif ($dns) {
output("\nUnsuccessful in zone transfer (it was worth a shot)");
output("Okay, trying the good old fashioned way... brute force");
- $wordlist = $wordlist || 'hosts.txt';
+ $wordlist = $wordlist || '/usr/share/fierce/hosts.txt';
if (-e $wordlist) {
# user provided or default
open (WORDLIST, '<', $wordlist) or
- open (WORDLIST, '<', 'hosts.txt') or
+ open (WORDLIST, '<', '/usr/share/fierce/hosts.txt') or
quit_early("Can't open $wordlist or the default wordlist");
for (<WORDLIST>){
chomp;
@@ -579,6 +579,8 @@
-wordlist Use a seperate wordlist (one word per line). Usage:
perl fierce.pl -dns examplecompany.com -wordlist dictionary.txt
+
+ Default hosts list is in /usr/share/fierce/hosts.txt
EOHELP
exit;
}