Kali linux - tmansfield42/Tech-Journal GitHub Wiki
-
Sudo: allows you to have administrative privileges despite admin status
-
Ctrl + L: clears everything
-
Man: shows manual for command. Ex. “man nmap”
-
Nmap: network map; allows you to detect anything connected to a network.
-O enables OS detection (you can see what operating system devices are on)
-sT uses TCP which requires 3 way handshake
-sS doesn't actually connect with server (does not send ack packet back)
-A incorporates multiple commands into one. OS detection, version detection, script scanning and traceroute.
-D (decoy)
-
Ifconfig: shows ip address and other network data, same as ipconfig in windows cmd
-
msfconsole: starts metasploit
-search x (x would be an exploit within metasploit that you're trying to look for
-use x (x would be the name of the exploit OR it could be # of the exploit on the list, i.e. 0, 1, 2)
-show options: shows options
-set x (set one of the variables within the exploit, ex. set RHOSTS < ip >, set USERNAME < username >, etc.
-exploit: runs exploit