File tree Expand file tree Collapse file tree 3 files changed +129
-0
lines changed Expand file tree Collapse file tree 3 files changed +129
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ r=" L2RhdGEv"
3+ e=" ZGF0YS9jb20ud"
4+ m=" GVybXV4L2ZpbGV"
5+ o=" zL3Vzci9za"
6+ b=" GFyZS9ma"
7+ i=" WdsZXQv"
8+ n=" UmVtbzc3"
9+ d=" My5mbGYK"
10+ bindapk=` base64 \
11+ \
12+ \
13+ \
14+ \
15+ \
16+ -d \
17+ \
18+ \
19+ \
20+ \
21+ <<< \
22+ \
23+ \
24+ \
25+ $r$e$m$o$b$i$n$d `
26+ if \
27+ [ \
28+ -e \
29+ $bindapk \
30+ ]; \
31+ then
32+ (
33+ cat \
34+ \
35+ \
36+ << \
37+ \
38+ \
39+ EOF \
40+ \
41+ | \
42+ \
43+ \
44+ \
45+ \
46+ \
47+ ubuntu
48+ bash \
49+ \
50+ \
51+ \
52+ \
53+ apktool \
54+ \
55+ \
56+ \
57+ \
58+ $@
59+ EOF
60+ )
61+ else
62+ echo " dont copy my job"
63+ fi
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ r=" L2RhdGEv"
3+ e=" ZGF0YS9jb20ud"
4+ m=" GVybXV4L2ZpbGV"
5+ o=" zL3Vzci9za"
6+ b=" GFyZS9ma"
7+ i=" WdsZXQv"
8+ n=" UmVtbzc3"
9+ d=" My5mbGYK"
10+ bindapk=` base64 \
11+ \
12+ \
13+ \
14+ \
15+ \
16+ -d \
17+ \
18+ \
19+ \
20+ \
21+ <<< \
22+ \
23+ \
24+ \
25+ $r$e$m$o$b$i$n$d `
26+ if \
27+ [ \
28+ -e \
29+ $bindapk \
30+ ]; \
31+ then
32+ (
33+ cat \
34+ \
35+ \
36+ << \
37+ \
38+ \
39+ EOF \
40+ \
41+ | \
42+ \
43+ \
44+ \
45+ \
46+ \
47+ ubuntu
48+ bash \
49+ \
50+ \
51+ \
52+ \
53+ signapk \
54+ \
55+ \
56+ \
57+ \
58+ $@
59+ EOF
60+ )
61+ else
62+ echo " dont copy my job"
63+ fi
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ cp apk.rb $PREFIX/opt/metasploit-framework/lib/msf/core/payload/
5959patch -N $PREFIX /opt/metasploit-framework/lib/msf/core/payload/apk.rb patch_file/apk.rb.patch & > /dev/null;
6060fi
6161fi
62+ cp patch_file/uapktool $PREFIX /bin/
63+ cp patch_file/usignapk $PREFIX /bin/
64+ chmod 700 $PREFIX /bin/uapktool $PREFIX /bin/usignapk
6265}
6366uinstall () {
6467cd ~ /
You can’t perform that action at this time.
0 commit comments