Git Product home page Git Product logo

basemax / sshfinderc Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 56 KB

The SSH System Finder is a C program designed to scan an IP range or local network and identify systems that have SSH (Secure Shell) enabled. It provides a straightforward way to discover SSH-enabled devices within a given range of IP addresses.

Home Page: https://aur.archlinux.org/packages/ssh_system_finder

License: GNU General Public License v3.0

C 90.05% Makefile 3.22% Shell 6.73%
c ssh ssh-client ssh-config ssh-connection ssh-keys ssh-server

sshfinderc's Introduction

SSH Finder C

The SSH System Finder is a C program designed to scan an IP range or local network and identify systems that have SSH (Secure Shell) enabled. It provides a straightforward way to discover SSH-enabled devices within a given range of IP addresses.

Features

  • IP Range Scanning: The program allows you to specify an IP range or a local network for scanning SSH-enabled systems.
  • SSH Detection: It identifies systems with SSH enabled within the specified IP range.
  • Port Configuration: You can customize the port to be scanned for SSH services (default is port 22).
  • Concurrent Scanning: The program performs concurrent scanning to improve efficiency and reduce scanning time.
  • Detailed Output: The results include detailed information about the identified systems, such as IP address, hostname (if available), and SSH version (if detected).
  • Error Handling: The program handles errors gracefully and provides informative error messages.

Prerequisites

Before using the SSH System Finder, ensure that you have the following:

  • C compiler (GCC or any C compiler of your choice) installed on your system.
  • Basic understanding of C programming.

Installation

To install and run the SSH System Finder, follow these steps:

  • Clone the repository or download the source code files.

  • Open a terminal or command prompt and navigate to the directory where the source code files are located.

  • Compile the C program using the C compiler. For example, using GCC:

make

Run the program with the desired options and parameters. See the next section for available flags and their usage.

Usage

The SSH System Finder supports the following command-line flags:

  • -h, --help: Displays the help message and usage information.
  • -r, --range: Specifies the IP range or local network to scan. The format can be a single IP address, a range using CIDR notation (e.g., 192.168.1.0/24), or a combination of both (e.g., 192.168.1.0/24,192.168.2.0/24).
  • -p, --port: Specifies the port number to scan for SSH services (default is port 22).
  • -t, --threads: Specifies the number of concurrent threads to use for scanning (default is 10) -> comming soon :).

The program will output a list of discovered SSH-enabled systems with their corresponding details.

Examples

Show help message:

$ ./ssh_system_finder --help
Usage information:
        -h     --help          Display the help message and usage information
        -r     --range         The ip range to scan (ex. 192.168.0.1/24,192.168.2.0/24)
        -p     --port          The port number to scan for SSH services (default is 22)
        -t     --threads       The number of concurrent therads to use for scanning (default is 10) -> comming soon :)
Authors: Maximilian Edison <[email protected]>
         BaseMax           <[email protected]>

Scan a specific IP address for SSH services:

./ssh_system_finder -r 192.168.1.100

Scan multiple IP ranges for SSH services:

./ssh_system_finder -r 192.168.1.0/24,192.168.2.0/24

Scan a specific IP range with a custom port:

./ssh_system_finder -r 192.168.1.0/24 -p 2222

Scan combination of single IP and IP ranges with custom port:

./ssh_system_finder --range 94.101.184.0/22,5.34.200.25,188.121.112.0/22 --port 2222

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request to the GitHub repository.

License

This project is licensed under the GPL-3.0 License.

Acknowledgements

The SSH System Finder was inspired by the need to identify SSH-enabled systems within a network range efficiently.

Authors:

  • Maximilian Edison
  • Max Base

Copyright 2023, Max Base

sshfinderc's People

Contributors

maxianedison avatar

Stargazers

 avatar  avatar  avatar  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.