Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.2: Actually implement cache warming functionality.
  • 2.0: Total rewrite!!! Way faster! Still 100% safe.
Release History

Release History

This version
History Node

2.0

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
asheeshs-django-optimizer-2.0.tar.gz (2.1 kB) Copy SHA256 Checksum SHA256 Source Apr 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting