From 9e30c5849565d1cb352417cf62451eab0d69af0d Mon Sep 17 00:00:00 2001 From: James Lee Date: Tue, 5 Nov 2013 13:47:02 -0600 Subject: [PATCH] Blow away remnants of Local::Unix --- modules/exploits/linux/local/sock_sendpage.rb | 5 ----- modules/exploits/linux/local/udev_netlink.rb | 7 ------- modules/post/multi/escalate/metasploit_pcaplog.rb | 1 - 3 files changed, 13 deletions(-) diff --git a/modules/exploits/linux/local/sock_sendpage.rb b/modules/exploits/linux/local/sock_sendpage.rb index 231612a9b1..090c3b641c 100644 --- a/modules/exploits/linux/local/sock_sendpage.rb +++ b/modules/exploits/linux/local/sock_sendpage.rb @@ -9,11 +9,6 @@ require 'msf/core/exploit/local/linux_kernel' require 'msf/core/exploit/local/linux' require 'msf/core/exploit/exe' -#load 'lib/msf/core/post/file.rb' -#load 'lib/msf/core/exploit/local/unix.rb' -#load 'lib/msf/core/exploit/local/linux.rb' -#load 'lib/msf/core/exploit/local/linux_kernel.rb' - class Metasploit4 < Msf::Exploit::Local Rank = GreatRanking diff --git a/modules/exploits/linux/local/udev_netlink.rb b/modules/exploits/linux/local/udev_netlink.rb index 4de931fa2a..de92dac21a 100644 --- a/modules/exploits/linux/local/udev_netlink.rb +++ b/modules/exploits/linux/local/udev_netlink.rb @@ -7,14 +7,8 @@ require 'msf/core' require 'rex' require 'msf/core/exploit/local/linux_kernel' require 'msf/core/exploit/local/linux' -require 'msf/core/exploit/local/unix' require 'msf/core/exploit/exe' -#load 'lib/msf/core/post/file.rb' -#load 'lib/msf/core/exploit/local/unix.rb' -#load 'lib/msf/core/exploit/local/linux.rb' -#load 'lib/msf/core/exploit/local/linux_kernel.rb' - class Metasploit4 < Msf::Exploit::Local Rank = GreatRanking @@ -22,7 +16,6 @@ class Metasploit4 < Msf::Exploit::Local include Msf::Post::File include Msf::Exploit::Local::Linux - include Msf::Exploit::Local::Unix def initialize(info={}) super( update_info( info, { diff --git a/modules/post/multi/escalate/metasploit_pcaplog.rb b/modules/post/multi/escalate/metasploit_pcaplog.rb index 9c1d578675..ba62364952 100644 --- a/modules/post/multi/escalate/metasploit_pcaplog.rb +++ b/modules/post/multi/escalate/metasploit_pcaplog.rb @@ -14,7 +14,6 @@ class Metasploit3 < Msf::Post include Msf::Post::File include Msf::Exploit::Local::Linux - include Msf::Exploit::Local::Unix def initialize(info={}) super( update_info( info, {