当前位置:网站首页>BUUCTF-RSA roll
BUUCTF-RSA roll
2022-07-27 21:07:00 【[email protected]】
1.题目
{920139713,19}
704796792
752211152
274704164
18414022
368270835
483295235
263072905
459788476
483295235
459788476
663551792
475206804
459788476
428313374
475206804
459788476
425392137
704796792
458265677
341524652
483295235
534149509
425392137
428313374
425392137
341524652
458265677
263072905
483295235
828509797
341524652
425392137
475206804
428313374
483295235
475206804
459788476
306220148
2.复现
直接分解n:

import gmpy2
import libnum
n=920139713
e=19
c=[704796792,752211152,274704164,18414022,368270835,483295235
,263072905
,459788476
,483295235
,459788476
,663551792
,475206804
,459788476
,428313374
,475206804
,459788476
,425392137
,704796792
,458265677
,341524652
,483295235
,534149509
,425392137
,428313374
,425392137
,341524652
,458265677
,263072905
,483295235
,828509797
,341524652
,425392137
,475206804
,428313374
,483295235
,475206804
,459788476
,306220148]
p=18443
q=49891
phi=(p-1)*(q-1)
d=gmpy2.invert(e,phi)
flag=''
for i in c:
m=pow(i,d,n)
flag=flag+chr(m)
print(flag)
#flag{13212je2ue28fy71w8u87y31r78eu1e2}
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_61774705/article/details/124647420
边栏推荐
- Character stream learning 14.3
- [GWCTF 2019]BabyRSA1
- Ideas, methods and steps of making folding fans with 3DMAX
- Redefine analysis - release of eventbridge real-time event analysis platform
- 日产1500万只!比亚迪口罩拿下美国加州10亿美元订单
- File&递归14.1
- The share price soared 180.46%! Shanghai silicon industry, the leader of domestic large silicon wafers, is listed: the cumulative net profit in recent four years is less than 60million
- proteus仿真arduino中调用DHT11/22温湿度传感器
- Under the epidemic, TSMC's growth in the first quarter exceeded expectations, with 7Nm accounting for 35%! Second quarter or record high
- Shuffle, partition and read of tfrecord
猜你喜欢

29. Learn the stacked column chart of highcharts using percentage

TOGAF10标准读书会首场活动圆满举办,精彩时刻回顾!
Software test function test full set of common interview questions [function test] interview summary 4-2

Is it really hard to understand? What level of cache is the recyclerview caching mechanism?

(十二)51单片机----用DS18B20浅测一下工(江)西的室外温度

Application of user portrait in precise push of wechat official account of scientific journals

Lua basic grammar learning

为什么 Redis 集群要使用反向代理? 看这篇就明白了

Reinforcement learning - pytorch realizes advantage actor critical (A2C)

org.junit.runners.model.InvalidTestClassError: Invalid test class ‘com.zhj.esdemo.MysqlTests‘: 1.
随机推荐
How to use xshell Free Edition
Flutter pull_ to_ refresh-1.6.0/lib/src/internals/slivers. dart:164:13: Error: Method not found: ‘descr
用3dmax做折扇的思路方法与步骤
Explain the idempotence of distributed system in detail
【12月海口】2022年第六届船舶,海洋与海事工程国际会议(NAOME 2022)
TOGAF10标准读书会首场活动圆满举办,精彩时刻回顾!
数据中台的那些“经验与陷阱”
NDK series (6): let's talk about the way and time to register JNI functions
[MRCTF2020]babyRSA
尚硅谷尚品项目汇笔记(一)
硬布线控制器的特点:
Redefine analysis - release of eventbridge real-time event analysis platform
2022/7/24-7/25
Your list is too laggy? These four optimizations can make your list silky smooth
2022 summer vacation daily question (5)
[ACTF新生赛2020]crypto-aes
C # delegate usage -- console project, which implements events through delegation
What technology is RPA process automation robot? How to realize office automation?
[December Haikou] the 6th International Conference on ships, marine and Maritime Engineering in 2022 (naome 2022)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: un