Skip to content

Commit bc593aa

Browse files
author
jvazquez-r7
committed
Avoid confusion between variable and method name
1 parent 2ebfdcc commit bc593aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/post/windows/gather/enum_prefetch.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize(info={})
2828
'SessionType' => ['meterpreter']))
2929
end
3030

31-
def prefetch_key_value()
31+
def print_prefetch_key_value()
3232
# Checks if Prefetch registry key exists and what value it has.
3333
prefetch_key_value = registry_getvaldata("HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\PrefetchParameters", "EnablePrefetcher")
3434
if prefetch_key_value == 0
@@ -145,7 +145,7 @@ def run
145145
"Hash",
146146
"Filename"
147147
])
148-
prefetch_key_value
148+
print_prefetch_key_value
149149
timezone_key_values(key_value)
150150
print_good("Current UTC Time: %s" % Time.now.utc)
151151
sys_root = expand_path("%SYSTEMROOT%")

0 commit comments

Comments
 (0)