实验环境:
Ubuntu1904
实验工具:
openssl
rsatool.py(可在https://github.com/adeptex/rsatool或者https://github.com/ius/rsatool(免安装)上下载)
yafu(可在https://github.com/DarkenCode/yafu上下载)
分析过程
1、我们将下载的压缩包crypto7.rar解压
发现有两个文件:
首先我们使用openssl提取出public.pem中的相关参数(关于openssl的相关知识,可以自行google),命令如下:
openssl rsa -pubin -text -modulus -in warmup -in pubkey.pem
会得到如下结果:
从中我们可以得到两个大素数的乘积(n)为:
c2636ae5c3d8e43ffb97ab09028f1aac