Difficulty: Beginner
Estimated Time: 10 minutes

Polyscripting is a technology that dynamically generates a brand new programming language forked from PHP that stops remote code injection.

By combining Polyscripted PHP with a transformer that converts WordPress (including all plugins) to this new programming language, we get a WordPress that is more secure than ever before.

Read more on this blog post: Polyscripting WordPress: using scrambled PHP to stop code injection attacks

But why wait? Let's try Polyscripting out right now!

Depending on whether you ran plain/stock WordPress or Polyscripted WordPress, you may have seen different results.

If you didn't try both, go ahead and restart the scenario and try it the other way.

Feel free to explore the Docker images and GitHub repositories used in this demo and use, contribute, and share!

Friends don't let friends get code injections.

Polyscripted WordPress

Step 1 of 5

Run Wordpress

The terminal on your right should be starting a routine MySQL Docker Container to connect our WordPress site.

When MySQL is ready, run either of the commands below to start WordPress in Plain Mode/Stock Mode (WordPress as it exists everywhere on the planet), or start it in Polyscripted Mode (A WordPress that is unique to this specific instance on your right.)

Plain/Stock WordPress

docker run --rm -d --name wordpress -v $PWD/wordpress:/wordpress --link mysql-host:mysql -p 80:80 polyverse/polyscripted-wordpress:b1805560d812c84e441b0ca0326c66bf5522c5ad

Polyscripted WordPress

NOTE: This version takes JUST a bit longer to start because it's generating a new PHP on the fly, as well as transforming WordPress to it.

docker run --rm -d -e "MODE=polyscripted" --name wordpress -v $PWD/wordpress:/wordpress --link mysql-host:mysql -p 80:80 polyverse/polyscripted-wordpress:b1805560d812c84e441b0ca0326c66bf5522c5ad

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]