From 08ad41f2f0608ec4e6ae1ef7a4000c77d82845f1 Mon Sep 17 00:00:00 2001 From: Luis Rosa Date: Fri, 1 Feb 2019 01:27:50 +0000 Subject: [PATCH] add xmloutput example --- scripts/pcom-discover.nse | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/scripts/pcom-discover.nse b/scripts/pcom-discover.nse index 2c094c79e..d0294b804 100755 --- a/scripts/pcom-discover.nse +++ b/scripts/pcom-discover.nse @@ -42,6 +42,28 @@ categories = {"discovery","version"} --| PLC Name: some_name --|_ PLC Unique ID: XXXXXXXX +-- @xmloutput +-- +--
+-- V130-33-T38 +-- A +-- 41 +-- 3.9 +-- some_name +-- XXXXXXXX +--
+-- +-- +--
+-- V130-33-T38 +-- A +-- 41 +-- 3.9 +-- some_name +-- XXXXXXXX +--
+-- + local math = require "math" local comm = require "comm" local shortport = require "shortport"