# This script was written by Michel Arboi (GPL)

account = "user";
password = "debug";

if(description)
{
 script_id(17293);
 script_version ("$Revision: 1.1 $");
 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);
 exit(0);
}

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

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