metasploit-framework/lib/rex/post/meterpreter
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
..
channels removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
extensions Add support for the getsid command 2014-11-07 10:38:22 +10:00
ui Differentiate failed binds from connects, closes #4169 2014-11-11 14:59:41 -06:00
channel.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
channel_container.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
client.rb Rework meterpreter SSL & pass datastore to handle_connection() 2014-11-22 15:35:00 -06:00
client_core.rb Revert "Land #3446 -- Meterpreter bins gem switch" due to build failures 2014-06-25 13:24:07 -05:00
dependencies.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
extension.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
inbound_packet_handler.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
object_aliases.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
packet.rb Fix host-endian related pack errors. See below for details. 2014-06-30 02:46:36 -05:00
packet_dispatcher.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
packet_parser.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
packet_response_waiter.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00