O'Reilly logo

Mastering the Nmap Scripting Engine by Paulino Calderón Pale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Debug Wire Protocol data files

The remote debugging port of Java uses the JDWP protocol, and NSE has a few scripts to detect and exploit vulnerable servers. Let's briefly review the available Java classes you will find distributed with Nmap inside your data directory.

JDWPExecCmd.java

This is the Java class used to run remote commands. It uses the Runtime.getRuntime().exec function to execute the desired commands.

JDWPSystemInfo.class

This Java function attempts to retrieve the following system information:

  • Total space (bytes)
  • Free space (bytes)
  • OS
  • OS version
  • OS patch level
  • OS architecture
  • Java version
  • Username
  • User home

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required