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

Function MS_CHAP2_GenerateNTResponse

scapy/layers/radius.py:1442–1449  ·  view source on GitHub ↗

RFC2759 sect 8.1

(AuthenticatorChallenge, PeerChallenge,
                                UserName, HashNT)

Source from the content-addressed store, hash-verified

1440
1441
1442def MS_CHAP2_GenerateNTResponse(AuthenticatorChallenge, PeerChallenge,
1443 UserName, HashNT):
1444 """
1445 RFC2759 sect 8.1
1446 """
1447 Challenge = MS_CHAP2_ChallengeHash(PeerChallenge, AuthenticatorChallenge, UserName)
1448 PasswordHash = HashNT
1449 return MS_CHAP2_ChallengeResponse(Challenge, PasswordHash)
1450
1451
1452def MS_CHAP2_ChallengeHash(PeerChallenge, AuthenticatorChallenge, UserName):

Callers 1

make_replyMethod · 0.85

Calls 2

MS_CHAP2_ChallengeHashFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…