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

xWhere Introduction

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

xWhere is a tool that pinpoints a location based on coordinates on a map. This module requires an API key from Google Maps, which can be specified by clicking on the Google API link in the module interface.

Interface Parameters:

  1. Latitude: Latitude coordinates
  2. Longitude: Longitude coordinates

ModGlue Variables:

  1. $_CONTEXT['thc_wh']['keyfile']: (string) Absolute path to the key file key.php in the module's root folder
  2. $_CONTEXT['thc_wh']['longitude']: (double) Longitude coordinates
  3. $_CONTEXT['thc_wh']['latitude']: (double) Latitude coordinates
  4. $_CONTEXT['thc_wh']['key']: (string) Google Maps API key
  5. $_CONTEXT['thc_wh']['geocodeurl']: (string) URL of the geocode map
  6. $_CONTEXT['thc_wh']['geocodedata']: (string) Data from Google Maps
  7. $_CONTEXT['thc_wh']['formattedaddress']: (string) Address of the requested coordinates
  8. $_CONTEXT['thc_wh']['htmlout']: (string) Rewritten HTML code for displaying the map and address
  9. $_CONTEXT['thc_wh']['testurl']: (string) URL to test when a new API key is specified - only applicable to the Edit case
  10. $_CONTEXT['thc_wh']['writedata']: (string) Data to overwrite in the key.php file - only applicable to the Edit case
  11. $_CONTEXT['thc_wh']['writeresult']: (boolean) Results of overwriting the key.php file - only applicable to the Edit case

Resource Settings:

  • Time limit: PHP default
  • Memory limit: PHP default

Dependencies:

Google Maps API key

Expanding xWhere:

N/A

Known Issues:

N/A

Created by Remco Kouw: 2008-2024