Microsoft pptp vpn vulnerabilities Exploits in Action


© SANS Institute 2000 - 200



Download 2 Mb.
Pdf ko'rish
bet111/144
Sana16.01.2022
Hajmi2 Mb.
#372744
1   ...   107   108   109   110   111   112   113   114   ...   144
Bog'liq
microsoft-pptp-vpn-vulnerabilities-exploits-action 337

© SANS Institute 2000 - 200
                                                5
, Author retains full rights.
 
 
 
 
 
 
 
 
 
 
 
 
Key fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Key fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46 
 
© SANS Institute 2000 - 200
5                                                                                                                 
Author retains full rights.
76
void cache_challenge(struct ip *ip, struct pptp_gre_header *gre, void *pack)
{
struct {
struct ppp_lcp_chap_header chap;
struct ppp_chap_challenge challenge;
} *p;
struct challenge *ptr;
p = pack;
for (ptr = challenges; ptr != NULL; ptr = challenges->next)
{
if ((ptr->clt.s_addr == ip->ip_dst.s_addr) &&
(ptr->srv.s_addr == ip->ip_src.s_addr))
break;
}
if (ptr == NULL)
{
if ((ptr = malloc(sizeof(struct challenge))) == NULL)
fatal(NULL);
ptr->next = challenges;
ptr->clt.s_addr = ip->ip_dst.s_addr;
ptr->srv.s_addr = ip->ip_src.s_addr;
challenges = ptr;
}
if (p->challenge.size == 8)
{
if (debug)
printf("Using MS-CHAP v1\n");
ptr->version = 1;
memcpy(ptr->challenge, p->challenge.value.challenge_v1, 8);
}
else if (p->challenge.size == 16) 
{
if (debug)
 printf("Using MS-CHAP v2\n");
ptr->version = 2;
memcpy(ptr->challenge, p->challenge.value.challenge_v2, 16);
}
else
fatal("unknown version of MS-CHAP");
}
0



Download 2 Mb.

Do'stlaringiz bilan baham:
1   ...   107   108   109   110   111   112   113   114   ...   144




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish