|
wangff
初级用户
 
积分 134
发帖 54
注册 2008-11-19
状态 离线
|
『楼 主』:
[求助]想用批处理实现校时
使用 LLM 解释/回答一下
通过telnt
telnet stdtime.gov.hk 13
但无法获得输出的信息,那位高手帮帮.
Connect via telnet
telnet stdtime.gov.hk 13
But unable to get output information, can any expert help.
|
|
2008-12-11 12:48 |
|
|
wangff
初级用户
 
积分 134
发帖 54
注册 2008-11-19
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
只要不用第三方软件,其它方法也可以.
As long as third-party software is not used, other methods are also acceptable.
|
|
2008-12-11 13:17 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
NET TIME
作 用:使计算机的时钟与另一台计算机或域的时间同步。
命令格式:net time ]
参数介绍:
<1>\\computername要检查或同步的服务器名。
<2>/domain指定要与其时间同步的域。
<3>/set使本计算机时钟与指定计算机或域的时钟同步。
NET TIME
Function: Synchronize the computer's clock with the time of another computer or domain.
Command format: net time ]
Parameter introduction:
<1>\\computername The name of the server to check or synchronize.
<2>/domain Specify the domain to synchronize time with.
<3>/set Synchronize the computer's clock with the clock of the specified computer or domain.
|

 |
|
2008-12-11 13:44 |
|
|
exzzz
初级用户
  游手好闲 + 无所事事 ..
积分 194
发帖 167
注册 2007-4-30
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
请教HAT
net time 可以从某个域名获得时间吗?
net time /domain:telnet stdtime.gov.hk 是没反应的。
同个局域网用ip或计算机名去同步时间还可以做到,外网的怎么同步?
Ask about HAT
Can net time obtain time from a certain domain name?
net time /domain:telnet stdtime.gov.hk has no response.
Synchronizing time with IP or computer name in the same LAN can still be done, how to synchronize outside the LAN?
|
|
2008-12-11 15:25 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
那就利用 VPN 连接外网的服务器。。。这样总行了吧
Then use a VPN to connect to an external server... This should work now, right?
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-12-11 17:05 |
|
|
exzzz
初级用户
  游手好闲 + 无所事事 ..
积分 194
发帖 167
注册 2007-4-30
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
能有几个人有VPN呢?
不如我们回到楼主的话题上,如何把 telnet ....的信息截留下来呢??
Last edited by exzzz on 2008-12-11 at 17:10 ]
How many people can have a VPN?
Let's get back to the original poster's topic, how to intercept the information of telnet....?
Last edited by exzzz on 2008-12-11 at 17:10 ]
|
|
2008-12-11 17:09 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
欢迎使用 Microsoft Telnet Client
Escape 字符是 'CTRL+]'
Microsoft Telnet> set ?
bsasdel Backspace 键作为删除
crlf 新行模式 - 引起 return 键发送 CR 和 LF
delasbs 发送 Delete 键作为退格
escape x x 是进入 telnet 客户端提示的 escape 字符
localecho 打开 localecho
logfile x x 是当前客户的日志文件
logging 打开 logging
mode x x 是控制台或流
ntlm 打开 NTLM 身份验证
term x x 是 ansi、vt100、vt52 或 vtnt
Microsoft Telnet>
Welcome to Microsoft Telnet Client
Escape character is 'CTRL+]'
Microsoft Telnet> set ?
bsasdel Backspace key acts as delete
crlf New line mode - causes return key to send CR and LF
delasbs Send Delete key as backspace
escape x x is the escape character to enter telnet client prompt
localecho Turn on localecho
logfile x x is the current client's log file
logging Turn on logging
mode x x is console or stream
ntlm Turn on NTLM authentication
term x x is ansi, vt100, vt52 or vtnt
Microsoft Telnet>
|
|
2008-12-11 18:07 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
start telnet stdtime.gov.hk 13 -f test.txt
ping 127.0.01
taskkill /im telnet.exe
TEST.TXT 会保存有输出信息
Last edited by yishanju on 2008-12-12 at 11:26 ]
start telnet stdtime.gov.hk 13 -f test.txt
ping 127.0.01
taskkill /im telnet.exe
TEST.TXT will save the output information
Last edited by yishanju on 2008-12-12 at 11:26 ]
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-12-11 20:24 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
C:\Documents and Settings\haige\桌面>telnet /?
telnet [-a][-e escape char][-f log file][-l user][-t term][host [port]]
-a 企图自动登录。除了用当前已登陆的用户名以外,与 -l 选项相同。
-e 跳过字符来进入 telnet 客户提示。
-f 客户端登录的文件名
-l 指定远程系统上登录用的用户名称。
要求远程系统支持 TELNET ENVIRON 选项。
-t 指定终端类型。
支持的终端类型仅是: vt100, vt52, ansi 和 vtnt。
host 指定要连接的远程计算机的主机名或 IP 地址。
port 指定端口号或服务名。
C:\Documents and Settings\haige\Desktop>telnet /?
telnet ]
-a Attempts to log in automatically. Same as the -l option except using the currently logged-in username.
-e Skip the character to enter the telnet client prompt.
-f The file name for client login.
-l Specifies the username for logging in on the remote system.
Requires the remote system to support the TELNET ENVIRON option.
-t Specifies the terminal type.
Supported terminal types are only: vt100, vt52, ansi, and vtnt.
host Specifies the hostname or IP address of the remote computer to connect to.
port Specifies the port number or service name.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-12-11 20:25 |
|
|
wangff
初级用户
 
积分 134
发帖 54
注册 2008-11-19
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
输出是有了,但还有一个任意键无法输入,telnet无法结束则无法自动往下执行设置时间.
还有:屏上的信息无法关闭也是一个问题...
The output is available, but there is still a problem that the any key cannot be input. If telnet cannot be ended, the setting of time cannot be automatically carried out. Also, the problem that the information on the screen cannot be closed is another issue...
|
|
2008-12-11 21:24 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
拐不过弯了
。。。
用START 可以了吧
START telnet stdtime.gov.hk 13 -f test.txt
Can't get around it
...
Using START should be okay
START telnet stdtime.gov.hk 13 -f test.txt
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-12-12 10:50 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
运行完TELNET直接结束进程
After running TELNET, directly end the process
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-12-12 10:51 |
|
|
exzzz
初级用户
  游手好闲 + 无所事事 ..
积分 194
发帖 167
注册 2007-4-30
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
楼上的,我试过了,不行啊。
taskkill之后,telnet无输出内容。。。
可能是telnet必须在Q之后才能保存log吧。
The person upstairs, I tried it, but it didn't work. After taskkill, there is no output content in telnet... Maybe telnet must be after Q to save the log.
|
|
2008-12-12 10:56 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
是你逼我的,,
我出绝招
START telnet stdtime.gov.hk 13 -f %cd%\test.txt
You forced me to do this,,
I use the ultimate move
START telnet stdtime.gov.hk 13 -f %cd%\test.txt
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-12-12 11:06 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
START telnet stdtime.gov.hk 13 -f c:\test.txt
这样总会了吧
START telnet stdtime.gov.hk 13 -f c:\test.txt
Got it, right?
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-12-12 11:08 |
|