Git Product home page Git Product logo

ldsview's Introduction

ldsview

Offline search tool for LDAP directory dumps in LDIF format.

Features

  • Fast and memory efficient parsing of LDIF files
  • Build ldapsearch commands to extract an LDIF from a directory
  • Show directory structure
  • UAC and directory time format translation

Config

Config options can be passed as CLI flags, environment variables, or via a config file courtsey of viper. Reference the project's documentation for all of the different ways you can supply configuration.

  • By default, ldsview will look for a file called .ldsview.{json,toml,yaml} in the user's home directory
  • Environment variables with a prefix of LDSVIEW will be read in by the application

Usage

Detailed usage information is available via the --help flag or the help command for ldsview and all subcommands.

Search Syntax

ldsview's search mechanism is based on the entityfilter project. Detailed information about search filter syntax can be found in that project's README.

Examples

  • Build ldapsearch command to extract LDIF files from a directory: ldsview cmdbuilder
    • The command will prompt you for any information needed
    • Have the following ready:
      • Directory host FQDN or IP
      • Domain DN
      • User to run as
      • User's password
  • Quickly find a specific entity in an LDIF file: ldsview -f myfile.ldif entity myuser
  • Parse UAC flag from AD: ldsview uac 532480
  • Search LDIF file: ldsview -f myfile.ldif search "adminCount:=1,sAMAccountName:!=krbtgt"
    • This command will return all entities with an adminCount of 1 that are not krbtgt
    • -i can be used to limit which attributes are returned from matching entities
    • --tdc will translate directory timestamps into a human readable format

ldsview's People

Contributors

kgoins avatar audibleblink avatar

Forkers

0x3x0xa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.