Skip to content

Instantly share code, notes, and snippets.

@judge2020
judge2020 / generate-client.sh
Created November 2, 2019 04:51 — forked from Belphemur/generate-client.sh
Generate a new client configuration for WireGuard
#!/usr/bin/env bash
if [ -z "$1" ]
then
echo "$0 client-name"
exit 1
fi
@robsouth84
robsouth84 / $PS - pull all apks from adb
Created October 23, 2019 02:37
Some PowerShell one liners to pull apks from a Android device with adb
//find all apps NOT in /data and pull to current dir
$ adb shell "pm list packages -f | cut -d':' -F2 | cut -d'=' -F1 | grep apk$ " | ForEach-Object { adb pull $_ }
//find all apps NOT in /data && NOT in /vendor (likely no access) and pull to current dir
$ adb shell "pm list packages -f | cut -d':' -F2 | cut -d'=' -F1 | grep apk$ | grep -v ^\/vendor" | ForEach-Object { adb pull $_ }
//find all apps in /data and pull to current dir
//this will pull entire package folder not just apk. first this was out of convienience when parsing the strings, but turns out you get some intersting binaries along the way. see facebook for example
$ adb shell "pm list packages -f | cut -d':' -F2 | grep ^\/data | cut -sd 'base.apk' -F1 " | ForEach-Object { adb pull $_ }
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active April 10, 2026 15:19
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 !

@Belphemur
Belphemur / generate-client.sh
Last active October 20, 2021 22:14
Generate a new client configuration for WireGuard
#!/usr/bin/env bash
if [ -z "$1" ]
then
echo "$0 client-name"
exit 1
fi
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active April 10, 2026 15:21
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@george-hopkins
george-hopkins / HOWTO.md
Created June 14, 2018 09:34
Booting GParted Live with pixiecore

Booting GParted Live with pixiecore (PXE)

  • go get go.universe.tf/netboot/cmd/pixiecore
  • Download gparted-live-*.zip and extract the archive
  • sudo pixiecore boot ./live/vmlinuz ./live/initrd.img --cmdline='boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch={{ ID "./live/filesystem.squashfs" }}&_=fs.squashfs'
@AnoRebel
AnoRebel / Kali-WSL.sh
Created May 19, 2018 08:52
Installing Kali-Xfce on WSL
=| Kali Linux on Win 10 |=
[First Install]
sudo cat /etc/issue
sudo apt-get update
sudo apt-get dist-upgrade (y)
sudo apt-get install webshells [you may need to allow access via defender / smartscreen]
sudo apt-get clean
sudo apt-get install webshells [re-do if first time blocked by defender / smartscreen]
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active April 13, 2026 05:54
crack activate Office on mac with license file
@GAS85
GAS85 / aria2c_webUI.md
Last active July 8, 2024 00:16
Aria2 + Ubuntu 18.04 + Apache2 + Web UI
OS: Ubuntu 18.04 Apache/2.4.18 1.0.2g-1ubuntu4.10
Aim: to install Aria2 with WebUI and secure Token.
IP Addr of your Aria2 server is 192.168.0.111
Your local IP network is 192.168.0.0/24

Aria 2

1. Installation

Install aria2 package:

@vdsabev
vdsabev / download.js
Last active January 6, 2025 04:41
Bookmarklet - download all links on a page
javascript:(() => {
const items = document.querySelectorAll('a');
let delay = 0;
for (let index = 0; index < items.length; index++) {
const item = items[index];
item.setAttribute('download', item.getAttribute('href'));
setTimeout(() => item.click(), delay);
delay += 500;
}
})();