MCPcopy Create free account
hub / github.com/Cryptogenic/PS5-IPV6-Kernel-Exploit / __init__

Method __init__

fakedns.py:230–235  ·  view source on GitHub ↗
(self, query, address)

Source from the content-addressed store, hash-verified

228# Implemented
229class AAAA(DNSResponse):
230 def __init__(self, query, address):
231 super(AAAA, self).__init__(query)
232 self.type = b"\x00\x1c"
233 self.length = b"\x00\x10"
234 # Address is already encoded properly for the response at rule-builder
235 self.data = address
236
237 # Thanks, stackexchange!
238 # http://stackoverflow.com/questions/16276913/reliably-get-ipv6-address-in-python

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected