Skip to content

Instantly share code, notes, and snippets.

@marche147
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 = '60.205.223.220', 9999
s = socket.socket()
s.connect((HOST, PORT))
f = s.makefile('rw', 0)
View keybase.md

Keybase proof

I hereby claim:

  • I am marche147 on github.
  • I am marche147 (https://keybase.io/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 -ore500.so re500.c