craigfrancis / bad-website

An intentionally bad website to demonstrate Accessibility, Security, and Performance issues.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad Website

This project includes some of the worst code I can think of.

The question is, can you find all the problems?

There are 3 main areas to focus on:

  1. Security (answers/cheats)
  2. Accessibility (TODO)
  3. Performance (TODO)

The order is not important, as a developer you really need to think about all 3.


Setup

Edit the config.php file, so it includes the connection details to a single MySQL database.

Run the following command, to populate the database, and reset some file/folder permissions.

./reset/reset.sh

Then set your web servers DocumentRoot to the /public/ folder.

And please don't run this website so that anyone else can view it (even on your local network)... otherwise your own computer might get hacked.

About

An intentionally bad website to demonstrate Accessibility, Security, and Performance issues.


Languages

Language:PHP 75.1%Language:CSS 15.4%Language:JavaScript 5.4%Language:Shell 4.1%