Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A module for amass to read passwd and group info

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
README.md

amass-etc-passwd

A module for amass to read passwd and group info

See node-etc-passwd

Installation

  1. Install amass
  2. [sudo] amass --add amass-etc-passwd
  3. run amass

Example

Add this plugin to amass to get passwd and group info

{
  "users": [
    {
      "username": "nobody",
      "password": "*",
      "uid": -2,
      "gid": -2,
      "comments": "Unprivileged User",
      "home": "/var/empty",
      "shell": "/usr/bin/false"
    },
    {
      "username": "root",
      "password": "*",
      "uid": 0,
      "gid": 0,
      "comments": "System Administrator",
      "home": "/var/root",
      "shell": "/bin/sh"
    },
    { ... }
  ],
  "groups": [
    {
      "groupname": "nobody",
      "password": "*",
      "gid": -2,
      "users": []
    },
    {
      "groupname": "nogroup",
      "password": "*",
      "gid": -1,
      "users": []
    },
    { ... }
  ]
}

License

MIT

Something went wrong with that request. Please try again.