conpot icon indicating copy to clipboard operation
conpot copied to clipboard

Default template, nmap modbus port ModbusInvalidMbapError-

Open bestrocker221 opened this issue 3 years ago • 0 comments

Describe the bug A clear and concise description of what the bug is. When doing an nmap scan towards conpot, nmap does not even recognize the modbus protocol because nothing get returned to it.

To Reproduce nmap -sC -sV -p 502 localhost

Log 2022-07-09 18:00:06,565 Modbus ModbusInvalidMbapError: Response length is 11592 while receiving 8 bytes.

Problem seems in handle_request in slave_db at

slave_id, request_pdu = query.parse_request(request)

Cannot get further

bestrocker221 avatar Jul 09 '22 16:07 bestrocker221