Common Terms (Cheat Sheet)

Here are some of the most common terms and technologies that we will come across repeatedly and must have a firm grasp of. This is not an exhaustive list but is enough to get started with.

General

sudo openvpn user.ovpn ##Connect to VPN
ifconfig/ip a ##Show our IP address
netstat -rn ##Show networks accessible via the VPN
ssh user@10.10.10.10 ## SSH to a remote server
ftp 10.129.42.253

TMUX

tmux ## Start tmux
ctrl+b ## tmux: default prefix
prefix c ## tmux: new window
prefix 1 ## tmux: switch to window (1)
prefix shift++% ## tmux: split pane vertically
prefix shift+" ## tmux: split pane horizontally
prefix -> ## tmux: switch to the right pane

Vim

vim file	vim: open file with vim
esc+i	## vim: enter insert mode
esc	## vim: back to normal mode
x	## vim: Cut character
dw	## vim: Cut word
dd	## vim: Cut full line
yw	## vim: Copy word
yy	## vim: Copy full line
p	## vim: Paste
:1	## vim: Go to line number 1.
:w	## vim: Write the file 'i.e. save'
:q	## vim: Quit
:q!	## vim: Quit without saving
:wq	## vim: Write and quit

Vim Cheat Sheet - Advanced Vim Cheat Sheet

Pentesting Commands

Service Scanning

Web Enumeration

Public Exploits

Using Shells

Privilege Escalation

Transfering Files

Last updated