Compare commits
No commits in common. "af6dc0a76b521c9d80a66dc0a17084455cb3911c" and "baef7123b890e010ce6e6e4547136c01b8dcc17b" have entirely different histories.
af6dc0a76b
...
baef7123b8
@ -1,3 +1,8 @@
|
|||||||
|
local stdnse = require "stdnse"
|
||||||
|
local smb = require "smb"
|
||||||
|
local smb2 = require "smb2"
|
||||||
|
local msrpc = require "msrpc"
|
||||||
|
local bin = require "bin"
|
||||||
local shortport = require "shortport"
|
local shortport = require "shortport"
|
||||||
|
|
||||||
description = [[
|
description = [[
|
||||||
@ -22,17 +27,8 @@ categories = {"discovery", "intrusive"}
|
|||||||
author = "Adrien Malingrey"
|
author = "Adrien Malingrey"
|
||||||
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
||||||
|
|
||||||
hostrule = function(host)
|
|
||||||
return smb.get_port(host) ~= nil
|
|
||||||
end
|
|
||||||
|
|
||||||
portrule = shortport.service({"microsoft-ds", "netbios-ssn", "smb"})
|
portrule = shortport.service({"microsoft-ds", "netbios-ssn", "smb"})
|
||||||
|
|
||||||
local stdnse = require "stdnse"
|
|
||||||
local smb = require "smb"
|
|
||||||
local smb2 = require "smb2"
|
|
||||||
local msrpc = require "msrpc"
|
|
||||||
local bin = require "bin"
|
|
||||||
|
|
||||||
action = function(host)
|
action = function(host)
|
||||||
local status, shares, extra
|
local status, shares, extra
|
||||||
|
Reference in New Issue
Block a user