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 CollectPanels
This article explains how to effectively make use of CollectPanels.
author: Remco Kouw
created: 04-May-2024
updated: 04-May-2024

CollectPanels Introduction

This documentation details the functionality of the CollectPanels (thc_cp) module.

CollectPanels is a tool for finding cPanel scripts on a target host by creating different types of URL formats.

Interface Parameters:

  1. Target Input: Specify the targets. You can input URLs from a file or enter them manually in a textarea, with each URL on a new line.
  2. Scan Type: Use full URLs or generate URLs based on the specified input.
  3. Log Results: Log results to a file in the logs folder, located in the module's root folder. Files will be named after the timestamp when the script was executed.
  4. Scan Method: Choose to stop or continue looking for cPanel paths after a cPanel is found.

ModGlue Variables:

  1. $_CONTEXT['thc_cp']['log']: (string) Absolute path to a newly generated log file for this session.
  2. $_CONTEXT['thc_cp']['urldata']: (array) All URLs that will be validated in this session.
  3. $_CONTEXT['thc_cp']['found']: (boolean) True if the current URL is a valid cPanel, false if not.
  4. $_CONTEXT['thc_cp']['up']: (int) Total number of cPanels found.
  5. $_CONTEXT['thc_cp']['down']: (int) Total number of URLs that are not cPanels.
  6. $_CONTEXT['thc_cp']['logdata']: (string) Buffer for all successfully found cPanels in this session.
  7. $_CONTEXT['thc_cp']['totalvariants']: (int) Number of URL variants used to determine if cPanel is running on the host.
  8. $_CONTEXT['thc_cp']['urls']: (array) All URL variants that will be validated.
  9. $_CONTEXT['thc_cp']['resultstring']: (string) Result of this session.

Resource Settings:

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

Dependencies:

Curl or sockets (fallback).

Expanding CollectPanels:

You can add extra cPanel structures in the functions.php file located in the module's root folder. At the bottom of the file, you will find a function called GenerateCpanelUrls where you can add more structures if necessary.

Known Issues:

N/A

Created by Remco Kouw: 2008-2024