Methods
wrap(payload) → {string}
Wrap a payload or a string and return it a as string
Example
const p = Payload.new().eval(() => alert(1))
const w = Wrapper.new()
const code = w.wrap(p)
eval(code)
Used to wrap your Payload
Wrap a payload or a string and return it a as string
const p = Payload.new().eval(() => alert(1))
const w = Wrapper.new()
const code = w.wrap(p)
eval(code)