commixproject /commix
Automated Αll-in-One OS command injection exploitation tool.
★ 5,907⑂ 937👁 157⑃ 54● 1,008▤ 40
+1
日增长
5,907
stars
937
forks
157
watchers
54
prs
1,008
issues
40
releases
README
English • Ελληνικά • Español • Français • فارسی • Bahasa Indonesia • Türkçe
Commix (short for [comm]and [i]njection e[x]ploiter) is an open source penetration testing tool, written by Anastasios Stasinopoulos (@ancst), that automates the detection and exploitation of command (and code) injection vulnerabilities.
!Screenshot
You can visit the collection of screenshots demonstrating some of the features on the wiki.
[!IMPORTANT]
This project is in active development. Expect breaking changes between revisions. Review the
changelog before updating.
Commix is primarily built to be used as a standalone CLI tool, and it executes operating system
commands on the targets it tests. Running commix as a service may pose security risks.
It is recommended to use it with caution, and only against systems you own or have explicit
authorisation to test.
Features
Four injection techniques - results-based, boolean-based, time-based and file-based, chosen with --technique or by the type they report with --type - see techniques for what each one asks of a target.
Out-of-band, when nothing comes back at all - --oob proves execution and carries the command's output over HTTP/S or DNS, reaching the server through whichever client the target happens to have - see out-of-band client for the ones it tries and how to pin one.
Code injection - --eval tests what a target evaluates as code, in PHP, Python, Ruby, JavaScript, PowerShell, Perl or Lua, over those same techniques.
Wherever input lands - GET/POST parameters, HTTP headers and cookies, JSON/XML/GraphQL bodies, plus the shellshock module for CGI targets.
From proof to shell - --os-shell, built-in reverse_tcp and bind_tcp upgradeable to a full PTY, file transfer, Windows registry read/write, and enumeration through to password hashes with a dictionary attack offered against them.
Filter and WAF evasion - combinable tamper scripts, applied in a deterministic order - see filters bypass examples.
Targets in any shape - a URL, a crawl, HTML forms, a sitemap, an OpenAPI (Swagger) description, a proxy log, a bulk file, a raw HTTP request, or piped stdin - see target options.
Resumable and scriptable - per-target session files, JSON/CSV/HAR output, reusable option profiles, --proof, which re-proves any finding with an experiment of its own, and a REST API for driving scans from somewhere else.
Unix-like and Windows - PHP, Python, Perl, Ruby, ASP.NET, JSP and CGI back ends - see Windows and Unix-like targets at a glance for how the payloads differ.
Installation
You can download commix on any platform by cloning the official Git repository :
$ git clone https://github.com/commixproject/commix.git commix
Alternatively, you can download the latest tarball or zipball.
[!NOTE]
Python (version 3.7 or later) is required for running
commix. All other dependencies are bundled, so no additional installation step is needed.
Usage
To get a list of all options and switches use:
Latest release
4.1-stable v4.1 2025-12-20Fixed: Multiple bug-fixes regarding several reported unhandled exceptions. Fixed: Improved handling of parameter names containing non-ASCII characters. Fixed: Improved handling of non-ASCII characters in URLs to ensure proper request encoding. Revised: Refactored with improved page decompression and safer HTTP response handling. Revised: Refactored OS looping to respect user-specified targets or automatically iterate over supported OSes if none are specified or detected. Revised: Refactored User-Agent strings to be loaded from external files rather than being hardcoded. Revised: Im