Skip to content

Commit f6b0ba0

Browse files
authored
Update solution.txt
1 parent 3bf63f6 commit f6b0ba0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Picker I/solution.txt

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ since it opens the file flag.txt and prints its contents in hex.
44
Now, code that gets executed is the one that enters infinite loop and waits for you to enter
55
'getRandomNumber' in order to print number 4. Nevertheless, key is the eval() call that executes what you
66
enter, that is, function with the name that you enter.
7+
Let's connect to the host:
8+
9+
nc saturn.picoctf.net 60412
10+
11+
712
Since we have win() function, we can just enter 'win' and it will execute it, thus print flag in hex:
813

914
Try entering "getRandomNumber" without the double quotes...

0 commit comments

Comments
 (0)