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

27 lines
640 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
require 'msf/core/post_mixin'
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)
raise NotImplementedError, ' - This way of running the local exploit is currently not supported.'
end
2013-05-22 00:11:33 -05:00
end