上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 79 下一页

byte转string再转回为有损过程

摘要: private class HostRemoveResponseModifier implements Modifier { protected String getHost() { return url; } @Override public byte[] mod(byte[] origin) { 阅读全文
posted @ 2023-07-03 11:30 silyvin 阅读(37) 评论(0) 推荐(0)

非静态内部类newInstance

摘要: https://stackoverflow.com/questions/25634542/newinstance-with-inner-classes Non-static inner classes need an instance of the outer class to work prope 阅读全文
posted @ 2023-07-03 11:17 silyvin 阅读(50) 评论(0) 推荐(0)

-DskipTests与-Dmaven.test.skip

摘要: -DskipTests,不执行测试用例,但编译测试用例类生成相应的class文件至target/test-classes下。 -Dmaven.test.skip=true,不执行测试用例,也不编译测试用例类。 阅读全文
posted @ 2023-04-13 10:41 silyvin 阅读(45) 评论(0) 推荐(0)

使用MAT时的Shallow Size和 Retained Size的区别(二)

摘要: 理解VisualVM中的保留大小(Retained Size) https://www.jianshu.com/p/aaddf00a1d83 Retained size of an object is its shallow size plus the shallow sizes of the ob 阅读全文
posted @ 2023-04-04 16:39 silyvin 阅读(196) 评论(0) 推荐(0)

java object多大 java对象内存模型 数组有多长(二)偏移

摘要: 1 使用http://www.javamex.com/中提供的classmexer.jar来计算对象的大小。 2 org.openjdk.jol.info.ClassLayout Shallow org.openjdk.jol.info.GraphicLayout retained 3 自写 htt 阅读全文
posted @ 2023-03-30 10:53 silyvin 阅读(67) 评论(0) 推荐(0)

证书链

摘要: 一层公钥-一层签名二层公钥-一层签名三层公钥-一层签名 二层公钥解密三层签名,验证三层公钥一层公钥解密二层签名,验证二层公钥root公钥解密一层签名,验证一层公钥 自己的公钥➕中间CA私钥签名中间CA公钥➕根CA私钥签名根证书 用操作系统根证书验证中间CA公钥匙用已验证的的传过来的中间CA证书验证服 阅读全文
posted @ 2023-03-16 11:56 silyvin 阅读(38) 评论(0) 推荐(0)

java 获取内存信息(include direct buffer)

摘要: I am creating a scheduled executor to read the memory usage of the JVM. I have come across two ways to get memory statistics in a running JVM - Runtim 阅读全文
posted @ 2023-03-15 18:07 silyvin 阅读(222) 评论(0) 推荐(0)

ajax thisisunsafe

摘要: ajax 从chrome发出,对方公钥证书不是符合要求CA签发的,则会ssl握手失败,也没有机会强制信任 比如:http代理服务器(三)fiddler【重点】 当然应该可以从ajax指定信任一切服务端公钥 阅读全文
posted @ 2023-03-03 00:07 silyvin 阅读(29) 评论(0) 推荐(0)

https原理(七)其他

摘要: 1 fiddler原理+fiddler为什么抓chrome而不能抓curl和httpclient?fiddler为什么能篡改报文? 中的ssl pinning 本质即是双向ssl https://zhuanlan.zhihu.com/p/60392573/有一个破解的案例 2 单向ssl破解 htt 阅读全文
posted @ 2023-03-02 23:25 silyvin 阅读(78) 评论(0) 推荐(0)

https原理(八)Tunnel

摘要: Tunnel既不是给https用的,也不是给代理用的,是给https代理用的 之所以以前老觉得Https也有一个tunnel,是因为每次看https请求,fiddler本身就是http代理,本来就会有tunnel https本身是没有Connect method的 Tunnel & CONNECT 阅读全文
posted @ 2023-03-02 23:15 silyvin 阅读(479) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 79 下一页