# install dependecies
apt-get install qemu qemu-user-static binfmt-support
# download raspbian image
wget https://downloads.raspberrypi.org/raspbian_latest
# extract raspbian image
unzip raspbian_latest
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
/** | |
* Hello, and welcome to this brief, but hopefully complete, example file for | |
* wireless packet injection using pcap. | |
* | |
* Although there are various resources for this spread on the web, it is hard | |
* to find a single, cohesive piece that shows how everything fits together. | |
* This file aims to give such an example, constructing a fully valid UDP packet | |
* all the way from the 802.11 PHY header (through radiotap) to the data part of | |
* the packet and then injecting it on a wireless interface | |
* |
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
# This software is released under the terms of GPLv2 by copyright@mzpqnxow.com | |
# Please see LICENSE or LICENSE.md for more information on GPLv2 | |
# This is not for you if you are not using a musl-cross-make toolchain | |
# This is a productivity script that should be sourced from a Bash shell | |
# | |
# It is meant to be used after making and installing a musl toolchain using | |
# the excellent musl-cross-make tool by Rich Felker: | |
# | |
# https://github.com/richfelker/musl-cross-make |
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
0 | |
00 | |
01 | |
02 | |
03 | |
1 | |
1.0 | |
10 | |
100 | |
1000 |
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
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 | |
# From https://gist.github.com/ryancdotorg/84275935f0b82578d8c222e2e915fc78 | |
# built binaries at https://ryanc-musl-bins.s3.amazonaws.com/SHA256SUMS.html | |
set -eo pipefail | |
set -x | |
export BUILD_SCRIPT_DATE="$(date -r "$0" -Iseconds)" | |
PV_VERSION=1.8.5 |