Skip to content

Instantly share code, notes, and snippets.

os.popen('cat flag.txt').read()

Keybase proof

I hereby claim:

  • I am mrpickles on github.
  • I am liuandrewk (https://keybase.io/liuandrewk) on keybase.
  • I have a public key ASCnacpgumKDOOdlQmfz8q6M94UhuqmHueObo-BuSrNJFwo

To claim this, I am signing this object:

@MrPickles
MrPickles / mystery.ml
Created May 12, 2017 20:59
Guess the type of the mysterious OCaml variable!
let mystery =
let pair x f = f x x in
let f1 x = pair x in
let f2 x = f1 (f1 x) in
let f3 x = f2 (f2 x) in
let f4 x = f3 (f3 x) in
let f5 x = f4 (f4 x) in
fun z -> (f5 (fun x -> x) z)
;;
@MrPickles
MrPickles / bingo.c
Last active September 20, 2016 15:23
This is a short program written for HACS408E that will generate a victory message for the sharedverbose binary.
#include <fcntl.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
/*
* This causes sharedverbose to print "bingo \o/" by modifying the shared
* memory portion to give conditions in which the program will terminate
* and give a victory message.
*