Cheat Sheet Flashcards
uname -a
Geeft kernel en OS informatie van het systeem
netstat -rn
Toon netwerken die toegankelijk zijn via het VPN
Wat is de tmux: default prefix
ctrl+b
Wat is de tmux: new window
prefix c
tmux: switch to window (1)
prefix 1
tmux: split pane vertically
prefix shift+%
tmux: split pane horizontally
prefix shift+”
tmux: switch to the right pane
prefix ->
tmux: close current pane
prefix b+X
vim: enter insert mode
esc+i
vim: back to normal mode
esc
vim: Cut character
x
vim: Cut word
dw
vim: Cut full line
dd
vim: Copy word
yw
vim: Copy full line
yy
vim: Paste
p
vim: Go to line number 1.
:1
vim: Write the file ‘i.e. save’
:w
vim: Quit
:q
vim: Quit without saving
:q!
vim: Write and quit
:wq
Run nmap on an IP
nmap 10.129.42.253
Run an nmap script scan on an IP
nmap -sV -sC -p- 10.129.42.253
List various available nmap scripts
locate scripts/citrix
Run an nmap script on an IP
nmap –script smb-os-discovery.nse -p445 10.10.10.40
Grab banner of an open port
netcat 10.10.10.10 22
List SMB Shares
smbclient -N -L \\10.129.42.253