Carnivore - Predator
Formerly known as THC HackSuite, Carnivore - Predator stands at the forefront of cutting-edge cybersecurity tools, redefining the landscape of penetration testing with unparalleled innovation. Designed to empower ethical hackers, security professionals, and enthusiasts alike, Carnivore - Predator is the ultimate Pentest CMS that puts you in command.
current version: 0.7.0 - PREDATOR
home > documentation > modules > How to use xCrypt
This article explains how to effectively make use of xCrypt.
author: Remco Kouw
created: 22-May-2024
updated: 22-May-2024

xCrypt Introduction

This documentation provides an overview of the functionality of the thc_ct module.

xCrypt enables users to encrypt text or data utilizing a wide range of encryption methods.

Interface Parameters:

  1. Text: The text to be encrypted
  2. Encryption/Encoding: The encryption or encoding algorithms to be used

ModGlue Variables:

  1. $_CONTEXT['thc_ct']['opensslalgorithms']: (string) The absolute path to the data file in the root of the module containing properties of OpenSSL algorithms
  2. $_CONTEXT['thc_ct']['mcryptalgorithms']: (string) The absolute path to the data file in the root of the module containing properties of mcrypt algorithms
  3. $_CONTEXT['thc_ct']['mcryptmodes']: (string) The absolute path to the data file in the root of the module containing supported mcrypt modes
  4. $_CONTEXT['thc_ct']['result']: (string) The encrypted or encoded string
  5. $_CONTEXT['thc_ct']['success']: (boolean) Indicates if the action was successful
  6. $_CONTEXT['thc_ct']['searchlength']: (int) The length of the string to be encrypted or encoded
  7. $_CONTEXT['thc_ct']['hmacalgorithms']: (array) A list of all supported HMAC algorithms
  8. $_CONTEXT['thc_ct']['hashalgorithms']: (array) A list of all supported hash algorithms

Resource Settings:

  • Time Limit: PHP default
  • Memory Limit: PHP default

Dependencies:

mCrypt and OpenSSL

Expanding xCrypt:

You can expand xCrypt's algorithm library by adding to the files openssl.php and mcrypt.php located in the module's root folder.

Known Issues:

N/A

Created by Remco Kouw: 2008-2024