Skip to content

Instantly share code, notes, and snippets.

View marche147's full-sized avatar

Chensheng Yu marche147

View GitHub Profile
marche147 / solv.sage
Created November 29, 2018 03:56
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)
marche147 /
Created December 21, 2017 08:33

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:

marche147 / re500.c
Created October 19, 2016 05:33
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