Skip to content

Instantly share code, notes, and snippets.

E:V:A E3V3A

Block or report user

Report or block E3V3A

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
View twitter_unfollow.js
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;
}
@E3V3A
E3V3A / 20150101a.txt
Last active Aug 29, 2015
MapViewPinColors
View 20150101a.txt
===============================================================================
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
View 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 / changes-for-root.txt
Created Jan 1, 2016 — 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
View changes-for-root.txt
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 / cowroot.c
Created Oct 28, 2016 — forked from rverton/cowroot.c
CVE-2016-5195 (DirtyCow) Local Root PoC
View cowroot.c
/*
* (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 / getprop.java
Created Jan 11, 2017 — forked from nasitra/getprop.java
[android] getprop from Java
View getprop.java
// ref: https://groups.google.com/forum/#!topic/android-developers/M-g3LqIY_xM
private String getProperty(String name, String defaultValue) {
ArrayList<String> processList = new ArrayList<String>();
String line;
Pattern pattern = Pattern.compile("\\[(.+)\\]: \\[(.+)\\]");
Matcher m;
try {
Process p = Runtime.getRuntime().exec("getprop");
@E3V3A
E3V3A / android-tcpdump.sh
Created Jan 1, 2016 — 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...
View android-tcpdump.sh
#!/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 / fastboot_commands.txt
Created Jun 4, 2017 — forked from zhuowei/fastboot_commands.txt
Huawei Nexus 6P Angler fastboot commands
View fastboot_commands.txt
List grabbed from running `strings` on the bootloader; it's probably incomplete.
Most of these commands are untested, and all of them sound like they can seriously break your phone. Be careful.
Tested: (all on a bootloader unlocked device)
fastboot oem uart enable: changes "Console" on the bootloader screen to say "ttyHSL0,115200,n8";
probably enables serial messages; haven't checked since I don't know where the Nexus 6P's uart is
fastboot oem ramdump enable: changes "Download mode" on the bootloader screen to say "ENABLED" instead of "DISABLED".
View gist:3fe7ce9c2f4df2c0586767a6f2a10660
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
##################################################
# GNU Radio Python Flow Graph
# Title: Gr-gsm Livemon
# Author: Piotr Krysik
# Description: Interactive monitor of a single C0 channel with analysis performed by Wireshark (command to run wireshark: sudo wireshark -k -f udp -Y gsmtap -i lo)
# Generated: Mon Jul 18 18:08:34 2016
##################################################
# modified Jan 2017 lin_s for headless mode
@E3V3A
E3V3A / async-test.js
Created Feb 28, 2018 — forked from alexkrolick/async-test.js
Async-Await vs Promises in Node
View async-test.js
// Before April 2017 run this with flags:
// node --harmony-async-await ./async-test.js
function sayHi (name) {
if (name == null) throw Error('Missing name')
return `Hi ${name}.`
}
function sayWhatsUpAsync (msg, timeoutMs) {
console.log(`Will return in ${timeoutMs / 1000}s`)
You can’t perform that action at this time.