Skip to content

Commit 3b8effc

Browse files
committed
fix ext_server_android.jar error
1 parent ebd20fb commit 3b8effc

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

lib/msf/base/sessions/meterpreter_android.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ def initialize(rstream, opts={})
1919
self.platform = 'java/android'
2020
end
2121

22-
def load_android
23-
original = console.disable_output
24-
console.disable_output = true
25-
console.run_single('load android')
26-
console.disable_output = original
27-
end
28-
2922
end
3023

3124
end

lib/msf/base/sessions/meterpreter_options.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ def on_session(session)
6464
end
6565
end
6666

67-
if session.platform =~ /android/i
68-
if datastore['AutoLoadAndroid']
69-
session.load_android
70-
end
71-
end
72-
7367
[ 'InitialAutoRunScript', 'AutoRunScript' ].each do |key|
7468
if (datastore[key].empty? == false)
7569
args = Shellwords.shellwords( datastore[key] )

0 commit comments

Comments
 (0)