I'm performing some CTF challenge online and I need to generate time-stamps for bruteforcing.
What I want to know is how to generate time stamps in hh:mm format and with all numbers possible, for example 00:00 - 00:01 ... 12:23 and so on.
I wrote this code from someone but I don't get it much:
for h in range(24):
print(f"{h:02d}")
Output:
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23