/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
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
echo "As of October 18, 2018 this script works with this image:" | |
echo "http://cdimage.kali.org/kali-weekly/kali-linux-2018-W41-amd64.iso" | |
echo | |
echo "If you are using a different version you will have to change the variables kbuild, headers1, headers2, and server" | |
echo | |
echo "Look in /lib/modules to find out what version of Kali you need to search for." | |
echo | |
proc=$(uname -r|sed 's,[^-]*-[^-]*-,,') |