Tags: qr-code programming 

Rating:

```
0,0
0,1
0,2
0,3
0,4
0,5
0,6
0,9
0,19
0,20
0,22
.
.
.
```

The given file and the title sugests that each coordinated in the csv is part of the qr code. I wrote a quick script using pygame to show the qr code.

```py
import pygame

a = []
with open("secret.csv", "r") as f:
for line in f.readlines():
b = line.strip().split(",")
b = [int(c) for c in b]
a.append(b)

width,height = 300, 300
win = pygame.display.set_mode((width,height))
s = 10

r = 1
while r:
win.fill((255,255,255))
for event in pygame.event.get():
if event.type == pygame.QUIT:
r = 0

for k in a:
pygame.draw.rect(win,(0,0,0), (k[0]*s,k[1]*s,s,s))

pygame.display.update()

pygame.quit()
exit()
```

![image](https://github.com/jeromepalayoor/ctf-archive-hub/assets/63996033/976c2b21-71ec-411b-8860-8b30f1df3681)

Scan the qr code to get the flag.

Flag: `n00bz{qr_c0d3_1n_4_csv_f1l3_w0w!!!}`

Original writeup (https://jp-ch.gq/forensics/n00bzCTF-2023.html#qrazy-csv).