Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 463 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 463 Bytes

CSRF in Flask Example

Insecure Flask App

Setup

  1. Create and activate a virtual environment

  2. Install the dependencies:

    pip install -r requirements.txt
  3. Run the Flask app:

    python app.py
  4. Serve the index.html from the "hacker" folder with http.server:

    python -m http.server --directory hacker 8002