Skip to content

Commit

Permalink
Update README.md (#92)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Jun 21, 2022
1 parent 2c8c0fc commit 92ce433
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ Grab a binary from the [releases page](https://github.com/liamg/traitor/releases
CGO_ENABLED=0 go get -u github.com/liamg/traitor/cmd/traitor
```

For go1.18:

```
CGO_ENABLED=0 go install github.com/liamg/traitor/cmd/traitor@latest
```

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.

## In The News
Expand Down

0 comments on commit 92ce433

Please sign in to comment.