Refer to this blog post for instructions.
Entropy-based link vulnerability analysis tool for campaign and email URLs.