This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"code.google.com/p/go-uuid/uuid" | |
"flag" | |
"fmt" | |
"github.com/garyburd/redigo/redis" | |
"strings" | |
"sync" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f := func(opts docker.PushImageOptions, auth docker.AuthConfiguration) error { return nil } | |
f1 := client.PushImage | |
v1 := reflect.ValueOf(&(f1)).Elem() | |
v := reflect.ValueOf(f) | |
v1.Set(v) | |
log.Println(client.PushImage(docker.PushImageOptions{}, docker.AuthConfiguration{})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/fsouza/go-dockerclient" | |
"reflect" | |
) | |
type Test struct { | |
*docker.Client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io::TcpListener; | |
use std::io::{Acceptor, Listener}; | |
fn main() { | |
let listener = TcpListener::bind("0.0.0.0", 9999); | |
let mut acceptor = listener.listen(); | |
for stream in acceptor.incoming() { | |
match stream { | |
Err(e) => println!("connect failed, {}", e), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4110 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4109 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4113 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4112 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4115 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4108 --- SIGCHLD (Child exited) @ 0 (0) --- | |
4108 --- SIGCHLD (Child exited) @ 0 (0) --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user root; | |
worker_processes 8; | |
daemon off; | |
error_log /root/error.log; | |
pid /root/nginx.pid; | |
events { | |
worker_connections 102400; | |
multi_accept on; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"syscall" | |
"github.com/docker/libcontainer/netlink" | |
"github.com/docker/libcontainer/system" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"runtime" | |
"github.com/docker/libcontainer/netlink" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/open-falcon/agent/g" | |
"github.com/open-falcon/common/model" | |
) |
OlderNewer