Skip to content

Commit d0c22a5

Browse files
committed
Merge pull request #3 from wvu-r7/pr/6421
Add targets to avoid ARCH_ALL payload confusion
2 parents 22a0d97 + 1b386fa commit d0c22a5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

modules/exploits/android/adb/adb_server_exec.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@ def initialize(info = {})
2323
'License' => MSF_LICENSE,
2424
'DefaultOptions' => { 'PAYLOAD' => 'linux/armle/shell_reverse_tcp' },
2525
'Platform' => 'linux',
26-
'Arch' => ARCH_ALL,
27-
'Targets' => [ ['Automatic', {}] ],
26+
'Arch' => [ARCH_ARMLE, ARCH_X86, ARCH_X86_64, ARCH_MIPSLE],
27+
'Targets' => [
28+
['armle', {'Arch' => ARCH_ARMLE}],
29+
['x86', {'Arch' => ARCH_X86}],
30+
['x64', {'Arch' => ARCH_X86_64}],
31+
['mipsle', {'Arch' => ARCH_MIPSLE}]
32+
],
2833
'DefaultTarget' => 0,
2934
'DisclosureDate' => 'Jan 01 2016'
3035
))

0 commit comments

Comments
 (0)