HotkeyP up to and including 4.9 r96 allows privilege escalation in the privilege function in Commands.cpp.
hotkeyp project hotkeyp
hotkeyp project hotkeyp 4.9