Changeset 615


Ignore:
Timestamp:
01/28/2011 09:34:08 PM (2 years ago)
Author:
sullo
Message:

Don't add extra / for -root if input to -host is a full URI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/nikto_core.plugin

    r613 r615  
    960960            $defport = $hostdata[3]; 
    961961 
    962            if (($hostdata[0] ne '') && ($root eq '')) { 
     962           if (($hostdata[0] ne '/') && ($hostdata[0] ne '') && ($root eq '')) { 
    963963                $markhash->{'root'} = $hostdata[0]; 
    964964                nprint("- Added -root value of '$hostdata[0]' from URI", "v"); 
Note: See TracChangeset for help on using the changeset viewer.