当前位置:网站首页>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
边栏推荐
- 史上最简明的 Tcpdump 入门指南,看这一篇就够了
- Redis hash underlying data structure
- Join hands with Changjiang storage, jiangbolong launches the world's smallest expansion card
- File & recursion 14.1
- Apple releases new iPhone se: equipped with A13 bionic processor, priced from 3299 yuan
- NDK 系列(6):说一下注册 JNI 函数的方式和时机
- js数组复制速度测试220320
- 数据中台的那些“经验与陷阱”
- 日产1500万只!比亚迪口罩拿下美国加州10亿美元订单
- BUUCTF-[BJDCTF2020]RSA1
猜你喜欢

2022 summer vacation daily question (5)

低代码开发前景如何,大家都真的看好低代码开发吗?

重新定义分析 - EventBridge 实时事件分析平台发布

Redis hash underlying data structure

Interviewer: let's talk about the specific process of network data transmission

Redefine analysis - release of eventbridge real-time event analysis platform

Date的使用

29.学习Highcharts 使用百分比的堆叠柱形图

Can Siemens PLC collect analog data of multiple slave stations in real time and wirelessly?

CaEGCN: Cross-Attention Fusion based Enhanced Graph Convolutional Network for Clustering 2021
随机推荐
低代码开发前景如何,大家都真的看好低代码开发吗?
Ideas, methods and steps of making folding fans with 3DMAX
Interviewer: let's talk about the specific process of network data transmission
Flutter pull_ to_ refresh-1.6.0/lib/src/internals/slivers. dart:164:13: Error: Method not found: ‘descr
15million per day! BYD masks won a US $1billion order in California
[RoarCTF2019]babyRSA威尔逊定理
史上最简明的 Tcpdump 入门指南,看这一篇就够了
Binary conversion method
reduce错误示范
Features of hardwired controller:
Key points of data management
The total investment is 60billion! Foxconn semiconductor high-end package test project officially settled in Qingdao
用3dmax做折扇的思路方法与步骤
BUUCTF-bbbbbbrsa
76000 people shut down! Toshiba announced the closure of all factories in Japan
My annual salary is 1million, and I don't have clothes more than 100 yuan all over my body: saving money is the top self-discipline
BUUCTF-[BJDCTF2020]RSA1
JUC toolkit learning
What technology is RPA process automation robot? How to realize office automation?
This is the most concise guide to tcpdump in history. It's enough to read this one