Download the PHP package psecio/notch without Composer
On this page you can find all versions of the php package psecio/notch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package notch
Short Description A vulnerable application
License MIT
Homepage https://github.com/psecio/notch.git
Informations about the package notch
Notch: A Vulnerable Application
Notch is a vulnerable PHP-based application only to be used for training purposes. DO NOT deploy this application in a production environment as it has many known vulnerabilities that could lead to a compromise of your system.
Manual installation
You can install a Notch instance manually in a few simple steps:
git clone
the repo into a web accessible directory, like/var/www/notch
- Run a
composer.phar install
to get all dependencies -
Create the database needed:
- Run the migrations:
vendor/bin/phinx migrate
This should get you up and running with your basic site and a bit of content.
Vagrant installation
A Vagrant setup has been provided in the vagrant/
directory making it a one command install once it's cloned:
One thing to note here though - the Vagrant setup uses name-based virtual hosts, so you'll need to add this
to your /etc/hosts
:
The vulnerabilities
There are several vulnerabilities that are purposefully included in the Notch application based on the OWASP Top 10 list including:
- SQL injection (A1)
- Broken Authentication & Session Management (A2)
- Cross-site scripting (A3)
- Insecure Direct Object References (A4)
- Sensitive Data Exposure (A6)
There are places in the application where comments with the word "Hint" have been placed to help guide you to locate the issues. As this is being used for a tutorial at the PHP Benelux conference, I'm not going to show them just yet :)
All versions of notch with dependencies
robmorgan/phinx Version *
slim/slim Version 2.5.0
pimple/pimple Version 3.0.0
ircmaxell/password-compat Version 1.0.4
php Version >=5.3.1