Generate secure multiword passwords/passphrases, inspired by XKCD
A flexible and scriptable password generator which generates strong passphrases, inspired by XKCD 936/
XKPasswd and uses the
xkcdpass PyPI project.
Use Case:
If your service desk team have ever needed to generate human readable passwords that still meet complexity requirements for temporary passwords, this script will give them a quick option to generate.
Installation Instructions:
- Download the attachment.
- Ensure you have Python installed on the server running ServiceDeskPlus.
- Open Command Prompt (as Administrator) and type 'pip install xkcdpass' to install the module.
- Copy generatePasswords.py to "[SDP_Home]\integration\custom_scripts"
- Remember to update the URL and Technician API Key fields. - Copy generatePasswords.txt to "[SDP_Home]\integration\custom_scripts\executor_files"
- Open the ServiceDeskPlus admin portal --> Developer Space --> Custom Menu.
- Add New Menu named "Create Random Password".

- Set the Action Type to "Execute Script" and enter "generatePassword.txt"

- From a request, you will now be able to clic "Custom Actions" --> "Generate Random Password"

Example:


This will add the note to the request history and also post a private note on the request with the password.
New to ADSelfService Plus?