1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 17:09:02 +00:00

Fix various NSEDoc problems.

Found by David Matousek.
http://seclists.org/nmap-dev/2013/q1/88
This commit is contained in:
david
2013-01-24 18:04:42 +00:00
parent 11ba3ef045
commit 67aa5516f4
6 changed files with 17 additions and 13 deletions

View File

@@ -16,20 +16,20 @@ You can specify your own .class file to inject by <code>filename</code> argument
See nselib/data/jdwp-class/README for more.
]]
author = "Aleksandar Nikolic"
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
categories = {"safe","discovery"}
---
-- @usage nmap -sT <target> -p <port> --script=+jdwp-inject --script-args filename=HelloWorld.class
--
-- @args filename Java .class file to inject.
-- @args jdwp-inject.filename Java <code>.class</code> file to inject.
-- @output
-- PORT STATE SERVICE REASON
-- 2010/tcp open search syn-ack
-- | jdwp-inject:
-- |_ Hello world from the remote machine!
--
author = "Aleksandar Nikolic"
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
categories = {"safe","discovery"}
portrule = function(host, port)
-- JDWP will close the port if there is no valid handshake within 2
-- seconds, Service detection's NULL probe detects it as tcpwrapped.