About

I’ve decided to create this page as a quick reference list of the commands I use more often, as well as adding new entries as soon as I learn how to do something new

Feel free to make your suggestions in the comments :smiley:

File Transfer

Send/Receive Files using NC

More info at Using Netcat for File Transfers (nakkaya.com)

# Receiving Machine
nc -l -p 1234 > out.file

# Sending Machine
nc -w 3 [destination] 1234 < out.file

Upgrading Shell

python3 -c 'import pty;pty.spawn("/bin/bash")'
<Ctrl+Z>
stty raw -echo; fg
export TERM=screen-256color; stty rows 50 columns 200