-
Notifications
You must be signed in to change notification settings - Fork 102
/
example.txt
executable file
·46 lines (32 loc) · 2.28 KB
/
example.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 只需要一组密钥的
# wiener_attack
python solve.py --verbose --private -i examples/wiener_attack.txt
# 或者通过命令行,只要指定对应参数就行了
python solve.py --verbose --private -N 460657813884289609896372056585544172485318117026246263899744329237492701820627219556007788200590119136173895989001382151536006853823326382892363143604314518686388786002989248800814861248595075326277099645338694977097459168530898776007293695728101976069423971696524237755227187061418202849911479124793990722597 -e 354611102441307572056572181827925899198345350228753730931089393275463916544456626894245415096107834465778409532373187125318554614722599301791528916212839368121066035541008808261534500586023652767712271625785204280964688004680328300124849680477105302519377370092578107827116821391826210972320377614967547827619
# factordb.com
python solve.py --verbose -k examples/jarvis_oj_mediumRSA/pubkey.pem --decrypt examples/jarvis_oj_mediumRSA/flag.enc
# Boneh and Durfee attack
# TODO: get an example public key solvable by boneh_durfee but not wiener
# small q attack
python solve.py --verbose --private -k examples/small_q.pub
# 2017强网杯线上赛 RSA 费马分解(p&q相近时)
python solve.py --verbose --private -i examples/closed_p_q.txt
# Common factor between ciphertext and modulus attack
python solve.py --verbose -k examples/common_factor.pub --decrypt examples/common_factor.cipher --private
# small e
python solve.py --verbose -k examples/small_exponent.pub --decrypt examples/small_exponent.cipher
# rabin method when e == 2
python solve.py --verbose -k examples/jarvis_oj_hardRSA/pubkey.pem --decrypt examples/jarvis_oj_hardRSA/flag.enc
# Small fractions method when p/q is close to a small fraction
python solve.py --verbose -k examples/smallfraction.pub --private
# Known High Bits Factor Attack
python solve.py --verbose --private -i examples/KnownHighBitsFactorAttack.txt
# 需要多组密钥的
# 第三届上海市大学生网络安全大赛--rrrsa d泄漏攻击
python solve.py --verbose --private -i examples/d_leak.txt
# 模不互素
python solve.py --verbose --private -i examples/share_factor.txt
# 共模攻击
python solve.py --verbose --private -i examples/share_N.txt
# Basic Broadcast Attack
python solve.py --verbose --private -i examples/Basic_Broadcast_Attack.txt