MCPcopy Create free account
hub / github.com/secdev/scapy / resign_ticket

Method resign_ticket

scapy/modules/ticketer.py:2419–2428  ·  view source on GitHub ↗

Resign a ticket from CCache :param hash: the hash to use to compute the Server Signature :param kdc_hash: the hash to use to compute the KDC signature (if None, not recomputed unless its a TGT where is uses hash)

(self, i, hash=None, kdc_hash=None)

Source from the content-addressed store, hash-verified

2417 return tkt
2418
2419 def resign_ticket(self, i, hash=None, kdc_hash=None):
2420 """
2421 Resign a ticket from CCache
2422
2423 :param hash: the hash to use to compute the Server Signature
2424 :param kdc_hash: the hash to use to compute the KDC signature
2425 (if None, not recomputed unless its a TGT where is uses hash)
2426 """
2427 tkt = self.dec_ticket(i, hash=hash)
2428 self.update_ticket(i, tkt, resign=True, hash=hash, kdc_hash=kdc_hash)
2429
2430 def request_tgt(
2431 self,

Callers

nothing calls this directly

Calls 2

dec_ticketMethod · 0.95
update_ticketMethod · 0.95

Tested by

no test coverage detected