One Day Sec

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 — original article
- Windows Shellcode Study Notes - Extraction and Testing of Shellcode
- Penetration Techniques - Enabling Anonymous Access Shares on Windows Systems via Command Line
- Penetration Technique: Python Implementation of Exchange PowerShell
IntelliJ IDEAremote debuggingJAR filesJDWPbreakpoints

Browse all Q&A →