Comited wrong version of the script
git-svn-id: file:///home/svn/framework3/trunk@9250 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
c501e65288
commit
8c56b4c50d
|
@ -9,7 +9,7 @@ var_names << registry_enumvals("HKEY_CURRENT_USER\\Volatile Environment")
|
|||
var_names << registry_enumvals("HKEY_CURRENT_USER\\Environment")
|
||||
var_names << registry_enumvals("HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment")
|
||||
|
||||
def list_env_vars(vars)
|
||||
def list_env_vars(var_names)
|
||||
print_status("Getting all System and User Variables")
|
||||
tbl = Rex::Ui::Text::Table.new(
|
||||
'Header' => "Enviroment Variable list",
|
||||
|
@ -34,4 +34,5 @@ opts.parse(args) { |opt, idx, val|
|
|||
raise Rex::Script::Completed
|
||||
|
||||
end
|
||||
}
|
||||
}
|
||||
list_env_vars(var_names)
|
Loading…
Reference in New Issue