Rating: 5.0

# barcoder (forensics/101, 51p, 37 solved)

Zero technicall challenge here, just tedious manual work.
We get a picture:

![](https://raw.githubusercontent.com/TFNS/writeups/master/2020-02-23-BSidesSF/barcoder/challenge.png)

The goal is to recover the barcode and decode it.
There is nothing special really, we cut out the barcode, used stegsolve to get just one color channel to get rid of all the surroudings, and then simply painted back the missing lines.
For each line there is at least a fraction left, so it's always clear how thick to make it.
Finally we arrive to:

![](https://raw.githubusercontent.com/TFNS/writeups/master/2020-02-23-BSidesSF/barcoder/cancer.png)

And ZXing gives us the flag: `CTF{way_too_common}`

Original writeup (https://github.com/TFNS/writeups/blob/master/2020-02-23-BSidesSF/barcoder/README.md).
unblvrFeb. 27, 2020, 7:07 p.m.

After cutting out the barcode, you could iterate along the X-axis and check for the presence of a black pixel at any point along the Y-axis for every pixel. If present, make all the pixels along the Y-axis black; if not, make all the pixels white. Save image and you get the barcode back with no tedious work.