1# -*- coding: binary -*- 2 3 4### 5# 6# A specialization of the {Exploit exploit module class} that is geared 7# toward exploits that are performed locally. Locally, in this case, 8# is defined as an exploit that is realized by means other than 9# network communication. 10# 11### 12class Msf::Exploit::Local < Msf::Exploit 13 include Msf::PostMixin 14 15 # 16 # Returns the fact that this exploit is a local exploit. 17 # 18 def exploit_type 19 Msf::Exploit::Type::Local 20 end 21 22 def run_simple(opts = {}, &block) 23 Msf::Simple::Exploit.exploit_simple(self, opts, &block) 24 end 25end 26 27