Note: For now, this fails when authentication is redirected to ADFS.
git clone https://github.com/frankwiersma/mfa-trigger
cd ./mfa-trigger
docker build -t mfa-trigger .
docker run -d -p 4444:4444 -v /dev/shm:/dev/shm mfa-trigger
docker ps
docker exec <name of running container> bash
python3 /opt/sel/mfa-trigger.py -u "username" -p "password" --retry True --retrycount 3 --phonenumber "+12312389123" --sendsms True
Trigger MFA for multiple users by running multiple Docker containers (to be run outside of the container)
./multi-user-docker.sh < /your/path/users_passwords.csv
- [ ] Add functionality to start MFA-Trigger outside of the container.
Example:
docker run -d -p 4444:4444 -v /dev/shm:/dev/shm mfa-trigger "username" "password"