摘要:
1、解题 输入个40位的数,输出wrong flag,但是不在这个main函数里面的print出来的,查找字符串也只看到这一个地方有wrong,在return出接着动态调试,发现是按照最前面的push 进去的值来执行的 应该是在retn的时候弹出栈的时候正好弹出之前压入的函数地址,然后执行,先执行1 阅读全文
![DASCTF 2023 & 0X401七月暑期挑战赛——controlflow](https://img2023.cnblogs.com/blog/3167109/202308/3167109-20230810210324305-1691107585.png)
摘要:
1、题目描述: 题目代码 from Crypto.Util.number import getPrime, bytes_to_long def YiJiuJiuQiNian(Wo, Xue, Hui, Le, Kai): Qi = 1997 Che = Wo+Hui if Le==1 else Wo 阅读全文
![DASCTF 2023 & 0X401七月暑期挑战赛——ezAlgebra](https://img2023.cnblogs.com/blog/3167109/202308/3167109-20230810204010910-572483108.png)
摘要:
1、题目描述: 查看代码 from Crypto.Util.number import * from secret import secret, flag def encrypt(m): return pow(m, e, n) assert flag == b"dasctf{" + secret + 阅读全文
![DASCTF 2023 & 0X401七月暑期挑战赛——ezRSA](https://img2023.cnblogs.com/blog/3167109/202308/3167109-20230810194626446-2017798291.png)
摘要:
1、题目描述: 查看代码 from Crypto.Util.number import * from Crypto.Cipher import AES from hashlib import sha256 from random import randbytes, getrandbits from 阅读全文
![DASCTF 2023 & 0X401七月暑期挑战赛——ezDHKE](https://img2023.cnblogs.com/blog/3167109/202308/3167109-20230810133101154-1079585522.png)