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

xIF Introduction

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

xIF performs bulk searches through image folders for EXIF, GPS, and other metadata in images.

Interface Parameters:

  1. Folder: The folder containing jpg/tif/raw images to be analyzed.
  2. Type of Action: Specifies whether to search through or dump EXIF image data.

ModGlue Variables:

  1. $_CONTEXT['thc_if']['imagefolder']: (string) Full path to the images folder in the module's root directory.
  2. $_CONTEXT['thc_if']['testimagefolder']: (string) Full path to the test images folder in the module's root images directory.
  3. $_CONTEXT['thc_if']['exiftypes']: (array) Supported file extensions for EXIF data.
  4. $_CONTEXT['thc_if']['exiftypesstring']: (string) Supported file extensions, separated by commas.
  5. $_CONTEXT['thc_if']['search']: (boolean) True if searching for text, false otherwise.
  6. $_CONTEXT['thc_if']['string']: (mixed) Result string to search for, or false if not found.
  7. $_CONTEXT['thc_if']['regex']: (boolean) True if searching with a regular expression, false otherwise.
  8. $_CONTEXT['thc_if']['gps']: (boolean) True if searching for GPS data, false otherwise.
  9. $_CONTEXT['thc_if']['data']: (boolean) True if generating a metadata dump, false otherwise.
  10. $_CONTEXT['thc_if']['imagesinfolder']: (int) Number of images found that can contain EXIF data.
  11. $_CONTEXT['thc_if']['imagesinfoldercount']: (int) Total number of images in the folder.
  12. $_CONTEXT['thc_if']['lastfound']: (array) Last found results.
  13. $_CONTEXT['thc_if']['lastimage']: (string) Name of the current image being processed.
  14. $_CONTEXT['thc_if']['lastexif']: (array) Last found EXIF data.
  15. $_CONTEXT['thc_if']['lastfoundcount']: (int) Number of results found.

Resource Settings:

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

Dependencies:

EXIF

Expanding xIF:

N/A

Known Issues:

N/A

Created by Remco Kouw: 2008-2024