https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Java_Debug_Wire_Protocol Java Debug Wire Protocol - Revision history 2025-05-30T06:37:36Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.3 https://en.wikipedia.org/w/index.php?title=Java_Debug_Wire_Protocol&diff=1160921852&oldid=prev 37.151.241.70: There's no default port for JDWP, if port is not specified at startup, it'll be chosen randomly. 2023-06-19T14:56:26Z <p>There&#039;s no default port for JDWP, if port is not specified at startup, it&#039;ll be chosen randomly.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:56, 19 June 2023</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In computing, the '''Java Debug Wire Protocol''' ('''JDWP''') is a [[communication protocol]] which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a [[debugger]] and the [[Java virtual machine|Java Virtual Machine]], which it [[debug]]s. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In computing, the '''Java Debug Wire Protocol''' ('''JDWP''') is a [[communication protocol]] which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a [[debugger]] and the [[Java virtual machine|Java Virtual Machine]], which it [[debug]]s. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the [[software library]] &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; parameter of [[Java (language)|Java]]<del style="font-weight: bold; text-decoration: none;">. The default [[Transmission Control Protocol|TCP]] port used for the protocol is 8000</del>.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the [[software library]] &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; parameter of [[Java (language)|Java]].</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Metasploit]] includes a module for JDWP. It can exploit it using various scripts, which have functions such as [[Code injection|injecting]] a Java class that executes a [[shell (computing)|shell]] command, returns [[operating system]] details or injects an arbitrary class.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Metasploit]] includes a module for JDWP. It can exploit it using various scripts, which have functions such as [[Code injection|injecting]] a Java class that executes a [[shell (computing)|shell]] command, returns [[operating system]] details or injects an arbitrary class.</div></td> </tr> </table> 37.151.241.70 https://en.wikipedia.org/w/index.php?title=Java_Debug_Wire_Protocol&diff=1113817801&oldid=prev PhotographyEdits: +{{Programming-software-stub}} using StubSorter 2022-10-03T11:26:33Z <p>+{{Programming-software-stub}} using <a href="/wiki/User:SD0001/StubSorter" title="User:SD0001/StubSorter">StubSorter</a></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:26, 3 October 2022</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 17:</td> <td colspan="2" class="diff-lineno">Line 17:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Communications protocols]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Communications protocols]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Java (programming language)]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Java (programming language)]]</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{Programming-software-stub}}</div></td> </tr> </table> PhotographyEdits https://en.wikipedia.org/w/index.php?title=Java_Debug_Wire_Protocol&diff=1078290960&oldid=prev Comp.arch at 20:43, 20 March 2022 2022-03-20T20:43:30Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:43, 20 March 2022</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>In computing, the '''Java Debug Wire Protocol''' ('''JDWP''') is a [[communication protocol]] which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a [[debugger]] and the [[Java Virtual Machine]], which it [[debug]]s. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>In computing, the '''Java Debug Wire Protocol''' ('''JDWP''') is a [[communication protocol]] which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a [[debugger]] and the [[<ins style="font-weight: bold; text-decoration: none;">Java virtual machine|</ins>Java Virtual Machine]], which it [[debug]]s. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the [[software library]] &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; parameter of [[Java (language)|Java]]. The default [[Transmission Control Protocol|TCP]] port used for the protocol is 8000.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the [[software library]] &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; parameter of [[Java (language)|Java]]. The default [[Transmission Control Protocol|TCP]] port used for the protocol is 8000.</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 9:</td> <td colspan="2" class="diff-lineno">Line 9:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== External links ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== External links ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><br /></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://docs.oracle.com/javase/7/docs/technotes/guides/jpda/jdwp-spec.html Java Debug Wire Protocol - Java SE Documentation]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://docs.oracle.com/javase/7/docs/technotes/guides/jpda/jdwp-spec.html Java Debug Wire Protocol - Java SE Documentation]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://ioactive.com/hacking-java-debug-wire-protocol-or-how/ Hacking the Java Debug Wire Protocol] by [[IOActive]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://ioactive.com/hacking-java-debug-wire-protocol-or-how/ Hacking the Java Debug Wire Protocol] by [[IOActive]]</div></td> </tr> </table> Comp.arch https://en.wikipedia.org/w/index.php?title=Java_Debug_Wire_Protocol&diff=1045346385&oldid=prev Neils51: /* top */replaced: commmand → command, typo(s) fixed: paramater → parameter 2021-09-20T03:28:22Z <p><span class="autocomment">top: </span>replaced: commmand → command, <a href="/wiki/Wikipedia:AWB/T" class="mw-redirect" title="Wikipedia:AWB/T">typo(s) fixed</a>: paramater → parameter</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:28, 20 September 2021</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In computing, the '''Java Debug Wire Protocol''' ('''JDWP''') is a [[communication protocol]] which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a [[debugger]] and the [[Java Virtual Machine]], which it [[debug]]s. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In computing, the '''Java Debug Wire Protocol''' ('''JDWP''') is a [[communication protocol]] which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a [[debugger]] and the [[Java Virtual Machine]], which it [[debug]]s. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the [[software library]] &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; <del style="font-weight: bold; text-decoration: none;">paramater</del> of [[Java (language)|Java]]. The default [[Transmission Control Protocol|TCP]] port used for the protocol is 8000.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the [[software library]] &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; <ins style="font-weight: bold; text-decoration: none;">parameter</ins> of [[Java (language)|Java]]. The default [[Transmission Control Protocol|TCP]] port used for the protocol is 8000.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Metasploit]] includes a module for JDWP. It can exploit it using various scripts, which have functions such as [[Code injection|injecting]] a Java class that executes a [[shell (computing)|shell]] <del style="font-weight: bold; text-decoration: none;">commmand</del>, returns [[operating system]] details or injects an arbitrary class.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Metasploit]] includes a module for JDWP. It can exploit it using various scripts, which have functions such as [[Code injection|injecting]] a Java class that executes a [[shell (computing)|shell]] <ins style="font-weight: bold; text-decoration: none;">command</ins>, returns [[operating system]] details or injects an arbitrary class.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== References ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== References ==</div></td> </tr> </table> Neils51 https://en.wikipedia.org/w/index.php?title=Java_Debug_Wire_Protocol&diff=1043331561&oldid=prev 2A01:4C8:64:C8BC:DDD3:C125:2D76:2232 at 15:04, 9 September 2021 2021-09-09T15:04:44Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:04, 9 September 2021</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">The</del> '''Java Debug Wire Protocol''' ('''JDWP''') is a communication protocol which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a debugger and the [[Java Virtual Machine]] which it <del style="font-weight: bold; text-decoration: none;">debugs</del>. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">In computing, the</ins> '''Java Debug Wire Protocol''' ('''JDWP''') is a <ins style="font-weight: bold; text-decoration: none;">[[</ins>communication protocol<ins style="font-weight: bold; text-decoration: none;">]]</ins> which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a <ins style="font-weight: bold; text-decoration: none;">[[</ins>debugger<ins style="font-weight: bold; text-decoration: none;">]]</ins> and the [[Java Virtual Machine]]<ins style="font-weight: bold; text-decoration: none;">,</ins> which it <ins style="font-weight: bold; text-decoration: none;">[[debug]]s</ins>. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the library &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; paramater of Java. The default TCP port used for the protocol is 8000.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The protocol is implemented in the<ins style="font-weight: bold; text-decoration: none;"> [[software</ins> library<ins style="font-weight: bold; text-decoration: none;">]]</ins> &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O'Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; paramater of <ins style="font-weight: bold; text-decoration: none;">[[</ins>Java<ins style="font-weight: bold; text-decoration: none;"> (language)|Java]]</ins>. The default <ins style="font-weight: bold; text-decoration: none;">[[Transmission Control Protocol|</ins>TCP<ins style="font-weight: bold; text-decoration: none;">]]</ins> port used for the protocol is 8000.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Metasploit]] includes a module for JDWP. It can exploit it using various scripts, which have functions such as injecting a Java class that executes a shell commmand, returns operating system details or injects an <del style="font-weight: bold; text-decoration: none;">arbirary</del> class.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Metasploit]] includes a module for JDWP. It can exploit it using various scripts, which have functions such as <ins style="font-weight: bold; text-decoration: none;">[[Code injection|</ins>injecting<ins style="font-weight: bold; text-decoration: none;">]]</ins> a Java class that executes a <ins style="font-weight: bold; text-decoration: none;">[[shell (computing)|</ins>shell<ins style="font-weight: bold; text-decoration: none;">]]</ins> commmand, returns <ins style="font-weight: bold; text-decoration: none;">[[</ins>operating system<ins style="font-weight: bold; text-decoration: none;">]]</ins> details or injects an <ins style="font-weight: bold; text-decoration: none;">arbitrary</ins> class.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== References ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== References ==</div></td> </tr> </table> 2A01:4C8:64:C8BC:DDD3:C125:2D76:2232 https://en.wikipedia.org/w/index.php?title=Java_Debug_Wire_Protocol&diff=1043325977&oldid=prev PhotographyEdits: Create page 2021-09-09T14:28:07Z <p>Create page</p> <p><b>New page</b></p><div>The &#039;&#039;&#039;Java Debug Wire Protocol&#039;&#039;&#039; (&#039;&#039;&#039;JDWP&#039;&#039;&#039;) is a communication protocol which is part of the [[Java Platform Debugger Architecture]].&lt;ref&gt;{{Cite book|url=https://www.worldcat.org/oclc/50589687|title=Software visualization: international seminar, Dagstuhl Castle, Germany, May 20-25, 2001 : revised papers|date=2002|publisher=Springer|others=Stephan Diehl|isbn=978-3-540-45875-3|location=Berlin|pages=185|oclc=50589687}}&lt;/ref&gt; It is used for communication between a debugger and the [[Java Virtual Machine]] which it debugs. It allows to debug processes on a different computer. It can work over a [[network socket]] or through [[shared memory]].<br /> <br /> The protocol is implemented in the library &lt;code&gt;libjdwp&lt;/code&gt;.&lt;ref&gt;{{Cite book|last=Topley|first=Kim|url=https://www.worldcat.org/oclc/52355507|title=J2ME in a nutshell: a desktop quick reference|date=2002|publisher=O&#039;Reilly|isbn=9780596002534|edition=1st|location=Beijing|pages=235|oclc=52355507}}&lt;/ref&gt; It can be activated using the &lt;code&gt;-Xrunjdwp&lt;/code&gt; paramater of Java. The default TCP port used for the protocol is 8000.<br /> <br /> [[Metasploit]] includes a module for JDWP. It can exploit it using various scripts, which have functions such as injecting a Java class that executes a shell commmand, returns operating system details or injects an arbirary class.<br /> <br /> == References ==<br /> {{Reflist}}<br /> <br /> == External links ==<br /> <br /> * [https://docs.oracle.com/javase/7/docs/technotes/guides/jpda/jdwp-spec.html Java Debug Wire Protocol - Java SE Documentation]<br /> * [https://ioactive.com/hacking-java-debug-wire-protocol-or-how/ Hacking the Java Debug Wire Protocol] by [[IOActive]]<br /> * [https://patents.google.com/patent/US20110138359A1/en Patent US20110138359A1 - Modified implementation of java debug wire protocol]<br /> * [https://blog.aquasec.com/jdwp-misconfiguration-container-images JDWP Misconfiguration in Container Images and K8s]<br /> <br /> [[Category:Debugging]]<br /> [[Category:Communications protocols]]<br /> [[Category:Java (programming language)]]</div> PhotographyEdits