PAP is considered a weak authentication scheme (weak schemes are simple and have lighter computational overhead but are much more vulnerable to attack; while weak schemes may have limited application in some constrained environments, they are avoided in general). Among PAP's deficiencies is the fact that it transmits unencrypted passwords over the network. PAP is therefore used only as a last resort when the remote server does not support a stronger scheme such as CHAP or EAP.
Lithium876/PAP-POC
A proof of concept of how PAP (Password Authentication Protocol) works when authenticating users. This POC focuses on the fact that this protocol sends passwords our the network in plain-text.
Python