定制 psecio/notch 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

psecio/notch

最新稳定版本:1.0

Composer 安装命令:

composer require psecio/notch

包简介

A vulnerable application

README 文档

README

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:

  1. git clone the repo into a web accessible directory, like /var/www/notch
  2. Run a composer.phar install to get all dependencies
  3. Create the database needed:
mysqladmin create notch;
mysql -u root -p -e "grant all on notch.* to 'notch'@'localhost' identified by 'notch42'";
  1. 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:

cd vagrant; vagrant up

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:

192.168.1.100 notch.localhost

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 :)

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-22