Changeset 81


Ignore:
Timestamp:
09/24/2008 05:36:14 PM (5 years ago)
Author:
deity
Message:

Allow credentials to be passed on the command line and Ampache tests

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/CHANGES.txt

    r80 r81  
     12008-09-24 plugins/nikto_core.plugin db_tets 
     2        - Fixed problem with nikto using authentication provided from the 
     3          command line. It now adds it to the list of realms. 
     4        - Added extra test to highlight localstart.asp if it is the default 
     5          page. 
     6        - Added tests to identify Ampache. 
    172008-09-23 plugins/*.plugin 
    28        - Added support for conditional recon and scan plugins. 
  • trunk/plugins/db_tests

    r45 r81  
    35873587"003583","3092","3","/content/sitemap.gz","GET","200","","","","","The sitemap.gz file, used for Google indexing, contains an xml representation of the web site\'s structure.","","" 
    35883588"003584","3233","b","/icons/README","GET","Public Domain Icons","","","","","Apache default file found.","","" 
     3589"003585","3092","b","/localstart.asp","GET","Welcome to IIS","","","","","Default IIS install page found, containing version and path of web root.","","" 
     3590"003586","0","b","ampache/update.php","GET","Ampache Update","","","","","Ampache update page is visible.","","" 
     3591"003587","0","b","ampache/login.php","GET","Ampache :: Pour l'Amour de la Musique","","","","","Ampache is installed.","","" 
     3592"003588","0","b","ampache/docs/README","GET","README - Ampache","","","","","Ampache installation documents found.","","" 
    35893593 
  • trunk/plugins/nikto_core.plugin

    r80 r81  
    794794  if (($#x ne 1) || ($x[0] eq "")) 
    795795   { nprint("+ ERROR: '$CLI{hostauth}' (-i option) syntax is 'user:password' or 'user:password:domain' for host authentication."); exit;  } 
    796   $NIKTO{hostid}     = $x[0]; 
    797   $NIKTO{hostpw}     = $x[1]; 
    798   $NIKTO{hostdomain} = $x[2]; 
    799796 }  
    800797 
     
    12101207                $db_realms_ctr++; 
    12111208              } 
     1209            # Cheat and add CLI directly to REALMS 
     1210            if (defined $CLI{hostauth}) 
     1211            { 
     1212             my @x=split(/:/,$CLI{hostauth}); 
     1213 
     1214             $REALMS{$db_realms_ctr}{tid} = "700500"; 
     1215             $REALMS{$db_realms_ctr}{realm} = $x[2]; 
     1216             $REALMS{$db_realms_ctr}{pw} = $x[1]; 
     1217             $REALMS{$db_realms_ctr}{id} = $x[0]; 
     1218             $REALMS{$db_realms_ctr}{msg} = "Credentials provided by CLI."; 
     1219            } 
    12121220           } 
    12131221 
Note: See TracChangeset for help on using the changeset viewer.