1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
1
<html>
<head>
<title>ProperJavaRDP</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div id="appletx">
<h2>You may close this window when you are finished with your RDP session...</h2>
<script>
function generateHTML(server) {
var html = '<applet code="com.elusiva.rdp.applet.RdpApplet.class"';
html += ' codebase=""';
html += ' archive="javaRDP16-1.1.jar"';
html += ' width="640" height="480"';
html += 'name="ProperJavaRDP" align="center">';
html += '<param name="code" value="com.elusiva.rdp.applet.RdpApplet.class">';
html += '<param name="codebase" value="">';
html += '<param name="archive" value="javaRDP16-1.1.jar">';
html += '<param name="cabbase" value="">';
html += '<param name="name" value="properJavaRDP">';
html += '<param name="geometry" value="1024x768">';
html += '<param name="server" value="'+server+'">';
html += '<param name="align" value="center">';
html += '<param name="port" value="3389">';
html += '<param name="username" value="toto">';
html += '<param name="password" value="toto">';
html += '<param name="bpp" value="24">';
html += '<param name="fm" value=" ">';
html += '<param name="shell" value="c:\\seamlessnew\\rdpshell.exe%20C:\\Program%20Files\\Internet%20Explorer\\iexplore.exe">';
html += '</applet>';
return html;
}
function promptuserforservername() {
var server = prompt("Server Name:","192.168.1.14");
var myhtml = generateHTML(server);
document.getElementById("appletx")["innerHTML"] = myhtml;
}
</script>
<script> promptuserforservername();</script>
</body>
</html> |
Partager