mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-27 11:09:09 -04:00
11 lines
192 B
C
11 lines
192 B
C
#include <pwd.h>
|
|
int main()
|
|
{
|
|
struct passwd *p;
|
|
while(
|
|
p=getpwent())
|
|
printf("%s:%s:%d:%d:%s:%s:%s\n", p->pw_name,p->pw_passwd,
|
|
p->pw_uid, p->pw_gid, p->pw_gecos, p->pw_dir, p->pw_shell);
|
|
}
|
|
|