Skip to content

Instantly share code, notes, and snippets.

@dutc
dutc / proc-hook.c
Created November 8, 2014 19:53
writing through /proc/self/mem
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#pragma pack(push, 1)
struct {
unsigned char PUSH_RAX;
unsigned char MOV_RAX[2];

Linux可執行文件ㄉ內容分析工具

NOTE: This is a working copy. This tutorial is unfinished and may contain inaccuracies.

I've written the title of this tutorial in Chinese, as I suspect that its contents may, at first glance, appear similarly incomprehensible to the audience.

However, just as I can sketch for you the following...

可執行文件 = (可 = can) + (執行 = execute) + (文件 = file) = executable (file)

@idanw
idanw / description
Created March 17, 2012 02:36
Stripe CTF Solutions
Stripe CTF Solutions
Author: Idan Warsawski
Here's a small description of how I did each level:
Level 01:
system("date");
Realias date to another pogram that will run "cat /home/level02/.password"
I used a simple shell script:
@michaelpetrov
michaelpetrov / gist:1899630
Created February 24, 2012 08:58
Stripe CTF Challenge - Solutions to all Levels
Stripe CTF - Work Notes
mpetrov ([email protected])
These notes are very rough. They should give a general idea of how each level was solved.
---- LEVEL 01 (login: e9gx26YEb2) -----
Solution: modifying PATH env variable
Password: kxlVXUvzv
date.c