A Swiss Army knife for offensive security.
Red teaming and pentesting tools bundled into a single binary — one tool, many blades.
-
DNS
- DNS Query: Query DNS servers.
-
FTP
- FTP Server: A minimal FTP server.
-
HTTP
- HTTP Callback Server: Receive and log incoming HTTP requests.
- HTTP Proxy: Inspect, intercept, modify, and forward/drop HTTP requests.
- HTTP Send: Send and replay HTTP and HTTPS requests.
- HTTP Server: Serve a directory over HTTP with optional file upload support.
-
LDAP
- LDAP Server: A minimal LDAP server.
-
Neighbor (ARP/NDP)
- Neighbor Monitor: Passively monitor neighbor traffic to discover hosts. (NDP not available yet)
- Neighbor Resolver: Resolve IP to MAC addresses. (NDP not available yet)
- Neighbor Scanner: Actively scan a subnet to discover hosts. (NDP not available yet)
- Neighbor Spoofing: Poison neighbor caches. (NDP not available yet)
-
Port
- Port Forward: Forward TCP connections from a local listener to a remote target.
- Port Scanner: Scan TCP ports on a target.
-
Process
- Process Monitor: Monitor process creation without root permissions.
-
Tunnel
- Tunnel Listener: Expose the target network to the operator with a SOCKS5 proxy and TCP port forwards.
- Tunnel Connector: Connect the target network back to the operator, with optional listeners for reverse connections.
-
Utilities
- JWT: JSON Web Token encoding, decoding and signing.
- PowerShell: PowerShell
-EncodedCommandstrings (base64 of UTF-16LE) encoding and decoding. - URL: Percent-encoding and decoding.
- XOR: Reversible XOR transform.
redknife is built and actively tested on Linux. Other platforms are not actively tested at this time and may not be fully featured.
Precompiled binaries are distributed for Linux and Windows; on other platforms, redknife must be built from source.
Below you can find instructions for both precompiled binaries and installing from source.
Get compiled artifact from releases
Download the archive for your architecture from GitHub Releases.
Optionally, before extracting the archive, verify its signature and checksum.
Download SHA256SUMS and SHA256SUMS.asc from the same release into the same directory and import the signing key listed in SECURITY.md:
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMSExtract the downloaded .tar.gz archive and run:
./rk --helpOn Windows, extract the .zip archive and run:
.\rk.exe --helpOptionally, install rk system-wide to run it from any directory (requires sudo):
sudo install -m 755 rk /usr/local/bin/rkor user-wide (ensure ~/.local/bin is in your PATH):
install -m 755 rk ~/.local/bin/rkInstall using cargo from source
The following command requires rustc and cargo, and will build and install redknife directly from the git repository:
cargo install redknife --git https://github.com/yukibtc/redknifeShow the available commands and general options:
rk --helpAll notable changes are documented in the CHANGELOG.md.
redknife is still in early development! Features and APIs will change, and bugs are expected.
redknife is intended for educational purposes and authorized security testing only. Use it only on systems you own or have explicit permission to test.
This project is distributed under the MIT software license – see the LICENSE file for details