This NSE script is used to send a FINS packet to a remote device. The script will send a Controller Data Read Command and once a response is received, it validates that it was a proper response to the command that was sent, and then will parse out the data.
nmap --script omron-info -sU -p 9600 <host>
9600/tcp open OMRON FINS | omron-info: | Controller Model: CJ2M-CPU32 02.01 | Controller Version: 02.01 | For System Use: | Program Area Size: 20 | IOM size: 23 | No. DM Words: 32768 | Timer/Counter: 8 | Expansion DM Size: 1 | No. of steps/transitions: 0 | Kind of Memory Card: 0 |_ Memory Card Size: 0
License: Same as Nmap--See https://nmap.org/book/man-legal.html
- action (host, port)
Action Function that is used to run the NSE. This function will send the initial query to the host and port that were passed in via nmap. The initial response is parsed to determine if host is a FINS supported device.
- Host that was scanned via nmap
- port that was scanned via nmap