Instantly share code, notes, and snippets.

View android_firewall-rules.sh
#!/system/xbin/bash
## A simple set of iptables firewall rules to
# to block incoming connevtions on rooted
# Android devices.
## Place this script in /su.d or /etc/init.d
# to run at startup.
## Firat perform several checks to confirm
View adb_pattern_input-sailfish.sh
#!/system/xbin/bash
#
# Google Pixel Pattern Input
# OG Author: Matt Wilson
# Modified for Pixel aka sailfish
# By: Geofferey Eakins
# License: Free to use, modify and share
#
# This script sends simulated touch input for
# remotely swiping pattern on a Google Pixel
View bluez-udev-audio.sh
#!/bin/bash
#This script was written for raspberry-pi-audio-reciever
#Project and can be found in it's original form at:
#https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install/blob/master/usr/local/bin/bluez-udev
#My version of this script directs audio input from a
#bluetooth device to all availabe audio outputs (aka sinks)
audio_sink=0
name=$(sed 's/\"//g' <<< $NAME)
#exit if not a BT address
View gps-grep.sh
#!/system/xbin/bash
#This script can pull GPS coordinates & sysinfo from android
#& Output to terminal. This script requires root access
#Place in /system/xbin or /data/local/tmp
echo "GPS_SHELL" >> /sys/power/wake_lock;
settings put secure location_providers_allowed +gps;
View adb_pin_input.sh
#!/system/xbin/bash
# Android Remote Unlock Script
# By: Geofferey @ IG & XDA 2018
# Just a simple script to input PIN
# via ADB, SSH, Telnet etc on Android
# Pace in /system/xbin/pin-unlock &
# give execute perms (e.g. chmod 500)
echo ""
View pi_switch.py
#!/usr/bin/python
#A multi-function switch for the Raspberry Pi
#This script was originally inspired by AndrewH7@instructables.com/member/AndrewH7
#Modified by: Geofferey@XDA/Instagram/Github
#Use this script at your own risk
import RPi.GPIO as GPIO
import os
import time
View and-chroot-dns.sh
#!/system/xbin/bash
# Android Linux chroot DNS Updater Script
# Written by: Geofferey @ XDA / IG
# For updating /etc/resolv.conf in chroot
# Tested on Kali Nethunter / Linux Deploy
# Chroot placed in directory not file.img
# Works on Android Version Nougat 7.1.2
# Place in init.d of Nethunter or Android