Common Scripts Pack.#This Script is part of the
Supported Cortex XSOAR versions: 6.5.0 and later.
This script resolves the original URL from a given shortened URL and places the resolved URL in the playbook context and output.
- Using online services for resolving URLs exposes the server IP address to these services.
Built-Inservice visits the URL and follows redirects on the server, which exposes the server IP address to the redirect URLs.
|Cortex XSOAR Version
|The service to use for resolving the URL. If not set, a default service is used.
|The URL to resolve.
|A maximum number of recursions to run in case of nested shortened-URLs. Use 0 for unlimited (not recommended).
|Trust any certificate (not secure).
|The resolved URL data.
|The original shortened URL.
|The resolved URL.
|The name of the service used to resolve the URL.
|The usage count for the current IP. If the count exceeds 10 in an hour, an error is returned. Relevant only if the unshorten.me service is used.
|The number of redirects followed to resolve the URL.
|The history of redirects followed to resolve the URL.