上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 79 下一页

idea与命令行参数冲突

摘要: idea: C:\Users\xxx\.IdeaIC2019.1\config\idea64.exe.vmoptions idea启动行: -Xms2072m -Xmx2072m -XX:+PrintGCDetails jconsole查看启动进程为第一种,gc显示第二种: [GC (Allocat 阅读全文
posted @ 2019-12-31 14:44 silyvin 阅读(236) 评论(0) 推荐(0)

一次sso攻防研究

摘要: 背景:24netty(二十)http代理服务器 使用中间人模拟单点登录过程,拦截用户cookie中sessionid,同时确保其可用 *secretRequest除了sessionid、serviceid,可能还有个时间,比如两个时间对比需在10秒以内,像cas的st只能用一次,且需要在10s以内 阅读全文
posted @ 2019-12-31 14:17 silyvin 阅读(375) 评论(0) 推荐(0)

25一次http完整流程【yetdone】

摘要: https://mp.weixin.qq.com/s/263-00PbiDrUdLQJBOt_7Q https://www.cnblogs.com/pigpdong/p/10899800.html https://www.cnblogs.com/zafu/p/7698361.html 地址解析 ur 阅读全文
posted @ 2019-12-29 19:29 silyvin 阅读(370) 评论(0) 推荐(0)

linux tcp性能参数【yetdone】

摘要: https://mp.weixin.qq.com/s?srcid=1229Fiezd1SFYmCWtSJthQix&scene=23&sharer_sharetime=1577585166978&mid=2454934092&sharer_shareid=7cca4206c9bd967418f468 阅读全文
posted @ 2019-12-29 19:01 silyvin 阅读(1598) 评论(0) 推荐(0)

csrf与防护,get与post ,origin与referer host区别

摘要: 参考: https://blog.csdn.net/houdabiao/article/details/83058351 https://zhuanlan.zhihu.com/p/22521378?utm_source=wechat_session&utm_medium=social&utm_oi= 阅读全文
posted @ 2019-12-29 14:34 silyvin 阅读(1419) 评论(0) 推荐(0)

Netty 作为 http client 请求https 的 get与post

摘要: spring boot server: package com.example.demo.controller.ssl; import com.example.demo.controller.ProxyController; import org.springframework.stereotype 阅读全文
posted @ 2019-12-28 21:50 silyvin 阅读(4050) 评论(0) 推荐(0)

jdk closeable

摘要: 回收的时候,自动调用对象close方法 有两处实践: redis 连接池该取多大?? 23文件描述符耗尽(二)linux【本地】 阅读全文
posted @ 2019-12-26 22:32 silyvin 阅读(172) 评论(0) 推荐(0)

模拟登陆通过csrftoken验证

摘要: 问题:想模拟web端请求,但是发现仅带了登录的session会报403,查看请求头发现还需要携带csrftoken,所以开始研究csrftoken csrftoken:为了防止跨站域请求伪造,有的网站请求中会加入这个验证,在登录及登录后续的操作都会让你携带csrftoken,问题在于csrftoke 阅读全文
posted @ 2019-12-26 16:50 silyvin 阅读(2055) 评论(0) 推荐(0)

java 2个httpclient客户端处理 https + postman

摘要: 零 根据 spring boot https,在pb协议 jdk序列化协议中代码新建一个json序列化springboot controller,并配置ssl 一 java HttpURLConnection 关于JAVA发送Https请求(HttpsURLConnection和HttpURLCon 阅读全文
posted @ 2019-12-25 23:50 silyvin 阅读(2419) 评论(1) 推荐(1)

组合设计qps【重点】

摘要: 1 原则 1.1 同步: 上游最大生产速度(总最大生产速度)==下游最大生产速度==qps==qps1 * qps2/qps1 + qps2 <min{qps1, qps2} 池n2==下游服务并发数(看客户端异步、服务端异步与并发事务处理数、连接数的关系),n2 <= n1,开多了也没用,当n2= 阅读全文
posted @ 2019-12-22 14:44 silyvin 阅读(802) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 79 下一页