tomcat-manager-deploy

Deploy WAR files via Apache Tomcat Manager for remote code execution.

253|37|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/blacklanternsecurity/red-run --skill tomcat-manager-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tomcat-manager-deploy
Source: https://github.com/blacklanternsecurity/red-run/tree/main/skills/web/tomcat-manager-deploy
Command: npx skills add https://github.com/blacklanternsecurity/red-run --skill tomcat-manager-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables the deployment of malicious WAR files to Apache Tomcat Manager, facilitating remote code execution (RCE) on vulnerable servers.

Core Features & Use Cases

  • WAR Generation: Creates a JSP reverse shell WAR file using msfvenom or manually.
  • Deployment: Deploys the WAR file via Tomcat's Manager Text API or HTML interface.
  • Reverse Shell: Establishes a reverse shell connection upon successful deployment and triggering of the JSP.
  • Use Case: After discovering valid Tomcat Manager credentials, use this Skill to gain a shell on the server by deploying a custom WAR file.

Quick Start

Use the tomcat-manager-deploy skill to deploy a WAR file to the target Tomcat server using provided credentials.

Frequently Asked Questions about tomcat-manager-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get remote code execution on a server using Tomcat Manager credentials?

Remote code execution via Tomcat Manager is achieved by deploying a malicious WAR file containing a JSP reverse shell. Once deployed, triggering the JSP establishes a reverse shell connection back to the attacker for server access.

How do I deploy a WAR file to Tomcat Manager via the text API?

Deploying a WAR file via the Tomcat Manager text API requires authenticated manager-script credentials. The process involves generating a JSP reverse shell WAR and sending an HTTP request to the Manager endpoint to upload and trigger it.

What is the process for creating a WAR reverse shell for Apache Tomcat exploitation?

Creating a WAR reverse shell for Apache Tomcat exploitation involves generating a JSP payload packaged as a WAR file. This can be done manually or using msfvenom to produce the payload for deployment to the target server.

Can I use Tomcat Manager HTML interface instead of the text API for WAR deployment?

Yes, the Tomcat Manager HTML interface supports WAR deployment for remote code execution. Both the HTML interface and the text API are viable deployment methods when accessible with valid manager-gui or manager-script credentials.

What credentials do I need to deploy a WAR file to Tomcat Manager?

Deploying a WAR file to Tomcat Manager requires valid credentials with manager-script or manager-gui roles. These credentials authenticate access to the Manager application, enabling the upload of malicious WAR files for RCE.

Does Tomcat Manager WAR deployment include cleanup after establishing a reverse shell?

Yes, Tomcat Manager WAR deployment includes cleanup procedures after establishing a reverse shell. The workflow covers WAR generation, deployment, reverse shell delivery, and post-exploitation cleanup to remove the malicious application.