1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Avoid confusion between variable and method name

This commit is contained in:
jvazquez-r7 2013-08-28 09:24:32 -05:00
parent 2ebfdcc84b
commit bc593aab4f

View File

@ -28,7 +28,7 @@ class Metasploit3 < Msf::Post
'SessionType' => ['meterpreter']))
end
def prefetch_key_value()
def print_prefetch_key_value()
# Checks if Prefetch registry key exists and what value it has.
prefetch_key_value = registry_getvaldata("HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\PrefetchParameters", "EnablePrefetcher")
if prefetch_key_value == 0
@ -145,7 +145,7 @@ class Metasploit3 < Msf::Post
"Hash",
"Filename"
])
prefetch_key_value
print_prefetch_key_value
timezone_key_values(key_value)
print_good("Current UTC Time: %s" % Time.now.utc)
sys_root = expand_path("%SYSTEMROOT%")