2013-05-22 05:11:33 +00:00
|
|
|
# -*- coding: binary -*-
|
2012-06-22 06:03:29 +00:00
|
|
|
|
2013-05-22 05:11:33 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
#
|
2013-05-24 19:13:10 +00: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 05:11:33 +00:00
|
|
|
#
|
|
|
|
###
|
2013-08-29 18:37:50 +00:00
|
|
|
class Msf::Exploit::Local < Msf::Exploit
|
2013-09-05 18:41:25 +00:00
|
|
|
require 'msf/core/post_mixin'
|
|
|
|
include Msf::PostMixin
|
2013-05-22 05:11:33 +00:00
|
|
|
|
2013-09-05 18:41:25 +00:00
|
|
|
#
|
|
|
|
# Returns the fact that this exploit is a local exploit.
|
|
|
|
#
|
|
|
|
def exploit_type
|
|
|
|
Msf::Exploit::Type::Local
|
|
|
|
end
|
2013-05-22 05:11:33 +00:00
|
|
|
end
|