This is a basic Flask web application that allows users to set and view theme preferences. The theme preferences are stored in cookies and are serialized and deserialized using the pickle
module.
-
Clone the repository to your local machine:
git clone https://github.com/HichamBerbache/insecure-deserialization.git
-
Navigate to the project directory:
cd insecure-deserialization
-
Install the required dependencies (Flask):
pip install Flask
-
Run the Flask application:
python app.py
-
Open your web browser and go to http://localhost:5000.
-
The home page displays the current theme preference. You can click on the "Set Light Theme" or "Set Dark Theme" links to change the theme preference.
This project is licensed under the MIT License - see the LICENSE file for details.