Skip to content

Instantly share code, notes, and snippets.

marche147 / solv.sage
Created Nov 29, 2018
BCTF 2018 guess_number
View solv.sage
import socket
import ast
import telnetlib
#HOST, PORT = 'localhost', 9999
HOST, PORT = '', 9999
s = socket.socket()
s.connect((HOST, PORT))
f = s.makefile('rw', 0)

Keybase proof

I hereby claim:

  • I am marche147 on github.
  • I am marche147 ( on keybase.
  • I have a public key ASBsoqRtlYPiv93u1D964W2DAeglgkX7I7bEVjKpduF5qwo

To claim this, I am signing this object:

View re500.c
#include <stdio.h>
#include <sys/mman.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <stdint.h>
// dirty hack of re500
// compile : gcc -shared -pie -fPIC re500.c