29 lines
491 B
Ruby
29 lines
491 B
Ruby
# -*- coding: binary -*-
|
|
|
|
require 'msf/core/post_mixin'
|
|
|
|
module Msf
|
|
class Exploit
|
|
|
|
###
|
|
#
|
|
# 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.
|
|
#
|
|
###
|
|
class Local < Exploit
|
|
include PostMixin
|
|
|
|
#
|
|
# Returns the fact that this exploit is a local exploit.
|
|
#
|
|
def exploit_type
|
|
Exploit::Type::Local
|
|
end
|
|
end
|
|
|
|
end
|
|
end
|