2019-04-30 10:06:06 -05:00
|
|
|
# -*- coding => binary -*-
|
|
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
|
require 'msf/core/payload/pingback'
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# This module provides datastore option definitions and helper methods for payload modules that support UUIDs
|
|
|
|
|
#
|
|
|
|
|
module Msf::Payload::Pingback::Options
|
|
|
|
|
|
|
|
|
|
def initialize(info = {})
|
|
|
|
|
super
|
|
|
|
|
register_advanced_options(
|
|
|
|
|
[
|
2019-07-18 15:44:20 -05:00
|
|
|
Msf::OptInt.new('PingbackRetries', [true, "How many additional successful pingbacks", 0]),
|
2019-07-29 21:38:20 -05:00
|
|
|
Msf::OptInt.new('PingbackSleep', [true, "Time (in seconds) to sleep between pingbacks", 30])
|
2019-04-30 10:06:06 -05:00
|
|
|
], self.class)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end
|