rename
This commit is contained in:
parent
0ffd304d2d
commit
d6207258ac
@ -10,7 +10,7 @@
|
||||
<xsl:template match="lanScan">
|
||||
<xsl:text>nmap -v -T4 -p </xsl:text>
|
||||
<xsl:apply-templates select="//service[not(.=preceding::*)]" />
|
||||
<xsl:text> --script nse/ --datadir nse/ --script-args-file nse_args.ini -oX "</xsl:text>
|
||||
<xsl:text> --script nse/ --datadir nse/ --script-args-file script_args.ini -oX "</xsl:text>
|
||||
<xsl:value-of select="@scanpath"/>
|
||||
<xsl:text>.tmp" </xsl:text>
|
||||
<xsl:apply-templates select="//host"/>
|
||||
|
@ -1,2 +0,0 @@
|
||||
smbuser=<user name>
|
||||
smbpassword=<user password>
|
2
nse/script_args.ini
Normal file
2
nse/script_args.ini
Normal file
@ -0,0 +1,2 @@
|
||||
smbuser =
|
||||
smbpassword =
|
@ -10,11 +10,11 @@ Return free and total size in octets of each SMB shares
|
||||
---
|
||||
-- @args See the documentation for the smbauth library.
|
||||
--
|
||||
-- @usage nmap -p445 --script smb-shares-du.nse <host>
|
||||
-- @usage nmap -p445 --script smb-shares-size.nse <host>
|
||||
--
|
||||
-- @output
|
||||
-- Host script results:
|
||||
-- | smb-shares-du:
|
||||
-- | smb-shares-size:
|
||||
-- | data:
|
||||
-- | FreeSize: 38495883264
|
||||
-- | TotalSize: 500961574912
|
Loading…
x
Reference in New Issue
Block a user