CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/msf/base/sessions/meterpreter_x86_win.rb
Views: 11784
1
# -*- coding: binary -*-
2
3
4
module Msf
5
module Sessions
6
7
###
8
#
9
# This class creates a platform-specific meterpreter session type
10
#
11
###
12
class Meterpreter_x86_Win < Msf::Sessions::Meterpreter
13
def initialize(rstream,opts={})
14
super
15
self.base_platform = 'windows'
16
self.base_arch = ARCH_X86
17
end
18
19
def lookup_error(code)
20
Msf::WindowsError.description(code)
21
end
22
23
def supports_ssl?
24
false
25
end
26
end
27
28
end
29
end
30
31