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