A pretend Django optimizer for use in a web security tutorial
Project description
About this package
This package is a total dummy package. Don’t use it in any real apps. It exists for the purpose of demonstrating what a vulnerable/malicious dependency could be like.
During the web security tutorial, pretend this is a real package and you actually need it for the web app in question.
Purpose of this package
Asheesh’s Django Optimizer lets you see your “hashed password”, which is private information that only you should be able to see.
Luckily, this package is secure – it only shows it if you’re logged in as the user you’re looking up.
To see your hashed password, visit:
/optimizer/optimize_user/:username
assuming that you have mapped in the urls.py from this app at /optimizer/ in your site.
This is an optimization because visiting this URL warm the database cache for your data! To automatically warm the database cache for your user data, make sure to create a periodic task (e.g., cron job) that accesses this URL.
Also about this package
Version history:
1.0: Does nothing, successfully.
1.1: Implement cache warming functionality.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file asheeshs-django-optimizer-1.1.tar.gz
.
File metadata
- Download URL: asheeshs-django-optimizer-1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19b8680fd2e3cf48d3a808752e955a9907bdc15a489ffdef362b134c899c4a94 |
|
MD5 | fd48dc501c1a3504be2ada76ca04f952 |
|
BLAKE2b-256 | 1cc71d24441cdc126622e1d18b6658c89effa63c6929f5aa2572da28d1a2127c |