最新文章

CentOS 7.x 编译安装 高版本 git出错解决方案

CentOS 7.x 编译安装 高版本 git出错解决方案

  CentOS操作系统默认安装的git版本是 1.8.3.1 ,此版本有任意文件写入漏洞。 需要升级到2.30.9 及以上版本 才可以修复此漏洞。 修复中遇到了问题 imap-send.o: In functio...

2023-11-29 admin 285 阅读
宝塔面板开启面板SSL后打不开

宝塔面板开启面板SSL后打不开

宝塔面板开启面板SSL后,使用http地址,访问面板地址会提升 连接被重置 “ERR_CONNECTION_RESET”    如图。 解决办法 1、请访问   https://宝塔地址:端口/入口   2、若出现 如提...

2023-11-29 admin 281 阅读
Docker 学习常用命令

Docker 学习常用命令

重启容器 docker restart container_name 后台运行  docker run -d container_name 容器重启后自动运行 docker run -d container_name --restart=always 已经运行的容器增...

2023-10-29 admin 239 阅读
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-53a1479fa50e -j RETURN: iptables: No chain/target/match by that name. (exit status 1))

ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-53a1479fa50e -j RETURN: iptables: No chain/target/match by that name. (exit status 1))

ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  (iptables failed: iptables --wait -t nat -I DOCKER -i br-53a1479fa50e -j RETURN: iptables: No chain/target/ma...

2023-10-29 admin 273 阅读
常见网站安全漏洞处理方法

常见网站安全漏洞处理方法

如果使用nginx nginx.conf 文件中设置 http{ } 或 server{ } add_header Set-Cookie "HttpOnly"; add_header Set-Cookie "Secure";   如果使用IIS <rewrite&g...

2023-10-29 admin 267 阅读
什么是 xss 攻击?

什么是 xss 攻击?

XSS(跨站脚本攻击)是一种常见的网络安全漏洞,它利用了网页应用程序对用户输入的不充分过滤和验证。攻击者通过在受攻击网站的页面中插入恶意的代码,使得浏览器无法区分并执行这段代码,从...

2023-10-29 admin 258 阅读
IIS 禁用 HTTP OPTINOS 方法

IIS 禁用 HTTP OPTINOS 方法

在 IIS 上关闭 HTTP 请求中的 Trace 和 OPTIONS 方法可以通过修改 Web.config 文件来实现。以下是具体步骤: 1. 打开项目的 Web.config 文件。 2. 在 <configuration> 节点下添...

2023-09-29 admin 363 阅读
Thinkphp修复XSS跨站脚本攻击

Thinkphp修复XSS跨站脚本攻击

  网站收到漏洞整改通知,参考教程https://blog.csdn.net/qq15577969/article/details/130633666 设置后还是不行 , 最后找了很多教程,在.htaccess文件中添加  Header set C...

2023-08-29 admin 286 阅读
常用Nginx日志分析命令

常用Nginx日志分析命令

1、查看访问量最大的前100个ip awk '{print $1}' 日志文件.log | sort -n |uniq -c | sort -rn | head -n 100 2、查看访问次数超过1000次的ip awk '{print $1}' 日志文件.log | sor...

2023-06-29 admin 220 阅读
用navicat 连接SQL Server 提示:想要连接SqlServer 您需要安装 Microsoft SQL Server Native Client

用navicat 连接SQL Server 提示:想要连接SqlServer 您需要安装 Microsoft SQL Server Native Client

新安装的Navicat连接连接SQL Server 提示:想要连接SqlServer 您需要安装 Microsoft SQL Server Native Client  如图 原因是Navicat并没有初始化安装sqlncli, 所以连接的时候会报 没...

2023-06-29 admin 470 阅读