Payloads

This page focusing on Cross-Site Scripting (XSS) attacks and payloads. It offers a collection of examples and information related to XSS, including various payload scenarios and code snippets.

Cross Site Scripting Basic Java script

Sample Java script

01  function processData(data) {
02    data.items.forEach(item => {
03      console.log(item)
04    });
05  }
06
07  let foo = {
08    items: [
09      "Hello",
10      "Hacker",
11      "Here"
12    ]
13  }
14
15  processData(foo)

Moving the Payload to an external Resource

Stealing Session Cookies

Sealing Local Secrets using XXS

chevron-rightLocal Storagehashtag
chevron-rightSession Storagehashtag

KEYloggin with XXS

Stealing Saved password using XSS

StoreKeylog

Phishing

XXS Encoded Payload

Last updated