DEV Community

zerogru
zerogru

Posted on

5

[picoctf] Scan Surprise writeup

Title:

Scan Surprise

Author:

Jeffery John

Date:

8/10/2024

Challenge Description

https://play.picoctf.org/practice/challenge/444

Difficulty Level

Easy

Setup

kali linux

Solution Overview

Detailed Steps

1.List information about the /home/ctf-player/drop-in FILEs all

ls
flag.png
Enter fullscreen mode Exit fullscreen mode

2.zbar tool read png file barcode
zbarimg

Final Exploit/Flag

zbarimg  home/ctf-player/drop-in/flag.png 
QR-Code:picoCTF{p33k_@_b00_0194a007}
scanned 1 barcode symbols from 1 images in 0.02 seconds
Enter fullscreen mode Exit fullscreen mode

Lessons Learned

Forensics

References

https://linux.die.net/man/1/ls
https://zbar.sourceforge.net/

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay