metasploit-framework/lib/rex/post/meterpreter
OJ 1a65566005 Add the getenv command which pulls env vars from the victim
This command will allow the attacker to grab environment variables from the
target, if they exist. Calling this function allows for one or more values
to be passed in, which should match the name of the variable required. If
the variable is found, it is returned. If it is not found, the variable
is not returned (ie. it's not present in the resulting hash).

Note 1: POSIX environment vars are case-senstive, whereas Windows is not.
Note 2: POSIX doesn't seem to cough up user environment vars, it only returns
system vars. I'm not sure why this is, but it could be because of the way
we do linking on POSIX.
2013-11-26 10:05:50 +10:00
..
channels removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
extensions Add the getenv command which pulls env vars from the victim 2013-11-26 10:05:50 +10:00
ui Add the getenv command which pulls env vars from the victim 2013-11-26 10:05:50 +10: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 removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
client_core.rb removed shebangs from files within rex 2013-11-07 18:51:59 -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 removed shebangs from files within rex 2013-11-07 18:51:59 -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