Skip to content

nirgeier/LdapMFA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LDAP MFA Demo code

  • Python Script that simulates a user login and performs authentication via a telegram bot.
  • Once the authentication is complete, the script will connect to ldap.forumsys.com and pull data to the terminal.
Property Value
server ldap.forumsys.com
user read-only-admin
password password

Python libraries used in this script:

Library Link Description
pyTelegramBotAPI https://github.com/eternnoir/pyTelegramBotAPI Perform the AUTH MFA to verify a user
rich https://github.com/willmcgugan/rich Rich is a Python library for rich text and beautiful formatting in the terminal.
dotenv https://github.com/theskumar/python-dotenv Python-dotenv reads key-value pairs from a .env file and can set them as environment variables.
ldap3 https://github.com/cannatag/ldap3 Perform a connection via ldap

Usage:

Open in Cloud Shell

CTRL + click to open in new window

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages