Skip to content

kenjis/ci4-model-update-danger

Repository files navigation

CodeIgniter 4 Model::update() is Dangerous

This sample code contains vulnerabilities.

Warning Do not use. Do not code like these.

The vulnerabilities can be exploited to destroy data in the database.

Setup

$ git clone https://github.com/kenjis/ci4-model-update-danger.git
$ cd ci4-model-update-danger/
$ composer install
$ php spark serve

Navigate to http://localhost:8080/. You will see links to News controllers.

You can add sample news articles with Seeder.

$ php spark db:seed NewsSeeder

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published