Browser Detection

' . $_SERVER['HTTP_USER_AGENT'] . ' from ' . $_SERVER['REMOTE_ADDR'] . ' (' . gethostbyaddr($_SERVER['REMOTE_ADDR']) . ').'; ?>

Certificate Detection

' . $_SERVER['SSL_CLIENT_S_DN_CN'] . '.
' . 'A certificate for ' . $_SERVER['SSL_CLIENT_S_DN_Email'] . '' . ', issued by the ' . $_SERVER['SSL_CLIENT_I_DN_O'] . ', is correctly installed on your browser.
' . 'Your certificate will expire on ' . $_SERVER['SSL_CLIENT_V_END'] . '.'; } else { ?>No certificate has been detected. Please ensure you are accessing https://geofft.scripts.mit.edu:444/detect.php.

Server Detection

' . gethostbyaddr($server_ip) . ' (' . $server_ip . ').

';
 system('/sbin/ifconfig eth0');
 print '
'; ?>