Code Monkey home page Code Monkey logo

kiara's Introduction

KIARA - PLC Scanner Tool

KIARA is a Python tool for scanning and enumerating Programmable Logic Controllers (PLCs) using the Modbus protocol. It helps identify PLCs on a network, retrieve basic device information, and list available registers.

Features

  • Scan specified IP addresses, IP ranges, or a list from a file.
  • Check common Modbus TCP ports (502, 102) for device availability.
  • Retrieve PLC information including manufacturer, model, firmware version, and register values.
  • Multi-threaded scanning for improved performance.

Requirements

  • Python 3.6 or higher
  • pymodbus3 library (pip install pymodbus3)

Usage

  1. Clone the repository:

    git clone https://github.com/symbolexe/KIARA
    cd KIARA

Install dependencies (if not installed):

pip install pymodbus3

Run the tool with Python:

python kiara.py <target>

Replace with:

Single IP address: python3 kiara.py 192.168.1.1 or IP range: python KIARA.PY 192.168.1.1-10

File containing IP addresses (one per line): python KIARA.PY targets.txt

View results in the console. PLC information will be displayed for each discovered device.

Example

python kiara.py 192.168.1.1-10

Output Example

PLC(s) found:
At 192.168.1.1:
  Unit ID: 1
  Manufacturer: Example Inc.
  Model: PLC-123
  Firmware Version: 1.0.0
  Input Registers:
    Register 0: 123
    Register 1: 456
  Holding Registers:
    Register 1000: 789

Acknowledgments

  • Inspired by the need for a simple yet effective PLC scanning tool.
  • Thanks to the developers of pymodbus3 for the Modbus library.

kiara's People

Contributors

symbolexe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.