
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
pip install dist/epflldap-<version>-py3-none-any.whl
_version.py
python setup.py bdist_wheel
import epflldap
data = epflldap.db()
data.to_pickle()
This will create locally a ldap_epfl.pickle
file.
To load the local data:
import epflldap
data = epflldap.db(read_from_pickle=True)
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
You will get a Users
object.
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_group('webmasters')
You will get an other Users
object with only the filtered data. Available
groups are here: https://groups.epfl.ch/
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_status(['Personnel'])
Possible status are:
Personnel
Etudiant
Hôte
Hors EPFL
Several entries don't have a status.
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_unit('SISB')
You will get all the users from the SISB team.
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_school('CDH')
You will get all the users from the CDH school.
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_sciper(['sciper1', 'sciper2'])
Filter the list of users with the given list of sciper id.
In order to get information about a specific user you can:
import epflldap
epflldap.db(read_from_pickle=True)
.get_users()
.filter_by_sciper(['sciper1'])
.data[0]
.get_info()
You will get a Pandas Series with information about the person with the given sciper.
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_first_accred()
You will get only the main accreditation of each user.
Users
objectimport epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_group('webmasters')
users_filtered.get_emails()
You will get all the email addresses of the group 'webmaster'. If you want a txt file, you can add an argument:
users.get_emails(output='addresses.txt')
import epflldap
users = epflldap.db(read_from_pickle=True).get_users()
users_filtered = users.filter_by_group('webmasters')
users_filtered.to_excel(webmasters.xlsx)
This will create a xlsx file with personal information about the users.
FAQs
Ce module permet de d'analyser les données d'LDAP à l'EPFL
We found that epflldap 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.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.