邪恶八进制信息安全团队技术讨论组's Archiver

冰血封情 2004-10-16 21:33

[转载]如何为W2k创建一个tftp

信息来源:协议分析

C:\>dir tftpdroot
驱动器 C 中的卷是 C
卷的序列号是 1E23-1907

C:\tftpdroot 的目录

2001-09-22 01:14 <DIR> .
2001-09-22 01:14 <DIR> ..
2001-09-22 01:14 4,209 sometips.gif
1 个文件 4,209 字节
2 个目录 94,113,792 可用字节

   注意,如果你上传文件,系统会在%systemdrive%自动创建一个名为tftproot的目录,OK,所有的工作已经完成了!
INSTSRV MyService C:\MyDir\DiskService.Exe
-OR-
INSTSRV MyService C:\mailsrv\mailsrv.exe -a MYDOMAIN\joebob -p foo

Remove service example:

INSTSRV MyService REMOVE
[俺的特色:字不够,帮助凑!]

添加一个服务,注意,该服务创建侯为自动启动。
C:\>instsrv tftp c:\winnt\system32\tftpd.exe
The service was successfuly added!

Make sure that you go into the Control Panel and use
the Services applet to change the Account Name and
Password that this newly installed service will use
for its Security Context.

启动服务
C:\>net start tftp
tftp 服务正在启动 .
tftp 服务已经启动成功。

测试服务是否正常工作
C:\>tftp -i 61.135.21.195 PUT sometips.gif sometips.gif
Transfer successful: 4209 bytes in 1 second, 4209 bytes/s

页: [1]
© 1999-2008 EvilOctal Security Team