Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

An Intro to XSS

Building the website

We are going to be building a website using HTML, python and the flask framework

Step 1

Create a new folder for your website in a folder (directory) that makes sense.

Step 2

Set up a python virtual environment:

Run the command to create your environment:

python -m venv xss-environment

Activate the environment run only one of the below: macOS/Linux:

source myenv/bin/activate

Windows (command prompt):

myenv\Scripts\activate.bat

Windows (powershell):

.\myenv\Scripts\Activate.ps1

Install Flask:

pip install flask