metasploit-framework/lib/msf/base/sessions
HD Moore 673e21cfaf Rework meterpreter SSL & pass datastore to handle_connection()
This allows HandlerSSLCert to be used to pass a SSL certificate into the Meterpreter handler. The datastore has to be passed into handle_connection() for this to work, as SSL needs to be initialized on Session.new. This still doesn't pass the datastore into Meterpreter directly, but allows the Session::Meterpreter code to extract and pass down the :ssl_cert option if it was specified. This also fixes SSL certificate caching by expiring the cached cert from the class variables if the configuration has changed. A final change is to create a new SSL SessionID for each connection versus reusing the SSL context, which is incorrect and may lead to problems in the future (if not already).
2014-11-22 15:35:00 -06:00
..
command_shell.rb Retab lib 2013-08-30 16:28:33 -05:00
command_shell_options.rb Retab lib 2013-08-30 16:28:33 -05:00
meterpreter.rb Rework meterpreter SSL & pass datastore to handle_connection() 2014-11-22 15:35:00 -06:00
meterpreter_android.rb Final-round of code tweaks. All commands working well. 2014-08-09 13:04:52 -05:00
meterpreter_java.rb remove extra whitespace 2014-07-29 16:23:27 +02:00
meterpreter_options.rb Rework meterpreter SSL & pass datastore to handle_connection() 2014-11-22 15:35:00 -06:00
meterpreter_php.rb Retab lib 2013-08-30 16:28:33 -05:00
meterpreter_python.rb Retab lib 2013-08-30 16:28:33 -05:00
meterpreter_x64_win.rb Retab lib 2013-08-30 16:28:33 -05:00
meterpreter_x86_bsd.rb Retab lib 2013-08-30 16:28:33 -05:00
meterpreter_x86_linux.rb Retab lib 2013-08-30 16:28:33 -05:00
meterpreter_x86_win.rb Add x86 to meterpreter's binary suffix 2013-09-16 21:52:04 -05:00
scriptable.rb Dont rescue Exception 2014-09-28 09:12:03 +01:00
tty.rb Retab lib 2013-08-30 16:28:33 -05:00
vncinject.rb Use better system call 2014-02-22 20:34:56 +00:00
vncinject_options.rb SnakeCase option looks better 2014-02-14 21:05:24 +00:00