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/rex/proto/kademlia/ping.rb
Views: 11704
1
# -*- coding: binary -*-
2
3
4
module Rex
5
module Proto
6
module Kademlia
7
# Opcode for a PING request
8
PING = 0x60
9
10
# A Kademlia ping message.
11
class Ping < Message
12
def initialize
13
super(PING)
14
end
15
end
16
end
17
end
18
end
19
20