DDoS即分布式拒绝服务攻击,DDoS里面的 DoS是denial of service(停止服务)的缩写,表示这种攻击的目的,就是使得服务中断。最前面的那个D是 distributed(分布式),表示攻击不是来自一个地方,而是来自四面八方,因此更难防御。 什么是DDoS攻击? 这是我见过最有趣、最 ...
分类:
其他好文 时间:
2020-07-04 22:38:44
阅读次数:
95
微博登录页面分析 目标网站:https://weibo.com/ 微博密码加密使用的是rsa算法 微博登陆成功总共涉及到三个步骤: 1、向https://login.sina.com.cn/sso/prelogin.php发送请求来获取密码加密所需要的公钥及一系列下次发送请求所需要的参数 2、向ht ...
分类:
编程语言 时间:
2020-07-04 22:37:17
阅读次数:
100
配置文件加载 方式一 Controller上面配置@PropertySource({"classpath:pay.properties"}) 添加属性@Value("wxpay.appid") private String payAppid; pay.properties # 微信支付的appid ...
分类:
编程语言 时间:
2020-07-04 22:24:32
阅读次数:
94
前提:windows7 '1关闭防火墙set objFirewall=CreateObject("HNetCfg.FwPolicy2")Const NET_FW_PROFILE2_DOMAIN = 1Const NET_FW_PROFILE2_PRIVATE = 2Const NET_FW_PROF ...
分类:
其他好文 时间:
2020-07-04 21:06:03
阅读次数:
90
前提:centos7 1、yum -y install sendmail 2、yum install -y mailx 3、systemctl start sendmail.service 4、systemctl enable sendmail.service 5、在/etc/mail.rc 新添加 ...
分类:
系统相关 时间:
2020-07-04 21:04:38
阅读次数:
77
一、使用setState现象 1.不可变值 class StateDemo extends React.Component { constructor(props) { super(props) this.state = { count: 0 } } render() { return <div> ...
分类:
其他好文 时间:
2020-07-04 20:55:55
阅读次数:
77
1.JSX的使用 class JSXBaseDemo extends React.Component { constructor(props) { super(props) this.state = { name: 'xiaoming', imgUrl: 'https://img1.mukewang ...
分类:
Web程序 时间:
2020-07-04 20:48:13
阅读次数:
84
1.react父子组件之间通过props传递数据,通过callback回调子组件向父组件通信, 我们看下面的伪代码: class TodoListDemo extends React.Component { constructor(props) { super(props) // 状态(数据)提升 ...
分类:
其他好文 时间:
2020-07-04 20:45:48
阅读次数:
67
spring组件的构造器参好神奇 这里有一个接口:FruitService和两个实现类:AppleService、BananaService,假设我想在其中一个实现类实例化中获取当前Spring容器的Bean怎么办? 只需要重写该实现类的构造方法: @Component public class A ...
分类:
编程语言 时间:
2020-07-04 19:08:11
阅读次数:
78
简要 环境搭建 安装TortoiseSVN IDEA集成TortoiseSVN 常用操作 Share Project Checkout Add Delete Update Revert Commit Edit Conflicts Others Local Changes Repository Inc ...
分类:
其他好文 时间:
2020-07-04 18:43:24
阅读次数:
74