`
简单线条
  • 浏览: 4834 次
  • 性别: Icon_minigender_1
  • 来自: 湖南
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

常见的网络命令

阅读更多
[color=darkred][/color]
ping:测试物理网络

  -t             Ping the specified host until stopped.
                 To see statistics and continue - type Control-Break;
                 To stop - type Control-C.
  -a             Resolve addresses to hostnames.
  -n count       Number of echo requests to send.
  -l size        Send buffer size.
  -f             Set Don't Fragment flag in packet.
  -i TTL         Time To Live.
  -v TOS         Type Of Service.
  -r count       Record route for count hops.
  -s count       Timestamp for count hops.
  -j host-list   Loose source route along host-list.
  -k host-list   Strict source route along host-list.
  -w timeout     Timeout in milliseconds to wait for each reply.

查看DNS IP Mac:ipconfig

.netstat -a 显示出你的计算机当前所开放的所有端口
netstat -s -e 比较详细的显示你的网络资料,包括TCP、UDP、ICMP 和 IP的统计等


探测arp绑定(动态和静态)列表,显示所有连接了我的计算机,显示对方IP和MAC地址
arp -a


在代理服务器端
捆绑IP和MAC地址,解决局域网内盗用IP!:
ARP -s 192.168.10.59 00 -50-ff-6c-08-75

解除网卡的IP与MAC地址的绑定:
arp -d 网卡IP

在网络邻居上隐藏你的计算机 (让人家看不见你!) feedom.net
net config server /hidden:yes
net config server /hidden:no 则为开启

11.关于共享安全的几个命令
A.查看你机器的共享资源 net share
B.手工删除共享(可以编个bat文件,开机自运行,把共享都删了!) 中国网管联盟www、bitsCN、com
net share c$ /d
net share d$ /d
net share ipc$ /d
net share admin$ /d
注意$后有空格。


C.增加一个共享:
c:\net share mymovie=e:\downloads\movie /users:1
mymovie 共享成功。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics