摘要: CryptoHack Parameter Injection 的加强版 connect socket.cryptohack.org 13379 Alice 与 Bob 使用遗留数据库进行计算,格式如下: Intercepted from Alice: {"supported": ["DH1536", 阅读全文
posted @ 2025-02-28 13:18 YipChip 阅读(117) 评论(0) 推荐(0)
摘要: 题目链接 connect socket.cryptohack.org 13371 你可以截获并伪造 Alice 和 Bob 基于 DH 密钥交换协议的所有数据,格式如下: Intercepted from Alice: {"p": "?", "g": "?", "A": "?"} Send to B 阅读全文
posted @ 2025-02-28 11:22 YipChip 阅读(179) 评论(0) 推荐(0)
摘要: 题目脚本 #!/usr/bin/env python3 from Crypto.Util.number import getPrime, inverse, bytes_to_long, long_to_bytes e = 3 d = -1 while d == -1: p = getPrime(10 阅读全文
posted @ 2025-02-28 00:50 YipChip 阅读(66) 评论(0) 推荐(0)