Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
openldap-config-parser
Advanced tools
.. image:: https://img.shields.io/pypi/pyversions/openldap-config-parser :target: https://pypi.org/project/openldap-config-parser/ :alt: PyPI - Python Version .. image:: https://badge.fury.io/py/openldap-config-parser.svg :target: https://pypi.org/project/openldap-config-parser/ .. image:: https://pepy.tech/badge/openldap-config-parser :target: https://pypi.org/project/openldap-config-parser/ .. image:: https://github.com/mypaceshun/openldap-config-parser/workflows/Test/badge.svg?branch=main&event=push :target: https://github.com/mypaceshun/openldap-config-parser/actions/workflows/main.yml .. image:: https://codecov.io/gh/mypaceshun/openldap-config-parser/branch/main/graph/badge.svg?token=YT631KX1TK :target: https://codecov.io/gh/mypaceshun/openldap-config-parser .. image:: https://readthedocs.org/projects/openldap-config-parser/badge/?version=latest :target: https://openldap-config-parser.readthedocs.io/ja/latest/?badge=latest :alt: Documentation Status
https://github.com/mypaceshun/openldap-config-parser
https://openldap-config-parser.readthedocs.io/
::
python3 -m pip install openldap-config-parser
::
$ slapd-parser --help Usage: slapd-parser [OPTIONS] TARGET
TARGET parse target file
Options: --version Show the version and exit. -h, --help Show this message and exit.
$ slapd-parser test.slapd.conf
[16:45:11] run script command.py:24
SlapdConfig(global_conig={'include': [['/opt/osstech/etc/openldap/schema/core.schema'], command.py:26
['/opt/osstech/etc/openldap/schema/cosine.schema'], ['/opt/osstech/etc/openldap/schema/nis.schema'],
['/opt/osstech/etc/openldap/schema/inetorgperson.schema'], ['/opt/osstech/etc/openldap/schema/misc.schema'],
['/opt/osstech/etc/openldap/schema/ppolicy.schema']], 'moduleload': [['ppolicy']], 'password-hash': [['{CRYPT}']],
'password-crypt-salt-format': [['"$5$%.16s"']], 'attributeoptions': [['lang-', 'phonetic']], 'sortvals':
[['memberUid', 'member', 'host']], 'access': [['to', 'dn.exact=""', 'attrs=supportedSASLMechanisms', 'by', '',
'none'], ['to', 'dn.subtree=""', 'by', '', 'read']]}, databases=[Database(type='bdb', config={'suffix':
[['"dc=example,dc=com"']], 'rootdn': [['"cn=master,dc=example,dc=com"']], 'monitoring': [['on']], 'dbconfig':
[['set_data_dir', '.'], ['set_lg_dir', '.']], 'index': [['objectClass', 'eq'], ['modifyTimestamp', 'eq'], ['cn',
'eq,sub']], 'limits': [['dn="uid=user,dc=example,dc=com"', 'time=unlimited', 'size=unlimited']], 'access': [['to',
'', 'by', 'dn="uid=user,dc=example,dc=com"', 'manage', 'by', '', 'break'], ['to', 'attrs=userPassword', 'by',
'self', '=wx', 'by', 'anonymous', 'auth', 'by', '', 'none'], ['to', '', 'by', '', 'none']], 'overlay':
[['syncprov']], 'syncprov-checkpoint': [['128', '5']], 'syncprov-sessionlog': [['128']], 'serverID': [['1']],
'syncrepl': [['rid=1', 'provider="ldap://ldap.example.com/"', 'type=refreshAndPersist',
'binddn="cn=slave,dc=example,dc=com"', 'credentials="xxxxx"']], 'mirrormode': [['on']]}), Database(type='monitor',
config={'access': [['to', '', 'by', 'dn="uid=user,dc=example,dc=com"', 'read', 'by', '*', 'none']]})])
::
from openldap_config_parser.parser import parse from openldap_config_parser.config import SlapdConfig
result = parse("slapd.conf") assert isinstance(result, SlapdConfig)
FAQs
slapd.conf parser for OpenLDAP
We found that openldap-config-parser demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.