‫So let's start up a Metro picture session.
‫Go to Carly, open a terminal screen and run massive console.
‫Let's exploit Metasploit about once again.
‫Using the Java Army server, insecure default config vulnerability.
‫Now, because we have seen all these before, I want to keep a quick search and use the exploit.
‫And now is the time to choose the payload type, show payloads.
‫See the available payload and here are a couple of material payloads I want to use Java Interpreter
‫Reverse TCP, for this example.
‫So I use the set payload Metasploit Framework Command with the payload name type show options to see
‫the options to set.
‫First, the module options, which we already know.
‫Said our host.
‫Supposed.
‫Leave the airport and support as it is.
‫And now here the options of the interpreter reverse TCP payload and as you see, they're not different
‫from the reverse shell payloads options.
‫So because it's a reverse connection, it requires the listeners and the listener, Port said.
‫The El host is our Cali and airport.
‫If you'd like to change, I don't need to change it, so I'll just leave it there.
‫And now type exploit to run the export.
‫It succeeded.
‫We have three interpreter sessions now use Sessions L to list the active sessions and Sessions I with
‫the idea of the session that we want to interact with.
‫Now we have an interpreter session.
‫Congratulations.
‫So I want to run one of them interpreter sessions now, so this info to check if I exploited the correct
‫system.
‫And there it is, yes.
‫I'm in Metasploit.