Giter VIP home page Giter VIP logo

rusty's Introduction

Rusty Banner

Rusty is a versatile command-line tool designed to assist with various tasks such as pinging hosts, downloading files, checking URL statuses, performing traceroutes, scanning ports, looking up DNS information, retrieving IP details, and more. Built in Rust for speed and reliability, Rusty is your go-to utility for troubleshooting and information gathering.

Features

  • Ping: Send ICMP echo requests to a host
  • Download: Download files from the internet
  • Status Check: Check the status of a URL
  • Traceroute: Trace the route packets take to a network host
  • Port Scan: Scan a host for open ports
  • DNS Lookup: Resolve domain names to IP addresses
  • IP Info: Retrieve information about a given IP address

We will keep adding new features to enhance Rusty's capabilities, so stay tuned for updates!

Installation

To install Rusty, you need to have Rust and Cargo installed on your system. You can install Rust by following the instructions on the official Rust website.

Once Rust is installed, you can install Rusty by cloning the repository and building it with Cargo:

git clone https://github.com/yourusername/rusty.git
cd rusty
cargo build --release

After building, you can find the executable in the target/release directory. You can move it to a directory in your PATH for easier access:

sudo mv target/release/rusty /usr/local/bin/

Usage

Rusty provides several commands to perform different network-related tasks. Below are some examples of how to use these commands:

Ping

Send ICMP echo requests to a host:

rusty --ping 8.8.8.8 -c 10

Download

Download a file from a URL:

rusty --download https://example.com/file.zip

Status Check

Check the status of a URL:

rusty --status https://example.com

Traceroute

Trace the route to a host:

rusty --traceroute example.com

Port Scan

Scan a host for open ports:

rusty --portscan example.com

DNS Lookup

Perform a DNS lookup for a domain:

rusty --dnslookup example.com

IP Info

Retrieve information about an IP address:

rusty --ipinfo 8.8.8.8

Contributing

We welcome contributions from the community! If you have a feature request, bug report, or would like to contribute code, please open an issue or submit a pull request on the GitHub repository.

Adding New Features

To add new features, follow these steps:

  1. Fork the repository and clone it to your local machine.
  2. Create a new branch for your feature: git checkout -b feature-name.
  3. Implement your feature, adding new modules in the src/commands directory as needed.
  4. Update the Cli struct and Commands enum in src/cli.rs to include your new command.
  5. Test your feature thoroughly.
  6. Commit your changes and push them to your fork: git push origin feature-name.
  7. Open a pull request on the main repository.

License

Rusty is licensed under the MIT License. See the LICENSE file for more information.

Contact

For any questions or suggestions, feel free to contact us at [email protected].


rusty's People

Contributors

asman1337 avatar

Stargazers

 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.