forked from usnistgov/PasswordMetrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile_keyboards.py
76 lines (63 loc) · 1.42 KB
/
mobile_keyboards.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# -*- coding: utf-8 -*-
"""Unicode art approximations of mobile operating system keyboards.
Limitations
- US centric
- Doesn't account for (e.g. email, numeric) keyboard variations
- Doesn't account for manufacturer or carrier customisations
- Doesn't account for custom keyboards
- Incomplete.
Sources:
- http://jfranklin.me/prez/ACSAC-Poster-FINAL.pdf
"""
from __future__ import unicode_literal
IOS_8x_DEPTH_1 = r'''
q w e r t y u i o p
a s d f g h j k l
z x c v b n m
'''.strip('\n')
IOS_8_0_DEPTH_2 = r'''
1 2 3 4 5 6 7 8 9 0
- / : ; ( ) $ & @ "
. , ? ! '
'''.strip('\n')
IOS_8_0_DEPTH_3 = r'''
[ ] { } # % ^ * + =
_ \ | ~ < > € £ ¥ •
. , ? ! '
'''.strip('\n')
ANDROID_5_0_DEPTH_1 = r'''
q w e r t y u i o p
a s d f g h j k l
z x c v b n m
, .
'''.strip('\n')
ANDROID_5_0_DEPTH_2 = r'''
1 2 3 4 5 6 7 8 9 0
@ # $ % & - + ( )
* " ' : ; ! ?
, _ / .
'''.strip('\n')
ANDROID_5_0_DEPTH_3 = r'''
~ ` | • √ π ÷ × ¶ Δ
£ ¢ € ¥ ^ ° = { }
\ © ® ™ ℅ [ ]
, < > .
'''.strip('\n')
WINDOWS_PHONE_8_1_DEPTH_1 = ur'''
q w e r t y u i o p
a s d f g h j k l
z x c v b n m
.
'''.strip('\n')
WINDOWS_PHONE_8_1_DEPTH_2 = r'''
1 2 3 4 5 6 7 8 9 0
@ # $ % & * ( ) - \\
! ; : ' @ ? /
, .
'''.strip('\n')
WINDOWS_PHONE_8_1_DEPTH_3 = r'''
1 2 3 4 5 6 7 8 9 0
^ [ ] { } < > € £ ¥
• - + = _ ~ |
, -
'''.strip('\n')