Cloaken

Use the Cloaken integration to unshorten URLs in AWS behind TOR.

Use Cases

  1. Unshorten a URL to run the expanded URL through intelligence sources.

Configure Cloaken on Demisto

  1. Navigate to Settings > Integrations > Servers & Services .
  2. Search for Cloaken.
  3. Click Add instance to create and configure a new integration instance.
    • Name : a textual name for the integration instance.
    • credentials : credentials for integration
    • Server URL : server url for cloaken instance
  4. Click Test to validate the URLs, token, and connection.

Commands

You can execute these commands from the Demisto CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

  1. Unshorten a URL: cloaken-unshorten-url

1. Unshorten a URL

Unshortens a URL.

Base Command

cloaken-unshorten-url

Input
Argument Name Description Required
url URL to unshorten. Required

Context Output
Path Type Description
Cloaken.UnshortenedURL string The unshortened URL.
Cloaken.OriginalURL string The original URL.
Cloaken.Status integer Status of the response: BADREQUEST or OK.
URL.Data string The unshortened URL.

Command Example
cloaken-unshorten-url url=https://someurl.com
Context Example
{
URL:{Data:"http://badperson.com"},
Cloaken:{
    original_url:"https://tinyurl.com/x223z3223",
    unshortened_url:"http://badperson.com",
   response_status:201
}

Human Readable Output

Cloakened URL:

original_url unshortened_url
https://tiny.url.com/x223z3223 http://badperson.com