parent
a0a19e5ce8
commit
6e6780da86
|
@ -57,29 +57,10 @@ require 'rex/parser/retina_xml'
|
|||
|
||||
require 'metasploit/framework/require'
|
||||
require 'msf/core/db_manager/import_msf_xml'
|
||||
require 'msf/core/host_state'
|
||||
|
||||
module Msf
|
||||
|
||||
###
|
||||
#
|
||||
# The states that a host can be in.
|
||||
#
|
||||
###
|
||||
module HostState
|
||||
#
|
||||
# The host is alive.
|
||||
#
|
||||
Alive = "alive"
|
||||
#
|
||||
# The host is dead.
|
||||
#
|
||||
Dead = "down"
|
||||
#
|
||||
# The host state is unknown.
|
||||
#
|
||||
Unknown = "unknown"
|
||||
end
|
||||
|
||||
###
|
||||
#
|
||||
# The states that a service can be in.
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
module Msf
|
||||
###
|
||||
#
|
||||
# The states that a host can be in.
|
||||
#
|
||||
###
|
||||
module HostState
|
||||
#
|
||||
# The host is alive.
|
||||
#
|
||||
Alive = "alive"
|
||||
#
|
||||
# The host is dead.
|
||||
#
|
||||
Dead = "down"
|
||||
#
|
||||
# The host state is unknown.
|
||||
#
|
||||
Unknown = "unknown"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue