AJP
Apache JServ Protocol.
Apache JServ Protocol is a network protocol used for communication between a web server and a web application or app server. Since it is a binary protocol, we need to configure our Nginx or Apache web server with AJP modules to interact with it and access the underlying application in order to discover administrative panels, applications, and Web sites that would otherwise be inaccessible (of course if the victim server is not configured correctly and is open).
AJP proxy ports : 8009 TCP
Nginx Reverse Proxy Setting with ajp_module
Use Nginx with ajp_module to access the “hidden” Tomcat Manager.
Download the source code of Nginx
Download the required module
Compile Nginx source code with ajp_module extension
Creates a configuration file that pointing to the AJP port
Starting and sending request (should connect to tomcat)
Close
Apache Reverse Proxy Setting with AJP Module
If you want to change the port on which to run Apache, you need to edit in /etc/apache2/ports.conf
.
Install the package libapache2-mod-jk
Enable the module
Create a configuration file that pointing to the target AJP-Proxy port
Starting and sending request (should connect)
Close
Last updated