Module: Msf::Payload::Android::PayloadOptions

Included in:
ReverseHttp, ReverseTcp
Defined in:
lib/msf/core/payload/android/payload_options.rb

Instance Method Summary collapse

Instance Method Details

#initialize(info = {}) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/msf/core/payload/android/payload_options.rb', line 6

def initialize(info = {})
  super(info)
  register_advanced_options(
    [
      Msf::OptBool.new('AndroidMeterpreterDebug', [ false, "Run the payload in debug mode, with logging enabled" ]),
      Msf::OptBool.new('AndroidWakelock', [ false, "Acquire a wakelock before starting the payload", true ]),
      Msf::OptBool.new('AndroidHideAppIcon', [ false, "Hide the application icon automatically after launch" ]),
    ]
  )
end