From 2ea7104e2ca7b9018a4f863d5a83b7ba3fbb344b Mon Sep 17 00:00:00 2001 From: Andreas Galauner Date: Tue, 5 Jul 2022 19:25:36 +0200 Subject: [PATCH] Update the example output in the script to match the current output --- scripts/broadcast-codesys-discover.nse | 7 ++----- scripts/codesys-plc-info.nse | 14 ++++++-------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/scripts/broadcast-codesys-discover.nse b/scripts/broadcast-codesys-discover.nse index 2b22d63d0..c4f07884a 100644 --- a/scripts/broadcast-codesys-discover.nse +++ b/scripts/broadcast-codesys-discover.nse @@ -23,7 +23,6 @@ devices on the network. -- | broadcast-codesys-discover: -- | 192.168.20.7: -- | interface: enp11s0f0.20 --- | deviceAddress: 192.168.20.7 -- | targetVendor: 3S - Smart Software Solutions GmbH -- | targetName: CODESYS Control for Raspberry Pi MC SL -- | deviceName: raspberrypi @@ -32,7 +31,6 @@ devices on the network. -- | targetVersion: 3.5.15.10 -- | 192.168.20.10: -- | interface: enp11s0f0.20 --- | deviceAddress: 192.168.20.10 -- | targetVendor: WAGO -- | targetName: WAGO 750-8215 PFC200 G2 4ETH CAN USB -- | deviceName: PFC200V3-4538EF @@ -41,7 +39,6 @@ devices on the network. -- | targetVersion: 5.15.4.0 -- | 192.168.20.9: -- | interface: enp11s0f0.20 --- | deviceAddress: 192.168.20.9 -- | targetVendor: WAGO -- | targetName: WAGO 750-8206 PFC200 2ETH RS CAN DPS -- | deviceName: PFC200-438F4C @@ -49,8 +46,8 @@ devices on the network. -- | targetType: 0x1000 -- |_ targetVersion: 5.15.4.0 -- --- @args broadcast-rip-discover.timeout timespec defining how long to wait for --- a response. (default 3s) +-- @args broadcast-codesys-discover.timeout timespec defining how long to wait +-- for a response. (default 3s) -- -- Version 0.1 diff --git a/scripts/codesys-plc-info.nse b/scripts/codesys-plc-info.nse index c706ee350..36ea4347e 100644 --- a/scripts/codesys-plc-info.nse +++ b/scripts/codesys-plc-info.nse @@ -16,14 +16,12 @@ Identifies a Codesys V3 PLC on the LAN by sending a Codesys V3 Device Discovery -- @output -- 1740/udp open|filtered encore -- | codesys-plc-info: --- | 192.168.20.12: --- | deviceAddress: 192.168.20.12 --- | targetVendor: WAGO --- | targetName: WAGO 750-8215 PFC200 G2 4ETH CAN USB --- | deviceName: PFC200V3-4538EF --- | targetID: 0x1006120b --- | targetType: 0x1000 --- |_ targetVersion: 5.15.4.0 +-- | targetVendor: WAGO +-- | targetName: WAGO 750-8206 PFC200 2ETH RS CAN DPS +-- | deviceName: PFC200-438F4C +-- | targetID: 0x10061204 +-- | targetType: 0x1000 +-- |_ targetVersion: 5.15.4.0 -- -- @args codesys-plc-info.timeout timespec defining how long to wait for a -- response. (default 3s)