2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2010-10-08 19:36:34 +00:00
|
|
|
|
2010-06-01 17:01:42 +00:00
|
|
|
require 'msf/base/sessions/meterpreter'
|
|
|
|
|
|
|
|
module Msf
|
|
|
|
module Sessions
|
|
|
|
|
|
|
|
###
|
|
|
|
#
|
|
|
|
# This class creates a platform-specific meterpreter session type
|
|
|
|
#
|
|
|
|
###
|
|
|
|
class Meterpreter_Php_Php < Msf::Sessions::Meterpreter
|
2013-08-30 21:28:33 +00:00
|
|
|
def supports_ssl?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
def supports_zlib?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
def initialize(rstream, opts={})
|
|
|
|
super
|
|
|
|
self.platform = 'php/php'
|
|
|
|
self.binary_suffix = 'php'
|
|
|
|
end
|
2010-06-01 17:01:42 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|