This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import socket | |
import struct | |
import telnetlib | |
import sys, time | |
import pwn | |
HOST, PORT = "127.0.0.1", 1234 | |
HOST, PORT = "reeses_fc849330ede1f497195bad5213deaebc.quals.shallweplayaga.me", 3456 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cassert> | |
#include <NTL/mat_GF2.h> | |
#include <NTL/GF2.h> | |
using NTL::GF2; | |
using NTL::mat_GF2; | |
using NTL::conv; | |
int g(GF2 x1, GF2 z1, GF2 x2, GF2 z2) { |