1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 12:29:03 +00:00

NSEDoc fix for the bittorrent-discovery script

This commit is contained in:
gorjan
2011-08-09 19:55:59 +00:00
parent 88e8647381
commit 4d4b6ed20f

View File

@@ -13,13 +13,12 @@ peers as targets.
-- @usage
-- nmap --script bittorrent-discovery --script-args bittorrent-discovery.torrent=<filename>,
-- bittorrent-discovery.magnet=<magnet_link>[,bittorrent-discovery.dht_timeout=<seconds>]
-- [,bittorrent-discovery.nodes-only][,bittorrent-discovery.peers-only][,newtargets]
-- [,bittorrent-discovery.include-nodes][,newtargets]
--
-- @arg torrent, a string containing the filename of the torrent file
-- @arg magnet, a string containing the magnet link of the torrent
-- @arg timeout, desired (not actual) timeout for the DHT discovery (default = 30 s)
-- @arg nodes-only, boolean selecting whether to show only nodes
-- @arg peers-only, boolean selecting whether to show only peers
-- @arg include-nodes, boolean selecting whether to show only nodes
--
-- @output
-- | bittorrent-peers: