Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 723 Bytes

File metadata and controls

30 lines (19 loc) · 723 Bytes

CTF Statement:

Can you help me?

I need to know how many lines there are where the number of 0's is a multiple of 3 or the numbers of 1s is a multiple of 2.

Please! Here is the file: https://mega.nz/#!7aoVEKhK!BAohJ0tfnP7bISIkbADK3qe1yNEkzjHXLKoJoKmqLys

File Link


As we follow the link given in the challenge statement, we can download a file: data.dat.

We can then use a script like fancy_count.py to solve this.

$ python3 fancy_count.py
Flag: 6662
Time Taken: 0.0031092166900634766

The Flag:

CTFLearn{6662}

Link to the challenge: Simple Programmming