Skip to content

Using Rust to Build CLI Application to Check Socket Connection of Multiple Hosts by Thread Mode

License

Notifications You must be signed in to change notification settings

andrealvesguimaraes/thread-tcp-check

Repository files navigation

Thread_TCP_Check CLI - Multiple Hosts using Rust

Table of Contents

  1. Installing Rust
  2. Build
  3. Usage
  4. Using Example

About

Using Rust to Build CLI Application to Check Socket Connection of Multiple Hosts by Thread Mode

Installing Rust

If you’re running macOS, Linux, or another Unix-like OS. To download Rustup and install Rust, run the following in your terminal, then follow the on-screen instructions.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Build

git clone https://github.com/andrealvesguimaraes/thread-tcp-check.git
cd thread-tcp-check
cargo build --release

Edit Hosts to Test

nano iplist.txt

Usage

Usage: thread-tcp-check [OPTIONS]

Options:

   -f, --file      File Name

   -p, --port      TCP Port Number

   -h, --help      Print Help  

   -V, --version   Print Version

Using Example

./target/release/thread-tcp-check --file iplist.txt --port 8080

About

Using Rust to Build CLI Application to Check Socket Connection of Multiple Hosts by Thread Mode

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages