Programming

How To Build A Log4Shell Detector

February 3, 2022 - 21:25

Log4Shell (CVE-2021-44228) is a zero-day vulnerability in Log4J, a popular open-source Java logging framework used by many organizations around the world. Though the vulnerability has been patched, and upgrading to a newer Log4J version solves the problem, not everyone has completed the necessary upgrade.


I've written a this Guardsquare blog post showing how you can be build a Log4Shell detector using ProGuardCORE to determine if applications are using an older Log4J version that is susceptible to the vulnerability.

 

Klox: A Kotlin implementation of lox with a JVM backend built using ProGuardCORE

October 21, 2021 - 07:12

A Kotlin implementation of lox, the language from Crafting Interpreters, with a JVM backend built with ProGuardCORE. The code is availble on GitHub here.

Example Lox program

fun hello() {
    print "Hello World";
}

hello();

Brainfuck Interpreter

May 8, 2019 - 00:00

As an exercise in using Scala's parser combinator library I implemented a Brainfuck interpreter - see my Github.

Advent of Code 2018

December 26, 2018 - 00:00

I am taking part in Advent of Code 2018 and you can find my answers on my Github, written in Scala.

Advent of Code 2017

December 27, 2017 - 10:49

I am taking part in Advent of Code 2017 and you can find my answers on my Github, written in either Java, Scala or Python.

Coding Tasks

December 27, 2017 - 10:42

You can find on my Github some answers to various coding tasks from interviews and/or online coding test websites, coded in Java, Scala and/or Lisp.

Simple PHP Shopping Cart Tutorial

February 2, 2006 - 00:00

This is a very simple shopping cart that I wrote at university because many of my peers were asking for help with similar problems for assignments. It is incomplete and is not intended for use on a production website!

Subscribe to Programming