mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Add @output to finger.nse and telnet-brute.nse thanks to Gutek.
This commit is contained in:
@@ -8,6 +8,20 @@ license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
|||||||
|
|
||||||
categories = {"default", "discovery", "safe"}
|
categories = {"default", "discovery", "safe"}
|
||||||
|
|
||||||
|
---
|
||||||
|
-- @output
|
||||||
|
-- PORT STATE SERVICE
|
||||||
|
-- 79/tcp open finger
|
||||||
|
-- | finger:
|
||||||
|
-- | Welcome to Linux version 2.6.31.12-0.2-default at linux-pb94.site !
|
||||||
|
-- | 01:14am up 18:54, 4 users, load average: 0.14, 0.08, 0.01
|
||||||
|
-- |
|
||||||
|
-- | Login Name Tty Idle Login Time Where
|
||||||
|
-- | Gutek Ange Gutek *:0 - Wed 06:19 console
|
||||||
|
-- | Gutek Ange Gutek pts/1 18:54 Wed 06:20
|
||||||
|
-- | Gutek Ange Gutek *pts/0 - Thu 00:41
|
||||||
|
-- |_Gutek Ange Gutek *pts/4 3 Thu 01:06
|
||||||
|
|
||||||
require "comm"
|
require "comm"
|
||||||
require "shortport"
|
require "shortport"
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,12 @@ author = 'Eddie Bell, Ron Bowes'
|
|||||||
license = 'Same as Nmap--See http://nmap.org/book/man-legal.html'
|
license = 'Same as Nmap--See http://nmap.org/book/man-legal.html'
|
||||||
categories = {'auth', 'intrusive'}
|
categories = {'auth', 'intrusive'}
|
||||||
|
|
||||||
|
---
|
||||||
|
-- @output
|
||||||
|
-- PORT STATE SERVICE
|
||||||
|
-- 23/tcp open telnet
|
||||||
|
-- |_telnet-brute: root - 1234
|
||||||
|
|
||||||
require('shortport')
|
require('shortport')
|
||||||
require('stdnse')
|
require('stdnse')
|
||||||
require('strbuf')
|
require('strbuf')
|
||||||
|
|||||||
Reference in New Issue
Block a user