mirror of
https://github.com/YGGverse/yps.git
synced 2026-03-31 17:05:30 +00:00
initial commit
This commit is contained in:
parent
36556f4f3c
commit
1392fee475
10 changed files with 348 additions and 0 deletions
43
README.md
Normal file
43
README.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue