
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
ldap-simple-tool
Advanced tools
This is a simple ldap tool inspired by https://github.com/shanghai-edu/ldap-test-tool.
Installation
If you have node installed, simple execute npm i -g ldap-simple-tool
or yarn global add ldap-simple-tool
or download ldap-simple-tool
.
If you do not have node, download the latest binary according to your OS platform in release page.
Download the template config file via https://raw.githubusercontent.com/liudonghua123/ldap-simple-tool/master/cfg.conf.example, modify according to your actual environment. Place it in the cwd, the location of the script or the homedir, the priority of config location is cwd > script > homedir.
Run ldap-simple-tool
in a terminal.
npm i ldap-simple-tool
or yarn add ldap-simple-tool
import and use it
const { check, auth, search, filter } = require('ldap-simple-tool');
// ...
let authenticated = await check({ addr, bindDn, bindPass, tls, startTLS });
let authResults = await auth({ addr, baseDn, bindDn, bindPass, authFilter, tls, startTLS }, [
_,
usernameOrFilePath,
userPasswordOptional,
]);
let searchResults = await search({ addr, baseDn, bindDn, bindPass, authFilter, tls, startTLS }, [
_,
usernameOrFilePath,
]);
let filterResults = await filter({ addr, baseDn, bindDn, bindPass, authFilter, tls, startTLS }, [_, expression]);
MIT License
Copyright (c) 2020 liudonghua
FAQs
## What is it
We found that ldap-simple-tool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.