什么是零知识证明A zero-knowledge proof (ZKP) is a technique that enables one party (the prover) to demonstrate to another party (the verifier) the truth of a certain statement without revealing any additio...
Keyed Permutations题
解这种叫Bijection。
1crypto{bijection}
Resisting Bruteforce题
解根据图片中的描述,题目询问的是:“What is the name for the best single-key attack against AES?”
在描述中提到了:
AES 的安全性
一个攻击能将 AES-1...
Greatest Common Divisor题
解直接实现一下欧几里得算法(辗转相除法):
12345678910def gcd(x,y): if x == y: return x if x<y: return gcd(x,y-x) else: return gcd(y,x-y) print(gcd(66528,529...
题目描述
观察打开网页:
随便尝试输入点内容会发现
搜索的语句是
1SELECT * FROM inventory WHERE name LIKE '%1%'
所有尝试输入
1' OR 1=1 -- -
会发现可以注入成功。
注意,在MySQL/MariaDB中,如果 -- 后紧跟 %,它 不会被识别为注释符,而是视作 --%,导致SQL语法错误。所以我们...