metasploit-framework/lib/rex/post
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
..
meterpreter Add the getenv command which pulls env vars from the victim 2013-11-26 10:05:50 +10:00
dir.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
file.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
file_stat.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
gen.pl Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
io.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
meterpreter.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
permission.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
process.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
thread.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00
ui.rb removed shebangs from files within rex 2013-11-07 18:51:59 -05:00