Class: Ronin::Payloads::Test::XSS
- Inherits:
-
JavaScriptPayload
- Object
- Payload
- JavaScriptPayload
- Ronin::Payloads::Test::XSS
- Defined in:
- lib/ronin/payloads/builtin/test/xss.rb
Overview
A test payload for Cross Site Scripting (XSS).
Instance Attribute Summary
Attributes inherited from Payload
Instance Method Summary collapse
-
#build ⇒ Object
Builds the XSS test payload.
Methods inherited from JavaScriptPayload
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
#build ⇒ Object
Builds the XSS test payload.
46 47 48 |
# File 'lib/ronin/payloads/builtin/test/xss.rb', line 46 def build @payload = params[:javascript] end |