上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页
摘要: The source code: import sympy from gmpy2 import gcd, invert from random import randint from Crypto.Util.number import getPrime, isPrime, getRandomNBit 阅读全文
posted @ 2023-09-14 21:26 N0zoM1z0 阅读(74) 评论(0) 推荐(0) 编辑
摘要: We have n,e,dp,c. Assume that it is quite difficult to factorize n, but it can be easily divided in fact. What can we do with dp leak? dp ≡ d mod (p-1 阅读全文
posted @ 2023-09-14 14:37 N0zoM1z0 阅读(21) 评论(0) 推荐(0) 编辑
摘要: This is the problem that requires some math skills. We have p,q,dp,dq,c. Now let's start to solve it. dp ≡ d mod(p-1) dq ≡ d mod(q-1) m ≡ c^d mod n m 阅读全文
posted @ 2023-09-14 13:37 N0zoM1z0 阅读(10) 评论(0) 推荐(0) 编辑
摘要: The solution is based on the fact that we have got the source code.However, how could I get the source code? So, this one is to broaden my web knowled 阅读全文
posted @ 2023-09-14 09:00 N0zoM1z0 阅读(11) 评论(0) 推荐(0) 编辑
摘要: Assume that we have 2 groups of data, we find that n is the same and m also is. What can we do to work out m without factorize n?(actually we cannot f 阅读全文
posted @ 2023-09-13 23:01 N0zoM1z0 阅读(6) 评论(0) 推荐(0) 编辑
摘要: To review some types of problems solved today. 1. Just using brute force to factorize the n, as long as we find the p and q, we can easily calculate t 阅读全文
posted @ 2023-09-12 22:19 N0zoM1z0 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 当e很小 n很大的时候 直接枚举开方即可 from Crypto.Util.number import * import gmpy2 from gmpy2 import * import primefac def modinv(a,n): return primefac.modinv(a,n) % 阅读全文
posted @ 2023-09-12 08:11 N0zoM1z0 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 考察的绕过方法挺多的 首先 用burpsuite对 username 进行fuzz测试 发现 过滤了 and 空格 # /**/ = & && 等 所以空格只能用括号绕过 但是它没有过滤 or select from where! 再加上我们发现单引号能触发报错 所以可以报错注入 这里有个考点: 以 阅读全文
posted @ 2023-09-10 10:33 N0zoM1z0 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 大概算是RCE漏洞 但是它过滤掉了字母和很多字符 num只能传数字的话完全没有办法RCE 这里的绕过很DAY^-1... PHP在解析变量名时会自动将空格去掉 但是"? num=1"和"?num=1"上传时是会被视为不同的 所以可以用"? num=1;..."来绕过对非数字的过滤 而后尝试 ls无果 阅读全文
posted @ 2023-09-10 09:27 N0zoM1z0 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 1. 用Burpsuite抓包发现以post请求上传 service参数 题目又告诉了 /flag.txt 直接用file协议读取 service=file:///flag.txt 2. 在1的基础上进行了过滤 必须要是 xxx://xxxxx/xxxxx 这种格式 所以中间要加 127.0.0.1 阅读全文
posted @ 2023-09-09 10:10 N0zoM1z0 阅读(276) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页