Syn-Flood 伴随着IP地址欺骗,大概原理就是不断的不停的发送Syn包,导致目标服务器没有一个完整的tcp连接 Scapy 基础的Scapy定义数据包头 >>> i=IP() >>> i.display() ###[ IP ]### version= 4 ihl= None tos= 0x0 ...
分类:
其他好文 时间:
2021-04-20 15:09:13
阅读次数:
0
简单实例: >存储过程,参数的传入! delimiter $ create procedure p1() begin declare i int default 10; select concat ('i的取值是:',i) as QuZhi; end $ delimiter $ create pro ...
分类:
数据库 时间:
2021-04-20 15:04:52
阅读次数:
0
这里用go to 来模拟汇编他们的区别 while 代码 int i = 0; while (i < 100) { i++; } goto 实现while int i = 0; WHILE_BEGIN: if (i < 100) { goto WHILE_END; } i++; goto WHILE ...
分类:
其他好文 时间:
2021-04-19 15:45:52
阅读次数:
0
link。 DAG 上的可重最小链覆盖,转化成偏序集的最大反链,其中偏序 \(\mathrm x \leq \mathrm y\) 当且仅当每一维 \(x_i \leq y_i\)。 以下记 \(a_i = p_i - 1\)。考虑如下的等价问题: 给定包含 \(n\) 种元素的多重集 \(S\), ...
分类:
其他好文 时间:
2021-04-14 11:52:15
阅读次数:
0
$\dfrac{a_1+a_2+\cdots+a_n}{n}\ge \sqrt[n]{a_1a_2\cdots a_n}$ ...
分类:
其他好文 时间:
2021-04-12 12:49:59
阅读次数:
0
Delphi function 函数的返回值,也就是Result,建议直接在函数开始就做一些初始化 例如下面的代码 procedure TForm1.FormCreate(Sender: TObject); var i:Integer; str:string; begin Memo1.Lines.C ...
总共有n个节点,m条路径,要求其中m-2条路径走两遍,剩下2条路径仅走一遍,问不同的路径总数有多少,如果仅走一遍的两条边不同则将这两条路径视为不同。 ...
分类:
其他好文 时间:
2021-04-10 13:19:55
阅读次数:
0
改变原数组方法 splice() : 返回删除项组成的数组 sort() reverse() fill() : 初始化数组 例如:new Array(26).fill(0) pop() push() shift() unshift() 不改变原数组方法 slice(begin ? ,end ?) : ...
分类:
编程语言 时间:
2021-04-09 13:42:08
阅读次数:
0
\(dp[0/1][i]\) :有 \(i\) 颗石子 Alice/Bob 为先手,Alice 赢的概率 令 \(P\) 为 Alice 拿走石子的概率, \(Q\) 为 Bob 拿走石子的概率。 $$\begin dp[0][i]=dp[1][i-1] * P+dp[1][i] * (1-P) \ ...
分类:
其他好文 时间:
2021-04-09 13:18:19
阅读次数:
0
#include<bits/stdc++.h>using namespace std;int maze [5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1, 1, 0,0, 0, 0, 1, 0,};typedef struct { ...
分类:
其他好文 时间:
2021-04-07 11:33:01
阅读次数:
0