Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 598 Bytes

File metadata and controls

22 lines (15 loc) · 598 Bytes

pylibc

king_phisher.server.pylibc

This module provides a wrapped interface for Linux's libc. Most of this functionality is duplicated in Python's own :pygrp and :pypwd modules. This implementation however, using :pyctypes to directly interface with libc is necessary to avoid dead-lock issues when authenticating non-local users such as would be found in an environment using an LDAP server.

Functions

getgrnam

getgrouplist

getpwnam

getpwuid