Files
metasploit-gs/lib/msf/core/exploit/local.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
566 B
Ruby
Raw Normal View History

2013-05-22 00:11:33 -05:00
# -*- coding: binary -*-
2013-05-22 00:11:33 -05:00
###
#
2013-05-24 14:13:10 -05:00
# A specialization of the {Exploit exploit module class} that is geared
# toward exploits that are performed locally. Locally, in this case,
# is defined as an exploit that is realized by means other than
# network communication.
2013-05-22 00:11:33 -05:00
#
###
2013-08-29 13:37:50 -05:00
class Msf::Exploit::Local < Msf::Exploit
2013-09-05 13:41:25 -05:00
include Msf::PostMixin
2013-05-22 00:11:33 -05:00
2013-09-05 13:41:25 -05:00
#
# Returns the fact that this exploit is a local exploit.
#
def exploit_type
Msf::Exploit::Type::Local
end
def run_simple(opts = {}, &block)
Msf::Simple::Exploit.exploit_simple(self, opts, &block)
end
2013-05-22 00:11:33 -05:00
end