摘要: 1、用wireshark截取访问百度首页拿到的请求数据包: 2、新建test.txt添加以上内容,补两个回车。保存到已知目录/lj 3、在终端下输入nc -v www.baidu.com 80 </lj/test.txt 回车。如下: host没找到,重定向百度最近的域名服务器了吧? 我的问题如下: 阅读全文
posted @ 2017-02-24 16:52 boluoboluo 阅读(2352) 评论(1) 推荐(0) 编辑
摘要: linux nc命令使用详解 功能说明:功能强大的网络工具 语 法:nc [-hlnruz][-g][-G][-i][-o][-p][-s][-v...][-w][主机名称][通信端口...] 参 数: -g 设置路由器跃程通信网关,最丢哦可设置8个。 -G 设置来源路由指向器,其数值为4的倍数。 -h 在线帮助。 -i 设置时间间隔,以便传送信息及扫描通信端口。 -l... 阅读全文
posted @ 2017-02-24 11:28 boluoboluo 阅读(17308) 评论(0) 推荐(1) 编辑
摘要: 设置默认nc: 阅读全文
posted @ 2017-02-24 11:14 boluoboluo 阅读(2242) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.chinaunix.net/uid-24876683-id-3593774.html 阅读全文
posted @ 2017-02-24 00:42 boluoboluo 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1. 找到文件并作如下修改: sudo vim /etc/network/interfaces --i:编辑,按esc,输入:wq,保存退出 修改如下部分: auto eth0 iface eth0 inet static address 192.168.0.117 gateway 192.168.0.1 #这个地址你要确认下 网关是不是这个地址 netmask 255.255.25... 阅读全文
posted @ 2017-02-24 00:37 boluoboluo 阅读(189) 评论(0) 推荐(0) 编辑