Skip to content

Commit 4f854b1

Browse files
committed
Update 10-itainthere.md
1 parent 716503c commit 4f854b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/writeups/CyberConverge 2025/10-itainthere.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Can you really break the pincode? ...
3131
Try if you must: ^CTraceback (most recent call last):
3232
File "/tmp/selfgz116517/./pin_checker.py", line 105, in <module>
3333
main()
34-
~~~~^^
3534
File "/tmp/selfgz116517/./pin_checker.py", line 82, in main
3635
pin = input("Try if you must: ")
3736
KeyboardInterrupt
@@ -43,12 +42,13 @@ But visiting it after execution shows nothing. So we try and access it while exe
4342
But what we need is the flag from this function:
4443
4544
```python
45+
{% raw %}
4646
def generate_real_flag(pin):
47-
FLAG_PREFIX = "CBCV{%s}"
47+
FLAG_PREFIX = "CBCV{%s}"
4848
4949
hashed_pin = hashlib.blake2b((pin + "blindinglights").encode("utf-8")).hexdigest()[:32]
5050
return FLAG_PREFIX % hashed_pin
51-
51+
{% endraw %}
5252
```
5353
5454
This is called when entered pin is 98315. Use this to get the correct flag with the program.

0 commit comments

Comments
 (0)