Linux Basics
TMUX Prefix = CTRL+B
New Server Session tmux new -s title
Leave session :detach Prefix + d
List Sessions tmux list-sessions
Attach session tmux attach-session tmux att -t title
Split Panels 50% vertical/horizontal :split-window -v -p 50 (Prefix + “) :split-window -h -p 50 (Prefix + %) Prefix + O to navigate Prefix + Q to show panel numbers
Examples
Start htop in existing session tmux new-window -t session -d htop
Matrix Knock Knock
clear ; for t in "Wake up" "The Matrix has you" "Follow the white rabbit" "Knock, knock";do clear;pv -qL10 <<<$'\e[2J'$'\e[32m'$t$'\e[37m';sleep 5;done
Curl curl wttr.in/Freising curl cheat.sh/lua/:learn curl rate.sx/btc
iperf
Server: iperf -s -p 6899 -z
Client: iperf -d -t 60 -c 185.158.212.238 -p 6899
iftop (Mac) sudo /usr/local/Cellar/iftop/1.0pre4/sbin/iftop -i en0 -p -t = Text Version
Link binary to local environment example
sudo ln /home/kali/genshell/genshell /usr/local/bin/genshellExploit-Searcher example
Server
Quick SMB Server in current directory: $ python3 /opt/impacket/examples/smbserver.py -smb2support -username THMBackup -password CopyMaster555 public share
Quick Web Server in current directory: $ python3 -m http.server