ALL the CTFS of Crypto2025 finally
This commit is contained in:
17
crypto-hash/equality/attack.py
Normal file
17
crypto-hash/equality/attack.py
Normal file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python3
|
||||
from pwn import *
|
||||
HOST = "130.192.5.212"
|
||||
PORT = 6631
|
||||
#Generate with MD4-Collision
|
||||
m1 = "c2a66ef939681a46895edbd696dec463691253412c051f4c147b955348bcb90d9721b08e22ee254c42f24fa7d6a946ca16a09caa7e71cc430c30f1448763b200"
|
||||
m2 = "c2a66ef939681ac6895edb4696dec463691253412c051f4c147b955348bcb90d9721b08e22ee254c42f24fa7d6a946ca16a09baa7e71cc430c30f1448763b200"
|
||||
server = remote(HOST,PORT)
|
||||
server.send(m1)
|
||||
server.send(b'\n')
|
||||
server.send(m2)
|
||||
server.send(b'\n')
|
||||
|
||||
print(server.recv(1024))
|
||||
|
||||
print(server.recv(1024))
|
||||
|
||||
Reference in New Issue
Block a user