Skip to content
Archive of posts tagged php

Hardening poorly configured services with Cloudflare workers

It seems that Azure is sending x-powered-by header from asp.net, and also the php version. Removing the asp.net header is easy with web.config changes, but the php is tricker. I decided to remove these unwanted header with cloudflare worker-script. Here’s a simple workes which will remove the x-powered-by headers from your responses.

Configuring SyntaxHighlighter plugin to StripBrs

I had way too much trouble with the new version of the SyntaxHighlighter Evolved plugin. The default configuration page is missing the option to StripBrs. A quick and dirty solution was to write a plugin to configure the other plugin. The SyntaxHighlighter configuration is easy. The plugin is running on JavaScript, so all we have to do […]