Skip to content

Instantly share code, notes, and snippets.


Anirudh Anand a0xnirudh

View GitHub Profile

The challenge was based on drupal7 with obvious unserialize call added.

Trying to build a chain and the first solution i found was based on following chain:


abstract class DrupalCacheArray
    public function __destruct() {
        $data = array();
a0xnirudh /
Created Oct 31, 2017 — forked from dapplebeforedawn/
Using the exec command with the docker API, and capturing output
#! /usr/bin/env bash
# Create the container with a long running process. If PID1 exists before
# we send the exec commands, they will fail because the container is not running
curl --silent --unix-socket /var/run/docker.sock "http:/containers/create?name=${CONTAINER_NAME}" -XPOST \
-H "Content-Type: application/json" \
-d '{
"Image": "ruby:latest",