File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def self.create_session(rstream, opts={})
31
31
return Msf ::Sessions ::Meterpreter_Java_Android . new ( rstream , opts )
32
32
when 'php'
33
33
require 'msf/base/sessions/meterpreter_php'
34
- return Msf ::Sessions ::Meterpreter_Php_Java . new ( rstream , opts )
34
+ return Msf ::Sessions ::Meterpreter_Php_Php . new ( rstream , opts )
35
35
when 'windows'
36
36
if opts [ :payload_uuid ] . arch == ARCH_X86
37
37
require 'msf/base/sessions/meterpreter_x86_win'
@@ -42,6 +42,8 @@ def self.create_session(rstream, opts={})
42
42
end
43
43
44
44
# TODO: what should we do when we get here?
45
+ # For now lets return a generic for basic functionality with http(s) communication
46
+ Msf ::Sessions ::Meterpreter . new ( rstream , opts )
45
47
end
46
48
end
47
49
You can’t perform that action at this time.
0 commit comments