Utilities

PyPwd

Python stdlib module — pwd. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.getpwall()Neutral
#
Signature
getpwall()

Return a list of all available password database entries, in arbitrary order.

.getpwnam()Neutral
#
Signature
getpwnam(name)

Return the password database entry for the given user name.

.getpwuid()Neutral
#
Signature
getpwuid(uidobj)

Return the password database entry for the given numeric user ID.

.struct_passwd()Neutral
#
Signature
struct_passwd(...)

pwd.struct_passwd: Results from getpw*() routines.

Fully-Qualified Names

FQNField
pwdfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import pwd