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/core/handler/none.rb
Views: 1904
1
# -*- coding: binary -*-
2
module Msf
3
module Handler
4
5
###
6
#
7
# The 'none' handler, for no connection.
8
#
9
###
10
module None
11
include Msf::Handler
12
13
#
14
# Returns the handler type of none since payloads that use this handler
15
# have no connection.
16
#
17
def self.handler_type
18
return "none"
19
end
20
21
#
22
# Returns none to indicate no connection.
23
#
24
def self.general_handler_type
25
return "none"
26
end
27
28
end
29
30
end
31
end
32
33