Skip to content

Instantly share code, notes, and snippets.

View marche147's full-sized avatar
:octocat:
Learning

Chensheng Yu marche147

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

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