Skip to content

Instantly share code, notes, and snippets.

Mac Network Commands Cheat Sheet

After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty.

Get an ip address for en0:

ipconfig getifaddr en0

Same thing, but setting and echoing a variable:

@elithaxxor
elithaxxor / GoogleDorking.md
Created January 22, 2025 07:06 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@elithaxxor
elithaxxor / brew-install-kali-tools.sh
Created May 10, 2024 23:49 — forked from MattyBonBon/brew-install-kali-tools.sh
Script to install kali tools that are already included in homebrew
#
# Created from crossmatching katoolin listing & brew search
# to execute:
# $ sh "/path/to/file"
#
echo "Checking for 🍺..."
if test ! $(which brew); then
echo "Installing homebrew (🍺)..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"