mirror of
https://github.com/YGGverse/yps.git
synced 2026-03-31 17:05:30 +00:00
43 lines
No EOL
1.3 KiB
Markdown
43 lines
No EOL
1.3 KiB
Markdown
# YPS - Yggdrasil Port Scanner
|
|
|
|

|
|
[](https://deps.rs/repo/github/yggverse/yps)
|
|
[](https://crates.io/crates/yps)
|
|
|
|
A simple crawler tool to find open ports for specific services,\
|
|
such as web servers or Bitcoin nodes, to connect with [Yggdrasil](https://yggdrasil-network.github.io/).
|
|
|
|
## Install
|
|
|
|
* `git clone https://github.com/yggverse/yps.git && cd yps`
|
|
* `cargo build --release`
|
|
* `sudo install target/release/yps /usr/local/bin/yps`
|
|
|
|
## Usage
|
|
|
|
``` bash
|
|
sudo yps --tcp -p 80 -p 443
|
|
```
|
|
|
|
### Options
|
|
|
|
``` bash
|
|
-d, --debug
|
|
Print debug information
|
|
-s, --socket <SOCKET>
|
|
Yggdrasil socket path (unix only) [default: /var/run/yggdrasil.sock]
|
|
-p, --port <PORT>
|
|
Port(s) to scan
|
|
-u, --udp <UDP>
|
|
Crawl UDP ports (requires `[host]:port` binding as the value)
|
|
-t, --tcp
|
|
Crawl TCP ports
|
|
-l, --latency <LATENCY>
|
|
Pause in seconds before make new request
|
|
--index-capacity <INDEX_CAPACITY>
|
|
Optimize memory usage by providing expecting index capacity, according to the current network size [default: 1000]
|
|
-h, --help
|
|
Print help
|
|
-V, --version
|
|
Print version
|
|
``` |