diff --git a/lib/msf/core/post/linux/system.rb b/lib/msf/core/post/linux/system.rb index ff578815dd..518faea13e 100644 --- a/lib/msf/core/post/linux/system.rb +++ b/lib/msf/core/post/linux/system.rb @@ -87,6 +87,12 @@ module System system_data[:distro] = "gentoo" system_data[:version] = version + # Openwall + elsif etc_files.include?("owl-release") + version = read_file("/etc/owl-release").gsub(/\n|\\n|\\l/,'') + system_data[:distro] = 'openwall' + system_data[:version] = version + # Generic elsif etc_files.include?("issue") version = read_file("/etc/issue").gsub(/\n|\\n|\\l/,'')