Skip to content

Instantly share code, notes, and snippets.

@laztname
Created February 16, 2022 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laztname/a9ed5ac9adec3afec60a37c34a56be8f to your computer and use it in GitHub Desktop.
Save laztname/a9ed5ac9adec3afec60a37c34a56be8f to your computer and use it in GitHub Desktop.
zimbra cli multiple create account with random password from dinopass api
#!/bin/bash
for i in $(cat user); do
pass=$(curl -s https://www.dinopass.com/password/strong 2> /dev/null);
zmprov ca $i@example.com "$pass";
echo "[+] user:$i created with password: $pass" >> /tmp/log;
sleep 0.2;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment