Module: Rex::Proto::Kademlia
- Included in:
- Msf::Auxiliary::Kademlia
- Defined in:
- lib/rex/proto/kademlia.rb,
lib/rex/proto/kademlia/ping.rb,
lib/rex/proto/kademlia/pong.rb,
lib/rex/proto/kademlia/message.rb,
lib/rex/proto/kademlia/bootstrap_request.rb,
lib/rex/proto/kademlia/bootstrap_response.rb
Defined Under Namespace
Modules: Util Classes: BootstrapRequest, BootstrapResponse, Message, Ping, Pong
Constant Summary collapse
- PING =
Opcode for a PING request
0x60
- PONG =
Opcode for a PING response
0x61
- BOOTSTRAP_REQUEST =
Opcode for a BOOTSTRAP request
0x01
- BOOTSTRAP_RESPONSE =
Opcode for a bootstrap response
0x09
Class Method Summary collapse
-
.decode_peer_id(bytes) ⇒ String
deprecated
Deprecated.
Access via Rex::Proto::Kademlia::Util
Class Method Details
.decode_peer_id(bytes) ⇒ String
Deprecated.
Access via Rex::Proto::Kademlia::Util
Decodes an on-the-wire representation of a Kademlia peer to its 16-character hex equivalent
9 10 11 |
# File 'lib/rex/proto/kademlia.rb', line 9 def self.decode_peer_id(bytes) Util.decode_peer_id(bytes) end |