Skip to content

Instantly share code, notes, and snippets.

View E3V3A's full-sized avatar

E:V:A E3V3A

View GitHub Profile
@E3V3A
E3V3A / cowroot.c
Created October 28, 2016 10:52 — forked from rverton/cowroot.c
CVE-2016-5195 (DirtyCow) Local Root PoC
/*
* (un)comment correct payload first (x86 or x64)!
*
* $ gcc cowroot.c -o cowroot -pthread
* $ ./cowroot
* DirtyCow root privilege escalation
* Backing up /usr/bin/passwd.. to /tmp/bak
* Size of binary: 57048
* Racing, this may take a while..
* /usr/bin/passwd overwritten
@E3V3A
E3V3A / android-tcpdump.sh
Created January 1, 2016 18:34 — forked from dweinstein/android-tcpdump.sh
Easier tcpdump setup for Android (make sure tcpdump binary is in /data/local/tmp/xbin/tcpdump). Assumes socat and wireshark are installed on your system and that you're on OS X. Easily tweaked for other platforms...
#!/usr/bin/env bash
TCPDUMP_PID=""
SOCAT_PID=""
OUTPUT_FILE=""
PORT=12345
TMPDIR="."
TCPDUMP_PATH="/data/local/tmp/xbin/tcpdump"
NETCAT_PATH="/data/local/tmp/nc"
HOST_INTERFACE="en0"
@E3V3A
E3V3A / changes-for-root.txt
Created January 1, 2016 18:33 — forked from poliva/changes-for-root.txt
sediff output of the changes done by Chainfire's supolicy to sepolicy to allow root in Enforcing mode
Classes (Added 0, Removed 0, Modified 0)
Added Classes: 0
Removed Classes: 0
Modified Classes: 0
Commons (Added 0, Removed 0, Modified 0)
Added Commons: 0
Removed Commons: 0
Modified Commons: 0
@E3V3A
E3V3A / directfbtext.c
Last active August 29, 2015 14:13 — forked from vi/directfbtext.c
/*
directfbtext, implemented by Vitaly "_Vi" Shukela in 2014.
Based on:
DirectFB Tutorials
(c) Copyright 2000-2002 convergence integrated media GmbH.
(c) Copyright 2002 convergence GmbH.
All rights reserved.
@E3V3A
E3V3A / 20150101a.txt
Last active August 29, 2015 14:12
MapViewPinColors
===============================================================================
BLUE (dot) = Your current location as determined by your GPS
BLUE (transparent) = The radial accuracy of your GPS location
GREEN|RED (connection) = Your currently connected BTS whose location is determined by the *DBe_imported* GPS position
and the detection status. This should always be RED if not GREEN status.
GREEN (small) = A BTS that is known to **DBe_import** where:
* ***rej_cause=0*** and
* A5/x **>=** A5/3 and
var delay = 250;
var until = 'faux123';
var a = new Array();
$('button[class*=follow-btn]').each(function() {
var attr = $(this).parent().attr('data-screen-name');
if (attr != undefined) {
if (attr == until) {
return false;
}