Skip to content

Instantly share code, notes, and snippets.

@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active April 18, 2025 18:48
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@teacupx
teacupx / widevine-flash_arm64.sh
Created December 30, 2018 19:30 — forked from ruario/1-README.md
Fetches a ChromeOS image for ARM and extracts the Widevine and Flash binaries, saving them in a compressed archive
#!/bin/sh -eu
# Make sure we have wget or curl
available () {
command -v "$1" >/dev/null 2>&1
}
if available wget; then
DL="wget -O-"
DL_SL="wget -qO-"
elif available curl; then
@mikroskeem
mikroskeem / rc.conf.local
Last active October 30, 2020 16:10
wireguard-go userspace rc.d script for OpenBSD
# /etc/rc.conf.local
# set flag to NO -> service won't be started
# set flag to x -> makes wg-quick use /etc/wireguard/x.conf
wg_quick_flags=wg-config
# Assumes you symlinked /etc/rc.d/wg_quick to /etc/rc.d/wg_quick_foo
wg_quick_foo_flags=wg-foo

Trying to deploy WPA3 on my home network

Introduction

Recently, news broke about a new possible offline attack on WPA2 using PMKID. To summarize the attack, WPA2 protected APs can end up broadcasting PMKID values which can then be used to offline-brute-force the password.

These PMKID values are computed this way:

PMKID = HMAC-SHA1-128(PMK, "PMK Name" | MAC_AP | MAC_STA)
@bryc
bryc / YamahaFM.md
Last active February 26, 2025 14:51
Collecting info on Yamaha FM soundchips
@Gadgetoid
Gadgetoid / README.md
Last active August 18, 2024 12:51
Raspberry Pi Zero / Windows 10 automatic RNDIS driver install for composite gadgets

Preface

I owe my very rapid learning journey in the world of ConfigFs to several key sources which aren't necessarily relevant to this result, but I feel deserve a mention anyway.

@QROkes
QROkes / nginx.conf
Last active July 12, 2024 04:41
Nginx (Reverse Proxy) Configuration file for Traccar GPS
server {
listen 80;
listen [::]:80;
server_name domain.com;
location / {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@Changaco
Changaco / btrfs-undelete
Last active April 11, 2025 15:08
btrfs-undelete
#!/bin/bash
# btrfs-undelete
# Copyright (C) 2013 Jörg Walter <[email protected]>
# This program is free software; you can redistribute it and/or modify it under
# the term of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or any later version.
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2
echo
@munshkr
munshkr / The C64 Digi
Last active November 13, 2024 10:17
The C64 Digi ~ C=Hacking #20
<=============
The C64 Digi
=============> Robin Harbron <[email protected]>
Levente Harsfalvi <[email protected]>
Stephen Judd <[email protected]>
Introduction
------------
Digis -- digitally sampled audio -- are fairly common on the 64. This is
@DanielGibson
DanielGibson / sdl2test.c
Last active April 22, 2024 18:13
test SDL2 input (mouse and keyboard events)
/*
* SDL2 mousebutton test
*
* build with:
* $ gcc $(sdl2-config --cflags) -o sdl2test sdl2test.c $(sdl2-config --libs)
*/
#include <stdio.h>
#include <SDL.h>
#include <errno.h>