From aef6f909917298e7a8a7efe74a39dd1e8fec69f7 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 15 Jan 2011 16:33:06 +0000 Subject: [PATCH] Add gopher-ls and hddtemp-info @usage, adapted from Toni Ruotto. --- scripts/gopher-ls.nse | 3 +++ scripts/hddtemp-info.nse | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/gopher-ls.nse b/scripts/gopher-ls.nse index fa541a964..5bd5438e7 100644 --- a/scripts/gopher-ls.nse +++ b/scripts/gopher-ls.nse @@ -3,6 +3,9 @@ Lists files and directories at the root of a gopher service. ]] --- +-- @usage +-- nmap -p 70 --script gopher-ls --script-args gopher-ls.maxfiles=100 +-- -- @output -- 70/tcp open gopher -- | gopher-ls: diff --git a/scripts/hddtemp-info.nse b/scripts/hddtemp-info.nse index 4a861c83d..a9eeb3704 100644 --- a/scripts/hddtemp-info.nse +++ b/scripts/hddtemp-info.nse @@ -3,6 +3,9 @@ Reads hard disk information (such as brand, model, and sometimes temperature) fr ]] --- +-- @usage +-- nmap -p 7634 -sV -sC +-- -- @output -- 7634/tcp open hddtemp -- |_hddtemp-info: /dev/sda: WDC WD2500JS-60MHB1: 38 C