Skip to content

Commit 92ce433

Browse files
lavaicerliamg
andauthored
Update README.md (liamg#92)
* Update README.md the way to install binary is changed since go1.18 * Update README.md Co-authored-by: Liam Galvin <[email protected]> Co-authored-by: Liam Galvin <[email protected]>
1 parent 2c8c0fc commit 92ce433

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ Grab a binary from the [releases page](https://github.com/liamg/traitor/releases
4646
CGO_ENABLED=0 go get -u github.com/liamg/traitor/cmd/traitor
4747
```
4848

49+
For go1.18:
50+
51+
```
52+
CGO_ENABLED=0 go install github.com/liamg/traitor/cmd/traitor@latest
53+
```
54+
4955
If the machine you're attempting privesc on cannot reach GitHub to download the binary, and you have no way to upload the binary to the machine over SCP/FTP etc., then you can try base64 encoding the binary on your machine, and echoing the base64 encoded string to `| base64 -d > /tmp/traitor` on the target machine, remembering to `chmod +x` it once it arrives.
5056

5157
## In The News

0 commit comments

Comments
 (0)