Skip to content

Instantly share code, notes, and snippets.

Preetam Jinka Preetam

Block or report user

Report or block Preetam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Preetam
Preetam / deserlab_exploit.py
Created Feb 14, 2019 — forked from DiabloHorn/deserlab_exploit.py
Exploit for the DeserLab vulnerable implementation
View deserlab_exploit.py
#!/usr/bin/env python
"""
DiabloHorn - https://diablohorn.com
References
https://nickbloor.co.uk/2017/08/13/attacking-java-deserialization/
https://deadcode.me/blog/2016/09/02/Blind-Java-Deserialization-Commons-Gadgets.html
https://deadcode.me/blog/2016/09/18/Blind-Java-Deserialization-Part-II.html
http://gursevkalra.blogspot.nl/2016/01/ysoserial-commonscollections1-exploit.html
https://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/
https://www.slideshare.net/codewhitesec/exploiting-deserialization-vulnerabilities-in-java-54707478
View Makefile
.PHONY: prep
prep:
echo "Prep"
.PHONY: build-docker-image
build-docker-image: prep
echo "Building Docker image"
build-app%: build-docker-image
echo "Building $@"
View badger_write_skew.go
package main
import (
"fmt"
"io/ioutil"
"log"
"os"
"strconv"
"github.com/dgraph-io/badger"
View Papers.md

Papers

This list is adapted from the lecture plan for the "Advanced Topics in Computer Systems" course at Berkeley, which is available here: https://people.eecs.berkeley.edu/~kubitron/cs262/index_lectures.html

Thanks to Anthony Joseph and John Kubiatowicz for putting the original list together.

Introduction to the course, some basic philosophy, UNIX system.

View svg.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bulk.go
package main
import (
"fmt"
"log"
"math/rand"
"runtime"
"time"
"github.com/Preetam/lm2"
View abmap.go
package main
import (
"bytes"
"encoding/json"
"flag"
"fmt"
"log"
"net/http"
"strings"
View ha_do.go
package main
import (
"flag"
"log"
"strings"
"github.com/Preetam/libab/go/ab"
"github.com/digitalocean/godo"
"golang.org/x/oauth2"
@Preetam
Preetam / gist:a657bbd393b7d088c75bbdf7fa6cb610
Created Apr 10, 2016
Sort files in bash by number with a prefix
View gist:a657bbd393b7d088c75bbdf7fa6cb610
∂ migrations (change-schema): ls | sort -n -t - -k 2
update-1.sql
update-99.sql
update-100.sql
update-123.sql
update-1000.sql
View ab.h
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*ab_append_cb)(int status, void* data);
You can’t perform that action at this time.