Skip to content

Commit 7512e04

Browse files
committed
fixing autoload
1 parent 6bbb212 commit 7512e04

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

lib/msf/base/sessions/meterpreter_android.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: binary -*-
22

33
require 'msf/base/sessions/meterpreter'
4+
require 'msf/base/sessions/meterpreter_java'
45
require 'msf/base/sessions/meterpreter_options'
56

67
module Msf

lib/rex/post/meterpreter/extensions/android/android.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env ruby
22
# -*- coding: binary -*-
3-
43
require 'rex/post/meterpreter/extensions/android/tlv'
54
require 'rex/post/meterpreter/packet'
65
require 'rex/post/meterpreter/client'
@@ -120,7 +119,6 @@ def check_root
120119
response = client.send_request(request)
121120
response.get_tlv(TLV_TYPE_CHECK_ROOT_BOOL).value
122121
end
123-
124122
end
125123

126124
end

lib/rex/post/meterpreter/ui/console/command_dispatcher/android.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: binary -*-
2-
require 'msf/core'
32
require 'rex/post/meterpreter'
3+
require 'msf/core/auxiliary/report'
44

55
module Rex
66
module Post
@@ -15,9 +15,9 @@ module Ui
1515
class Console::CommandDispatcher::Android
1616
include Console::CommandDispatcher
1717
include Msf::Auxiliary::Report
18-
19-
def initialize(shell)
20-
super
18+
19+
def framework
20+
client.framework
2121
end
2222

2323
#

0 commit comments

Comments
 (0)