znet-scanner

ZNet Scanner v2.1.0

ZNet Scanner is an enhanced Java-based network scanning tool designed for accurate discovery and analysis of devices on a local network. It intelligently identifies the network segment, discovers active devices using multiple techniques, resolves hostnames asynchronously, performs concurrent port scanning, identifies device vendors via MAC lookup, performs basic security checks, monitors for ARP anomalies, and allows exporting results for further analysis.

Screenshot_20241228_102517

Key Features

Getting Started

Prerequisites

Installation & Running

  1. Clone the repository:
    git clone https://github.com/jeninsutradhar/znet-scanner.git
    cd znet-scanner
    
  2. Place Dependencies:
    • Download the Gson JAR (e.g., gson-2.10.1.jar) and place it in a lib directory inside the znet-scanner folder (znet-scanner/lib/gson-2.10.1.jar).
    • Place the oui.txt file in the src directory (znet-scanner/src/oui.txt).
  3. Compile: (Ensure your javac command corresponds to JDK 11+)
    # Adjust path to gson jar if necessary
    # On Linux/macOS:
    javac -cp "lib/gson-2.10.1.jar:src" src/NetworkScanner.java -d bin
    # On Windows:
    # javac -cp "lib/gson-2.10.1.jar;src" src/NetworkScanner.java -d bin
    

    (This compiles the source files into a bin directory)

  4. Run:
    # Ensure oui.txt is accessible via the classpath (src is included here)
    # On Linux/macOS:
    java -cp "lib/gson-2.10.1.jar:src:bin" NetworkScanner
    # On Windows:
    # java -cp "lib\gson-2.10.1.jar;src;bin" NetworkScanner
    

Dependencies

Limitations & Disclaimer

Contributing

Contributions are welcome! Please fork the repository, make your changes, and submit a pull request with a clear description of your improvements.

License

This project is licensed under the MIT License - see the LICENSE.md file for details. ```