Sunday, 30 October 2016

A punched card reader in javascript

While trying out the Ektoparty CTF 2016 there was a challenge which requires to decode a series of punched card images. A punched card looks like this

A Punched Card
Fig 1: A sample punch card

The small white blocks denote the punch. All of the card images were specifically generated by an online service - Card punch. However, on searching for a tool which reads such images, I found nothing, hence I developed a small web app which can read in these punched card images. Please do note the card image must have an exact dimensions of 588 x 264 or else the tool wont work. You can try out the tool here or below. The source is on github.

1 comment:

  1. Going through your brilliant blog has definitely offered me personally with merely the information that I
    just needed. I just currently have been undertaking research on this subject for a
    time, and it has taken a very long while to discover a
    blog that delivers all of the facts which i require.
    I take a look forward to studying even more blogs authored by you in the future, and
    might take a look here first the very next time I have got
    a research requirement.

    ReplyDelete