-
GlacierCTF 2022-CryptoShop
1.分析代码可知: 1)初始有5块钱(balance),flag价值1000元; 2)在退款方法中(refund_item)根据退款码(refund_code)来退款,当我们输错退款码时会输出正确的退款码; &nb...
- Crypto
- 11天前
-
known_phi的wp
importrandomimportsysfromhashlibimportsha256#Addedbytes_to_longtotheimportsbelowfromCrypto.Util.numberimportlong_to_bytes,bytes_to_long,inverse,GCD,isPrime#---TaskData---n=1042282562936113139596768523...
- Crypto
- 12天前
-
来自 宇宙的信号
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
2 金币
- Crypto
- 16天前
-
Fibonacci
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
1 金币
- Crypto
- 1月前
-
RSA-0
fromCrypto.Util.numberimport*fromgmpy2import*importmathe=65537c=4953032786967695172867746734535736079394492629602997339937492536588870691711986761068264007330882164392379507566471358534367765212486515...
- Crypto
- 1月前
-
Golden Ticket
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
3 金币
- Crypto
- 1月前
-
new_trick
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
3 金币
- Crypto
- 1月前
-
randrand
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
5 金币
- Crypto
- 1月前
-
randrand-wp
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
3 金币
- Crypto
- 2月前
-
ezran-wp
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
5 金币
- Crypto
- 2月前
-
check-little-WP
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
2 金币
- Crypto
- 2月前
-
贝斯
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
1 金币
- Crypto
- 2月前
-
[moeCTF2020]easy木大定理
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
1 金币
- Crypto
- 3月前
-
【鹤城杯2021】easy_crypto
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
1 金币
- Crypto
- 3月前
-
Ez Vigenere
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
1 金币
- Crypto
- 3月前
-
bird
下载完附件后直接解压,没有密码,里面是个docx文档。打开后可以看到这串鸟的图片应该就是密码。通过网络搜索或随波逐流可以找到密码来源birdsonawire。照着密码表一一对照可以得到flag{birdislovely}。
- Crypto
- 3月前
-
zh3r0-v2 - Alice Bob Dave
***收费WriteUP请购买后查看,VIP用户可免费查看***
-
1 金币
- Crypto
- 3月前
-
【Write Up】Crazy_Rsa_Tech
withopen('output.txt','r')asfile:exec(file.read())defexgcd(a,b):#ax+by=gcd(a,b)ifb==0:return[1,0,a]c=exgcd(b,a%b)return[c[1],c[0]-a//b*c[1],c[2]]defcrt(a,m):A=0;M=1foriinrange(len(a)):k1,k2,g=exgcd(M,...
- Crypto
- 4月前
-
【Write Up】Cycles
withopen('cycles.txt')asf:code=f.read()exec(code)p=Pct=ciphertextforainrange(p-1,(p-1)*(2**24),p-1):iflen(bin(a))>=1050:breakfromCryptodome.Util.numberimportlong_to_byteskey=long_to_bytes(a)[:16]fr...
- Crypto
- 4月前
-
【Write Up】Many Primes
withopen('output.txt','r')asf:exec(f.read())mod=1;k=nforiinrange(2,2**16):cnt=0whilek%i==0:k//=icnt+=1ifcnt>0:mod*=((i**cnt)-(i**(cnt-1)))print(f'{i}^{cnt}')print(f'mod={mod}')fromgmpy2importinvert...
- Crypto
- 4月前