How do you set up remote debugging for Zimbra using IntelliJ IDEA?
First, download the Zimbra JAR files from the server (e.g., /opt/zimbra/common/jetty_home/lib/) and import them as a library in a new Java project. Add breakpoints in the .class files. Then create a Remote JVM Debug configuration using the same JDWP parameters as the server (e.g., -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000). Start the debug session; a successful connection will show 'Connected to the target VM' in the console. --- **Related reading:** - [Setting up Zimbra Vulnerability Debugging Environment](/news/setting-up-zimbra-vulnerability-debugging-environment) — original article - [Windows Shellcode Study Notes - Extraction and Testing of Shellcode](/news/windows-shellcode-study-notes-extraction-and-testing-of-shellcode) - [Penetration Techniques - Enabling Anonymous Access Shares on Windows Systems via Command Line](/news/penetration-techniques-enabling-anonymous-access-shares-on-windows-systems-via-command-line) - [Penetration Technique: Python Implementation of Exchange PowerShell](/news/penetration-technique-pythonimplementation-of-exchange-powershell)
Related article:
Setting up Zimbra Vulnerability Debugging Environment