Module: Msf::Payload::Adapter::Fetch::WindowsOptions
- Defined in:
- lib/msf/core/payload/adapter/fetch/windows_options.rb
Instance Method Summary collapse
Instance Method Details
#initialize(info = {}) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/msf/core/payload/adapter/fetch/windows_options.rb', line 3 def initialize(info = {}) super ('FETCH_WRITABLE_DIR') ( [ Msf::OptEnum.new('FETCH_COMMAND', [true, 'Command to fetch payload', 'CURL', %w{ CURL TFTP CERTUTIL }]), Msf::OptString.new('FETCH_WRITABLE_DIR', [ true, 'Remote writable dir to store payload; cannot contain spaces.', '%TEMP%'], regex:/^[\S]*$/) ] ) end |