Class: Ronin::Payloads::Test::URL

Inherits:
URLPayload show all
Defined in:
lib/ronin/payloads/builtin/test/url.rb

Overview

A test URL payload. Allows using a custom URL with exploits that require a URL payload.

Since:

  • 0.2.0

Instance Attribute Summary

Attributes inherited from Payload

#encoders, #payload

Instance Method Summary collapse

Methods inherited from URLPayload

payload_type, url

Methods inherited from Payload

#built?, #built_payload, #bytesize, #cleanup, #encode_payload, #encoded_payload, encoder_class, #initialize, #length, payload_type, #perform_build, #perform_cleanup, #perform_postlaunch, #perform_prelaunch, #perform_validate, #postlaunch, #prelaunch, #rebuild_payload, #reencode_payload, register, #to_s, #validate

Constructor Details

This class inherits a constructor from Ronin::Payloads::Payload

Instance Method Details

#buildObject

Since:

  • 0.2.0



46
47
48
# File 'lib/ronin/payloads/builtin/test/url.rb', line 46

def build
  @payload = params[:url]
end