![](https://img-blog.csdnimg.cn/2019091813595558.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
安全
文章平均质量分 51
安全
Lxinccode
java
展开
-
安全(7) : JWT鉴权
【代码】安全(7) : JWT鉴权。转载 2023-04-03 11:48:28 · 117 阅读 · 0 评论 -
安全(6) : centos[2] : iptables开启白名单限制ip访问
参考 :iptables配置ip白名单_洋葱小万666的博客-CSDN博客_iptables设置白名单系统版本 : CentOS Linux release 7.6.1810 (Core)iptables版本 : iptables v1.4.21注 : 查看版本iptables -V生成修改脚本(因为执行限制输入之后所有连接都会断开,也无法重连,生成shell脚本后面的白名单才能成功添加)cat > modifyIptables.sh << 'EOF'.转载 2022-01-10 22:55:05 · 3446 阅读 · 4 评论 -
安全(5) : centos[1] : 目标主机showmount -e信息泄露(CVE-1999-0554)[原理扫描]
参考 :解决目标主机showmount -e信息泄露(CVE-1999-0554)(亲测可用) – McGrady的技术分享转载 2022-01-10 10:36:28 · 1075 阅读 · 0 评论 -
安全(4) : centos7离线升级openssh8.8
参考 : centos几步离线升级OpenSSH 8.6p1(或者OpenSSH8.8p1,亲测可用,纯离线快捷)_小轩的名古屋-CSDN博客_centos离线升级opensshSSH 服务 异常报错“Failed to start OpenSSH Server daemon” 该怎么办???_happy_小丸子的博客-CSDN博客SSH连接报错:Permission denied, please try again.的解决方法 - 云+社区 - 腾讯云centos7.3升级op...转载 2022-01-07 21:21:56 · 1508 阅读 · 4 评论 -
安全(1) : 防SQL攻击[1] : springboot定义切面过滤请求参数
参考 : https://blog.csdn.net/qq_23184291/article/details/79651093 https://blog.csdn.net/weixin_39728880/article/details/101029681import com.aliyun.et.industry.pangang.api.exception.Panga...原创 2019-11-07 18:01:14 · 611 阅读 · 0 评论 -
安全(3) : https
参考 :https://www.cnblogs.com/buptleida/p/12090237.html1.寻找openssl.cnf路径find / -name openssl.cnf2.生成CA私钥 openssl genrsa -out ca.key 20483.生成CA证书(100年)openssl req -new -x509 -days 36500 -key ca.key -out ca.crt -config /etc/pki/tls/openssl.cnf.转载 2021-07-28 12:37:10 · 288 阅读 · 0 评论 -
安全(2) : java字符串加密
import org.apache.commons.codec.binary.Base64;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import javax.crypto.Cipher;import javax.crypto.KeyGenerator;import javax.crypto.SecretKey;i...原创 2018-07-30 16:06:22 · 1408 阅读 · 0 评论 -
安全(2) : JavaWeb参数加密传递
html中的JavaScript中有示例,下面java代码也有示例html<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script src="ace.js"&原创 2018-07-30 16:58:23 · 1720 阅读 · 1 评论