- 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
This article explains how to effectively make use of THC MIMEMagic.
author: Remco Kouw
created: 25-Apr-2024
updated: 11-Aug-2024
THC MIMEMagic Introduction
In this documentation, we will go through the functionality of the thc_mm module.
THC MIMEMagic is a tool designed to exploit vulnerabilities in file upload mechanisms by sending files with forged MIME headers. This technique can be used to bypass validation scripts, potentially allowing unauthorized file uploads.
Interface Parameters:
- upload handler: full URL including query
- user agent: browser string
- cookie: in case you need to identify yourself with a login or any other cookie, you can add a cookie string
- upload: select a shell or upload a file
- type of application: set a fake MIME header for the upload
- send as filename: set the filename for the upload
- upload varname: the variable that the server is expecting to hold the file upload
- referer: optional referer page, previous page
- other variables: if the server expects more variables you can specify them in this field, make use of this format: var1=value1&var2=value2
ModGlue Variables:
- $_CONTEXT['thc_mm']['urlparts']: (array) parse_url data of url
- $_CONTEXT['thc_mm']['payloadfile']: (string) path to payload file
- $_CONTEXT['thc_mm']['posted_vars']: (array) variable data posted from form
- $_CONTEXT['thc_mm']['media']: (array) contains the type of mime and its name
- $_CONTEXT['thc_mm']['payloadfilesize']: (string) filesize of payload
- $_CONTEXT['thc_mm']['curlhandle']: (resource) curl connection
- $_CONTEXT['thc_mm']['postvalues']: (array) variable data to send to target
Resource Settings:
- time limit: PHP default
- memory limit: PHP default
Expanding THC MIMEMagic:
N/A
Dependencies:
Curl
Known Issues:
N/A
Created by Remco Kouw: 2008-2024