nova/tools/ajaxterm/ajaxterm.html
2010-09-17 20:36:13 -07:00

26 lines
905 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Ajaxterm</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="ajaxterm.css"/>
<script type="text/javascript" src="sarissa.js"></script>
<script type="text/javascript" src="sarissa_dhtml.js"></script>
<script type="text/javascript" src="ajaxterm.js"></script>
<script type="text/javascript">
/*
ajaxterm.py creates a random session_id to demultiplex multiple connections,
and to add a layer of security - in its shipping form, ajaxterm accepted any session_id
and was susceptible to an easy exploit
*/
SESSION_ID = '$session_id';
window.onload=function() {
t=ajaxterm.Terminal("term",80,25);
};
</script>
</head>
<body>
<div id="term"></div>
</body>
</html>