Attempt to collect some sites in one list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Make a remote GET using DIGEST authentication. | |
* | |
* DIGEST authenticated requests require two GET requests: | |
* 1. GET the www-authenticate header for nonce, realm, opaque, and other values | |
* 2. GET the expected response body by constructing an 'Authorization' header | |
* with nonce, realm, and other values provided by the server. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chain --autofree https://boot.netboot.xyz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# The following script will | |
# - Create Linux bridge $BR_WAN, $BR_LAN | |
# - Install IP addresses and basic routes | |
# - Enable proxy_arp on $BR_WAN | |
# - Enable ip_forward | |
# - Enable MASQUERADE on $IF_INET | |
# - $BR_LAN, $BR_WAN has to be allowed in ~/.usr/etc/qemu/bridge.conf | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Creating an .onion service in the Tor network is as simple as editing /etc/tor/torrc and adding: | |
HiddenServiceDir /var/lib/tor/www_service/ | |
HiddenServicePort 80 127.0.0.1:80 | |
# After restarting the tor service with | |
sudo service tor restart | |
# or | |
sudo service tor reload | |
# The directory will be created automagically, and inside the new directory, two files are generated, hostname and private_key. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Note: tested on Ubuntu 19.10 host/x86_64 machine) | |
~~ | |
Install dependencies: | |
apt-get install binutils-aarch64-linux-gnu gcc-9-aarch64-linux-gnu bison flex build-essential kpartx | |
sudo apt-get install libgmp-dev libmpfr-dev libmpc-dev | |
cd /usr/bin | |
sudo ln -s aarch64-linux-gnu-gcc-9 aarch64-linux-gnu-gcc | |
# Build armstubs: |
The included script 'widevine-flash_armhf.sh' fetches a ChromeOS image for ARM and extracts the Widevine and Flash binaries, saving them in a compressed archive. Since it downloads a fairly large file (2Gb+ on disk after download) it is recommended that you run the script on a raspberry that has plenty of disk space.
The files in the compressed archive are copied to the folder /usr/lib/chromium-browser/
To run the file just type the following:
sudo ./widevine-flash_armhf.sh
Check out this tutorial: https://lemariva.com/blog/2020/06/raspberry-pi-amazon-prime-netflix-and-drm-solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/sbin/dtrace -C -s | |
/* | |
requirement: disable SIP | |
*/ | |
#pragma D option quiet | |
BEGIN { | |
printf("vm_kernel_slide: 0x%p\n", (`vm_kernel_slide)); | |
printf("vm_kernel_base: 0x%p\n", (`vm_kernel_base)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USAGE=$'extract ipsw root file system on linux | |
usage: ipsw-extract.sh iPhone_Restore.ipsw | |
requires apfs-fuse - https://github.com/sgan81/apfs-fuse' | |
if [ -z "$1" ]; then | |
echo "$USAGE" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void inject_trusts(int pathc, const char *paths[]) | |
{ | |
printf("[+] injecting into trust cache...\n"); | |
extern uint64_t g_kern_base; | |
static uint64_t tc = 0; | |
if (tc == 0) { | |
/* loaded_trust_caches | |
iPhone11,2-4-6: 0xFFFFFFF008F702C8 |