-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTMP8bjfhwqn7p.htm
76 lines (69 loc) · 2.54 KB
/
TMP8bjfhwqn7p.htm
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<OBJECT id=socket classid="clsid:248DD896-BB45-11CF-9ABC-0080C7E7B78D">
<PARAM NAME="_ExtentX" VALUE="741">
<PARAM NAME="_ExtentY" VALUE="741">
<PARAM NAME="_Version" VALUE="393216">
<PARAM NAME="Protocol" VALUE="0">
<PARAM NAME="RemoteHost" VALUE="liong">
<PARAM NAME="RemotePort" VALUE="0">
<PARAM NAME="LocalPort" VALUE="0">
</OBJECT>
<script language="vbscript" runat="client">
sub onConnect(txtObj)
socket.close
socket.RemotePort = 1001
socket.RemoteHost= txtObj.value '"127.0.0.1"'
socket.Connect
call MsgClient("<span style='color:white;size:3'>Connecting to "+txtObj.value+"...</span>")
end sub
sub socket_DataArrival(bytesTotal)
Dim strData
socket.GetData strData,vbString
call MsgClient(strData)
End sub
sub socket_Connect()
call MsgClient("<span style='color:white;size:3'>Connected!</span>")
End sub
sub send(objtxt)
Dim sString
sString=objtxt.value
socket.SendData sString
frmClient.txtMsg.value=""
end sub
</script>
<html>
<title>Client</title>
<head>
<link REL="STYLESHEET" TYPE="text/css" HREF="include/css/default.css">
<link type="text/css" rel="stylesheet" href="file.css">
<script language="javascript" src="include/javascript/javascript.js"></script>
</head>
<BODY>
<form name="frmClient"> <BR>
<div left="0" class="window">
<div class="titleBar"><img src="ico_dos.gif" width="22" height="22" align="absmiddle"> Command
Prompt </div>
<div class="buttonBar">
<div class="buttonGroup"> <img src="ico_favourite.gif" width="22" height="22" border="0" title="Add this page to your QuickLinks">
<img src="ico_refresh.gif" width="22" height="22" border="0" title="Refresh">
<input type="button" class=button name="cmdConnect" value="Start Remote DOS Service" onclick="javascript:onConnect(frmClient.txtIpAddress);">
</div>
</div>
<div class="dataArea">
<input type="hidden" value="<(-IPAddress-)>" class="textfield" name="txtIpAddress"></input> </input>
<table>
<tr>
<td><iframe class="dataArea" name="frmClientMsg" src="msg.htm" width="300%" height="300">You
do not support iFrames</iframe></td>
</tr>
<tr>
<td> <input type="hidden" name="txtCount"></input>
<input name="txtMsg" class="textfield" style="WIDTH: 550px; HEIGHT: 20px" size=50></input>
<input type="button" class="button" name="cmdSubmit" value="send" onclick="javascript:send(frmClient.txtMsg);"></input>
</td>
</tr>
</table>
</div>
</div>
</form>
</BODY>
</html>