Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering the Nmap Scripting Engine

You're reading from   Mastering the Nmap Scripting Engine Master the Nmap Scripting Engine and the art of developing NSE scripts

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781782168317
Length 244 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Paulino Calderon Paulino Calderon
Author Profile Icon Paulino Calderon
Paulino Calderon
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Mastering the Nmap Scripting Engine
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Introduction to the Nmap Scripting Engine FREE CHAPTER 2. Lua Fundamentals 3. NSE Data Files 4. Exploring the Nmap Scripting Engine API and Libraries 5. Enhancing Version Detection 6. Developing Brute-force Password-auditing Scripts 7. Formatting the Script Output 8. Working with Network Sockets and Binary Data 9. Parallelism 10. Vulnerability Detection and Exploitation Scan Phases
NSE Script Template Script Categories
Nmap Options Mind Map
References
Index

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

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering the Nmap Scripting Engine
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon