Skip to content

Commit d6e5208

Browse files
authored
prettify
1 parent 34832d3 commit d6e5208

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

google-ctf-2019/dialtone/writeup.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ local_c = local_20 << 2 | local_c;
2525
The lower two bits represent high frequency, the higher two bits represent low freqency.
2626

2727
Take a look at the switch block
28-
29-
28+
```
3029
high = [1209, 1336, 1477, 1633]
3130
low = [697, 770, 852, 941]
3231
@@ -39,6 +38,6 @@ position 5: local_c should be 8(0b1000), (low[0b10],high[0b00]) = (852Hz,1209Hz)
3938
position 6: local_c should be 1(0b0001), (low[0b00],high[0b01]) = (697Hz,1336Hz) = 2
4039
position 7: local_c should be 0xd(0b1101), (low[0b11],high[0b01]) = (941Hz,1336Hz) = 0
4140
position 8: 0 is invalid, make it 1
42-
41+
```
4342

4443
So the key sequence is 859687201.

0 commit comments

Comments
 (0)