From cb94b92e9cc29df992beb69c4c9eb796f64424b4 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Tue, 13 Dec 2011 16:04:25 -0600 Subject: [PATCH] What in nine hells was this. --- lib/msf/core/post/osx/system.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/post/osx/system.rb b/lib/msf/core/post/osx/system.rb index 29ccbeac12..912b752939 100644 --- a/lib/msf/core/post/osx/system.rb +++ b/lib/msf/core/post/osx/system.rb @@ -16,7 +16,7 @@ module System field,val = l.chomp.split(":") system_info[field] = val.strip end - system_info["Kernel"] = `uname -a`.chomp + system_info["Kernel"] = cmd_exec("uname -a") system_info["Hostname"] = system_info["Kernel"].split(" ")[1] return system_info