# This script was written by Michel Arboi (GPL)

account = "super";
password = "debug";

if(description)
{
 script_id(17291);
 script_version ("$Revision: 1.3 $");
 script_cve_id("CAN-1999-1420", "CAN-1999-1421");
 script_bugtraq_id(212);
 
 script_name(english:string("Default password (", password, ") for ", account));
 script_description(english:string("
The account '", account, "' has the password ", password, "
An attacker may use it to gain further privileges on this system

Risk factor : High
Solution : Set a password for this account or disable it"));
		 
script_summary(english:"Logs into the remote host",
	       francais:"Translate");

 script_category(ACT_GATHER_INFO);

 script_family(english:"Default Unix Accounts");
 
 script_copyright(english:"This script is Copyright (C) 2005 Michel Arboi");
 
 script_dependencie("find_service.nes");
 script_require_ports("Services/telnet", 23, "Services/ssh", 22);
 script_require_keys("Settings/ThoroughTests");
 exit(0);
}

#
include("ssh_func.inc");
include("default_account.inc");
include('global_settings.inc');

if ( ! thorough_tests ) exit(0);

port = check_account(login:account, password:password);
if(port)security_hole(port);
