update readme
This commit is contained in:
parent
4dd5e871f8
commit
7f736db2cc
14
README.md
14
README.md
@ -25,14 +25,20 @@ which is not what you want.
|
|||||||
Run:
|
Run:
|
||||||
|
|
||||||
```
|
```
|
||||||
GOPROXY=direct sudo go run sneak.berlin/go/mullvadclosest/cmd/mullvadclosest@latest
|
GOPROXY=direct go run sneak.berlin/go/mullvadclosest/cmd/mullvadclosest@4dd5e871f830ff62bb30c2290623ad9d8c4d4554
|
||||||
```
|
```
|
||||||
|
|
||||||
(The GOPROXY=direct means to download the code directly from my servers, not
|
The GOPROXY=direct means to download the code directly from my servers, not
|
||||||
the Google-operated golang module proxy. Given that you're running this
|
the Google-operated golang module proxy. Given that you're running this
|
||||||
program as root from a random place on the internet, downloading it directly
|
program as root from a random place on the internet, downloading it directly
|
||||||
from me avoids the case where Google can serve you arbitrary code that runs
|
from me avoids the case where Google can serve you arbitrary code that runs
|
||||||
on your machine.)
|
on your machine.
|
||||||
|
|
||||||
|
The full git commit hash is provided to ensure that you're running the
|
||||||
|
specific version of the code that I've tested and that you're expecting to
|
||||||
|
run. Don't do "git run <whatever>@latest" because it's just granting random
|
||||||
|
people code exec on your machine. (Same goes for docker images that use
|
||||||
|
_any_ tag that uses `:` instead of a specific hash identified by `@`.)
|
||||||
|
|
||||||
# Example output
|
# Example output
|
||||||
|
|
||||||
@ -147,4 +153,4 @@ you run random shit from some weirdo from the internet as root.
|
|||||||
|
|
||||||
# Source
|
# Source
|
||||||
|
|
||||||
https://git.eeqj.de/sneak/mullvadclosest
|
https://sneak.berlin/go/mullvadclosest
|
||||||
|
Loading…
Reference in New Issue
Block a user