coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

Can`t decode User-Password raduis attribute while PAP auth #287

Closed alex-eri closed 8 years ago

alex-eri commented 8 years ago

Radius server tested with mikrotik and radtest. User-Password decoded with pw-decrypt has wrong data - random bytes.

Trying to login with: http://192.168.182.1:3990/logon?username=000010&password=972668

i.e. without chap. Chap is not needed because of OTP from external UAM page.

alex-eri commented 8 years ago

I found that PAP password is XORed with challenge. Is there any way to use Plain Plaintext passwords?

tranvanhoa533 commented 3 years ago

Hi @alex-eri,

I also encountered this problem. Can you share how to solve it?