Changeset 186
- Timestamp:
- 10/03/09 02:59:58 (4 years ago)
- File:
-
- 1 edited
-
fierce2/branch/fierce (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fierce2/branch/fierce
r185 r186 107 107 (Single domain, Multiple domains (Comma seperated) 108 108 or File list(one domain per line) ) 109 -range Scan an internal IP range (must be combined with109 -range [111.222.333.1-100] Scan an internal IP range (must be combined with 110 110 -dnsserver). Note, that this does not support a pattern 111 111 and will simply output anything it finds. … … 114 114 One of the following: [txt || xml || html] 115 115 -output [output] Output file 116 -template [dir] Template Directory 116 117 117 118 -prefix [prefix file] Prefix list for bruteforce attack … … 147 148 -wide Scan the entire class C after finding any matching 148 149 hostnames in that class C. 149 150 150 151 -debug Debug option 151 152 -verbose Verbose option … … 173 174 \%options, 174 175 'dns=s', 'format=s', 'no=s', 'all', 'wide', 'traverse=i', 175 'delay=i', 176 'delay=i','template=s', 176 177 'tcptimeout=i', 'udptimeout=i', 'threads=i', 'subdomains=s', 'search=s', 177 178 'dnsserver=s', 'ztstop', 'prefix=s', … … 326 327 } 327 328 329 my $include_path = "tt/$format"; 330 my $template; 331 if ($options{template} ) { 332 if ( -d $options{template} ) { 333 $template = $options{template}; 334 $include_path = "$template/$format"; 335 } 336 } 337 328 338 # some useful options (see below for full list) 329 339 my $config = { 330 INCLUDE_PATH => " tt/$format", # or list ref340 INCLUDE_PATH => "$include_path", # or list ref 331 341 INTERPOLATE => 1, # expand "$var" in plain text 332 342 POST_CHOMP => 1, # cleanup whitespace … … 399 409 foreach($oct2..$oct3) { 400 410 chomp; 401 print "adding $group.$_\n";402 411 push(@ipranges,"$group.$_"); 403 412 } … … 455 464 my ( $whois, $wildcard, $ext_bf, $find_nearby ); 456 465 457 my ( $zt_vars, $ns_vars, $prefix_bf_vars, $subdomain_bf_vars ); 458 my ( $reverse_lookup_vars, $find_mx_vars, $whois_vars ); 459 my ( $wildcard_vars, $ext_bf_vars, $vhost_vars ); 460 my ($find_nearby_vars); 461 462 my ( %output_data, $ns_output, $vhost_output, $vhost_result ); 463 my ( $subdomain_bf_result, $subdomain_bf_output ); 464 my ( $prefix_bf_result, $prefix_bf_output ); 465 my ( $wildcard_result, $wildcard_output ); 466 my ( $reverse_lookup_result, $reverse_lookup_output ); 467 my ( $find_mx_result, $find_mx_output ); 468 my ( $whois_result, $whois_output ); 469 my ( $ext_bf_result, $ext_bf_output ); 470 my ( $zt_result, $zt_output ); 471 my ( $find_nearby_result, $find_nearby_output ); 466 my ( %output_data, $vhost_result ); 467 my ( $subdomain_bf_result, $prefix_bf_result); 468 my ( $wildcard_result, $reverse_lookup_result); 469 my ( $find_mx_result, $whois_result); 470 my ( $ext_bf_result, $zt_result); 471 my ( $find_nearby_result); 472 472 473 473 print "Nameservers for $dns\n"
Note: See TracChangeset
for help on using the changeset viewer.