Changeset 494


Ignore:
Timestamp:
08/05/2010 01:46:24 PM (3 years ago)
Author:
sullo
Message:

Actually add msf plugin
Cleanup pause code a little
Report missing modules in version output

Location:
trunk/plugins
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/nikto_core.plugin

    r493 r494  
    721721    } 
    722722    elsif ($key eq 'P') { 
    723         my $sleep = 1; 
    724         nprint("- Pausing, press P to resume."); 
    725         while ($sleep) { 
    726             sleep 1; 
    727             if (readkey() eq 'P') { 
    728                 $sleep = 0; 
    729                 nprint("- Resuming."); 
    730             } 
    731         } 
     723        nprint("- Pausing--press P to resume."); 
     724        while (readkey() ne 'P') { } 
     725        nprint("- Resuming."); 
    732726    } 
    733727    return; 
     
    22162210        nprint("$FILE" . " " x $ws1 . "$VERS[0]" . " " x $ws2 . "$modification[4]"); 
    22172211    } 
     2212    nprint($NIKTO{'DIV'}); 
     2213 
     2214    # Check dependencies 
     2215    eval "require RPC::XML"; 
     2216    if ($@) { 
     2217        nprint("Module RPC::XML missing. Logging to Metasploit is disabled."); 
     2218        } 
     2219    eval "require RPC::XML::Client"; 
     2220    if ($@) { 
     2221        nprint("Module RPC::XML::Client missing. Logging to Metasploit is disabled."); 
     2222        } 
    22182223    nprint($NIKTO{'DIV'}); 
    22192224 
Note: See TracChangeset for help on using the changeset viewer.