whoisport 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
# whoisport
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<!-- Where to get it -->
|
|
4
4
|
[](https://github.com/dpologdvinity/whoisport/actions/workflows/ci.yml)
|
|
5
|
-
[](https://github.com/dpologdvinity/whoisport/releases/latest)
|
|
6
|
+
[](https://crates.io/crates/whoisport)
|
|
7
|
+
[](https://pypi.org/project/whoisport/)
|
|
8
|
+
[](https://www.npmjs.com/package/whoisport)
|
|
9
|
+
[](#install)
|
|
10
|
+
|
|
11
|
+
<!-- What it is -->
|
|
12
|
+
[](#install)
|
|
13
|
+
[](Cargo.toml)
|
|
14
|
+
[](LICENSE)
|
|
15
|
+
[](https://www.conventionalcommits.org/)
|
|
16
|
+
|
|
17
|
+
<!-- How it is doing -->
|
|
18
|
+
[](https://crates.io/crates/whoisport)
|
|
19
|
+
[](https://github.com/dpologdvinity/whoisport/releases)
|
|
20
|
+
[](https://github.com/dpologdvinity/whoisport/commits/master)
|
|
6
21
|
|
|
7
22
|
**Find out what is listening on a port, who started it, and stop it safely.**
|
|
8
23
|
Works on Linux, macOS and Windows. One small binary, no runtime dependencies.
|
|
@@ -48,6 +63,8 @@ ports marked ? are owned by another user; run with sudo to see it
|
|
|
48
63
|
|
|
49
64
|
| Platform | Command |
|
|
50
65
|
|----------|---------|
|
|
66
|
+
| Linux, macOS | `curl -fsSL https://github.com/dpologdvinity/whoisport/releases/latest/download/install.sh \| sh` |
|
|
67
|
+
| Windows (PowerShell) | `irm https://github.com/dpologdvinity/whoisport/releases/latest/download/install.ps1 \| iex` |
|
|
51
68
|
| Any, with Rust | `cargo binstall whoisport` (prebuilt) or `cargo install whoisport` (builds from source) |
|
|
52
69
|
| Any, with Python | `pipx install whoisport` or `uvx whoisport` |
|
|
53
70
|
| macOS, Linux | `brew install dpologdvinity/tap/whoisport` |
|
|
@@ -55,6 +72,28 @@ ports marked ? are owned by another user; run with sudo to see it
|
|
|
55
72
|
| Debian, Ubuntu | download the `.deb` from [Releases](https://github.com/dpologdvinity/whoisport/releases), then `sudo apt install ./whoisport_*.deb` |
|
|
56
73
|
| Fedora, RHEL | download the `.rpm` from [Releases](https://github.com/dpologdvinity/whoisport/releases), then `sudo dnf install ./whoisport-*.rpm` |
|
|
57
74
|
|
|
75
|
+
### The one-line installers
|
|
76
|
+
|
|
77
|
+
`install.sh` (Linux, macOS) and `install.ps1` (Windows) find the binary for your machine,
|
|
78
|
+
download it, **check its SHA-256 against the release's `SHA256SUMS`**, and only then install
|
|
79
|
+
it. If the check fails, nothing is installed. They need no administrator rights: the
|
|
80
|
+
binary goes to `~/.local/bin` (Linux, macOS) or `%LOCALAPPDATA%\Programs\whoisport`
|
|
81
|
+
(Windows, which is also added to your user `PATH`).
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
# a specific version, or a different directory
|
|
85
|
+
curl -fsSL https://github.com/dpologdvinity/whoisport/releases/latest/download/install.sh | sh -s -- --version v0.5.8 --dir /usr/local/bin
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
```powershell
|
|
89
|
+
$env:WHOISPORT_VERSION = 'v0.5.8'; irm https://github.com/dpologdvinity/whoisport/releases/latest/download/install.ps1 | iex
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Piping a download into a shell means trusting it, so read the script first if you like
|
|
93
|
+
([`install.sh`](install.sh), [`install.ps1`](install.ps1)); to pin it, use the URL of a
|
|
94
|
+
specific release, `…/releases/download/v0.5.8/install.sh`. To uninstall, delete the
|
|
95
|
+
`whoisport` binary from that directory.
|
|
96
|
+
|
|
58
97
|
Or download a binary from the [Releases page](https://github.com/dpologdvinity/whoisport/releases):
|
|
59
98
|
Linux (static, x86_64 and aarch64), macOS (Apple silicon and Intel) and Windows (x86_64).
|
|
60
99
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "whoisport",
|
|
3
3
|
"description": "Show what is listening on a TCP or UDP port, and optionally kill it",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"node": ">=16"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"whoisport-linux-x64": "0.5.
|
|
32
|
-
"whoisport-linux-arm64": "0.5.
|
|
33
|
-
"whoisport-darwin-x64": "0.5.
|
|
34
|
-
"whoisport-darwin-arm64": "0.5.
|
|
35
|
-
"whoisport-windows-x64": "0.5.
|
|
31
|
+
"whoisport-linux-x64": "0.5.8",
|
|
32
|
+
"whoisport-linux-arm64": "0.5.8",
|
|
33
|
+
"whoisport-darwin-x64": "0.5.8",
|
|
34
|
+
"whoisport-darwin-arm64": "0.5.8",
|
|
35
|
+
"whoisport-windows-x64": "0.5.8"
|
|
36
36
|
}
|
|
37
37
|
}
|