Metasploit framework - Paiet/SEC-335 GitHub Wiki
To open up msf console type msf in the search field for kali or in a terminal window
Using a particular exploit
- search for a potential exploits using
search and the name of an potentially exploitable servic3es
Such as: search smb for smb exploits
After you find and load you exploit you need to fill out the necessary option fields
- you can find out these field by typing
options
- use
set NAME OF OPTION to lock in your options
- once done, type
run to execute/exploit a system vulnerable service
- to open a shell type
shell
- to get a more interactive shell you can import one using python:
python -c 'import pty;pty:spawn("/bin/bash")