Skip to content

Instantly share code, notes, and snippets.

@toe4626
toe4626 / remove_lock.sh
Created October 17, 2022 18:57 — forked from xperimental/remove_lock.sh
Remove lock screen from adb
#!/bin/bash
adb shell am start --ez confirm_credentials false --ei "lockscreen.password_type" 0 com.android.settings/.ChooseLockGeneric
@toe4626
toe4626 / bruteforcegesture.py
Created October 17, 2022 18:22 — forked from danzek/bruteforcegesture.py
Prototype code for brute forcing Android gesture.key files
#!/usr/bin/env python
"""Cracks a gesture.key file (Android pattern lock), reverse-engineers the Android method of creating an unsalted SHA1
hash value from the 3-9 digit pattern code (each digit consisting of 9 possible values: 0-8).
Note that Android > v2.33 requires minimum of four values, but three makes this work for old ones too.
The original Android source code for pattern locks:
/*
@toe4626
toe4626 / GoogleDorking.md
Created August 8, 2022 12:39 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@toe4626
toe4626 / cod_black_ops_3.c
Created July 21, 2022 23:51 — forked from jangeador/cod_black_ops_3.c
Black Ops 3 GPC Script
/*
GPC Online Library
COD Black Ops 3(BO3) Script
=============================================================================
Device: Titan One
Author: Terry (aka UK_Wildcats_Fans)
Game: Call of Duty Black Ops 3 (BO3)
System: PlayStation 4 (PS4)
Controller: DualShock 4 (DS4)
@toe4626
toe4626 / Setting up guide for ArchLinux on Raspberry Pi.md
Created April 21, 2022 18:25 — forked from TheZoc/Setting up guide for ArchLinux on Raspberry Pi.md
This is a guide to setup Arch Linux in Raspberry Pi 4, using macOS as the auxiliary system.

Raspberry Pi Setup Guide

This guide will use either a macOS or an ArchLinux base system, to prepare a microSD card with Arch Linux for Raspberry Pi.

If someone managed to do the initial setup using Windows, please let me know, so I can add to this guide.

This guide will be verbose at times for some simple tasks. This is intended to help people just starting out, so it's not confusing. If something confuses you, let me know and I'll try my best to answer it.

@toe4626
toe4626 / readme.md
Created December 5, 2021 14:40 — forked from MaxwellDPS/readme.md
Install OP25 wireshark 1.8.5 updated 2019

Extending Wireshark with OP25

The WireShark packet sniffer normally doesn't support APCO P25. If you want to sniff P25 traffic using WireShark then you'll need to patch the sources and rebuild it. Tested and working on ubuntu 16.04.5

Want it done the easy way? Works on ubuntu 16/18

sudo wget -O - https://gist.github.com/MaxwellDPS/bab40419e80bb1d2f940d7923d1e40a2/raw/38233899ec49e0416c4c63d6b7e2a2a59d7e85de/install.sh | bash
diff -Naur a/configure.in b/configure.in
--- a/configure.in 2013-01-30 04:26:30.000000000 +1000
+++ b/configure.in 2013-01-31 21:49:06.000000000 +1000
@@ -2103,6 +2103,7 @@
plugins/m2m/Makefile
plugins/mate/Makefile
plugins/opcua/Makefile
+ plugins/p25/Makefile
plugins/profinet/Makefile
plugins/stats_tree/Makefile
@toe4626
toe4626 / stepcounter.ino
Created August 22, 2021 18:17 — forked from benevpi/stepcounter.ino
A simple step counter watch for lilygo2020 v1. Note - also needs a config.h
#include "config.h"
// ToDO
// There's a power bug that stops the screen going to sleep if the USB's been unpowered
// This also doesn't update the steps if the screen's been off UNLESS there's one more step (interrrupt)
// Get weather from wifi IF it's being charged
// Make it last a day comfortably of full use
// Save steps per day between power downs
// upload steps somewhere? Google Sheets?