CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/msf/base/sessions/command_shell_windows.rb
Views: 1904
1
2
module Msf::Sessions
3
4
class CommandShellWindows < CommandShell
5
def initialize(*args)
6
self.platform = "windows"
7
super
8
end
9
def shell_command_token(cmd,timeout = 10)
10
shell_command_token_win32(cmd,timeout)
11
end
12
end
13
14
end
15
16