Skip to content

Commit 900704d

Browse files
author
James Olds
committed
rename and remove references to fuzzing
1 parent 1880245 commit 900704d

17 files changed

Lines changed: 76 additions & 78 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
for file in *.{tar.gz,zip}; do
3737
if [ -f "$file" ]; then
3838
cosign verify-blob \
39-
--certificate-identity-regexp "https://github.com/trailofbits/cloudexec.*" \
39+
--certificate-identity-regexp "https://github.com/crytic/cloudexec.*" \
4040
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
4141
--bundle "$file.bundle" \
4242
$file

.goreleaser.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ brews:
5353
owner: trailofbits
5454
name: homebrew-tools
5555
token: "{{ .Env.GITHUB_TOKEN }}"
56-
homepage: https://github.com/trailofbits/cloudexec
57-
download_strategy: GitHubPrivateReleaseDownloadStrategy
58-
custom_require: lib/private
56+
homepage: https://github.com/crytic/cloudexec
5957
folder: Formula
6058
install: |-
6159
bin.install "cloudexec"
@@ -69,4 +67,4 @@ brews:
6967
brew install --cask 1password-cli
7068
7169
For more information on using 1Password CLI with CloudExec, visit:
72-
https://github.com/trailofbits/cloudexec#configure-credentials
70+
https://github.com/crytic/cloudexec#configure-credentials

README.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# CloudFuzz
1+
# CloudExec
22

3-
CloudFuzz is a command-line tool for easily running cloud-based fuzzing jobs on DigitalOcean. Start, manage and pull the results of fuzzing jobs from your terminal.
3+
CloudExec is a command-line tool for easily running cloud-based jobs on DigitalOcean. Start, manage and pull the results of jobs from your terminal.
44

55
## Getting Started
66

@@ -10,57 +10,57 @@ CloudFuzz is a command-line tool for easily running cloud-based fuzzing jobs on
1010

1111
```bash
1212
brew tap trailofbits/tools
13-
brew install cloudfuzz
13+
brew install cloudexec
1414
```
1515

1616
#### Upgrade with Brew
1717

1818
```bash
19-
brew update && brew upgrade cloudfuzz
19+
brew update && brew upgrade cloudexec
2020
```
2121

2222
alternatively, you can install from a GitHub release:
2323

2424
### Install from a GitHub release
2525

26-
Download the latest release for your platform from the [releases page](https://github.com/trailofbits/cloudfuzz/releases).
26+
Download the latest release for your platform from the [releases page](https://github.com/crytic/cloudexec/releases).
2727

2828
#### Release verification
2929

3030
Releases are signed with sigstore. You can verify using [`cosign`](https://github.com/sigstore/cosign) with the following example command:
3131

3232
```bash
3333
cosign verify-blob \
34-
--certificate-identity-regexp "https://github.com/trailofbits/cloudfuzz.*" \
34+
--certificate-identity-regexp "https://github.com/crytic/cloudexec.*" \
3535
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
36-
--bundle cloudfuzz-<version>-<os>-<arch>.tar.gz.bundle \
37-
cloudfuzz-<version>-<os>-<arch>.tar.gz
36+
--bundle cloudexec-<version>-<os>-<arch>.tar.gz.bundle \
37+
cloudexec-<version>-<os>-<arch>.tar.gz
3838
```
3939

4040
#### Install from a tarball
4141

4242
```bash
43-
tar -xzf cloudfuzz-<version>-<os>-<arch>.tar.gz
44-
mv cloudfuzz /usr/local/bin
43+
tar -xzf cloudexec-<version>-<os>-<arch>.tar.gz
44+
mv cloudexec /usr/local/bin
4545
```
4646

4747
#### Install from source
4848

49-
Running the command below will build the CLI tool from source with a binary named `cloudfuzz` in a `dist` folder:
49+
Running the command below will build the CLI tool from source with a binary named `cloudexec` in a `dist` folder:
5050

5151
```bash
5252
make build
5353
```
5454

55-
Then, move the resulting binary from `./dist/cloufuzz` into your `PATH`.
55+
Then, move the resulting binary from `./dist/clouexec` into your `PATH`.
5656

57-
Nix users can run `nix build` and then `nix profile install ./result` to install `cloudfuzz`. A helper command `make nix-install` is available which performs these steps for you and also upgrades an existing version of `cloudfuzz` that might already be installed.
57+
Nix users can run `nix build` and then `nix profile install ./result` to install `cloudexec`. A helper command `make nix-install` is available which performs these steps for you and also upgrades an existing version of `cloudexec` that might already be installed.
5858

5959
### Configure credentials
6060

61-
CloudFuzz requires DigitalOcean API credentials to manage droplets, and Spaces credentials to store state and job data. The recommended method for storing and providing your credentials securely is by using the 1Password CLI.
61+
CloudExec requires DigitalOcean API credentials to manage droplets, and Spaces credentials to store state and job data. The recommended method for storing and providing your credentials securely is by using the 1Password CLI.
6262

63-
CloudFuzz supports natively integrating with 1Password, allowing you to reference your credentials stored in your 1Password vault. However, you can also choose to provide plaintext credentials using the `cloudfuzz configure` command. Additionally, you can override individual values or the entire configuration by setting the corresponding environment variables.
63+
CloudExec supports natively integrating with 1Password, allowing you to reference your credentials stored in your 1Password vault. However, you can also choose to provide plaintext credentials using the `cloudexec configure` command. Additionally, you can override individual values or the entire configuration by setting the corresponding environment variables.
6464

6565
#### Get credentials from DigitalOcean
6666

@@ -82,14 +82,14 @@ brew install --cask 1password/tap/1password-cli # see the link above for install
8282
eval $(op signin)
8383
```
8484

85-
Note what your [1Password secret references](https://developer.1password.com/docs/cli/secret-references/) are and use them in place of your actual secret values during the `cloudfuzz configure` or env var setup steps described in the next section.
85+
Note what your [1Password secret references](https://developer.1password.com/docs/cli/secret-references/) are and use them in place of your actual secret values during the `cloudexec configure` or env var setup steps described in the next section.
8686

8787
These references generally follow the format: `op://<vault-name>/<item-name>/<field-name>`. For example, if you saved your keys to a vault called `Private`, in an item called `DigitalOcean` and the api key field is called `ApiKey`, then the secret reference to use is `op://Private/DigitalOcean/ApiKey`.
8888

89-
#### Configure CloudFuzz
89+
#### Configure CloudExec
9090

9191
```bash
92-
cloudfuzz configure
92+
cloudexec configure
9393
```
9494

9595
or set environment variables:
@@ -103,95 +103,95 @@ DIGITALOCEAN_SPACES_REGION
103103

104104
Remember, if you save secret values to a `.env` file, never commit it to any version control system. Add such `.env` files to your project's `.gitignore` file to help prevent making such mistakes.
105105

106-
### Check CloudFuzz access
106+
### Check CloudExec access
107107

108-
Confirm `cloudfuzz` has access to DigitalOcean.
108+
Confirm `cloudexec` has access to DigitalOcean.
109109

110110
```bash
111-
cloudfuzz check
111+
cloudexec check
112112
```
113113

114-
### Initialize your CloudFuzz environment
114+
### Initialize your CloudExec environment
115115

116116
```bash
117-
cloudfuzz init
117+
cloudexec init
118118
```
119119

120-
### Launch a new remote fuzzing job
120+
### Launch a new remote job
121121

122-
Generate a cloudfuzz.toml configuration file in the current directory.
122+
Generate a cloudexec.toml configuration file in the current directory.
123123

124124
```bash
125-
cloudfuzz launch init
125+
cloudexec launch init
126126
```
127127

128-
Update the `cloudfuzz.toml` as needed.
128+
Update the `cloudexec.toml` as needed.
129129

130130
```bash
131-
# default nyc3 region and c-2 size droplet, using a cloudfuzz.toml file in the current directory
132-
cloudfuzz launch
131+
# default nyc3 region and c-2 size droplet, using a cloudexec.toml file in the current directory
132+
cloudexec launch
133133
# custom region and droplet size
134-
cloudfuzz launch --size c-4 --region sfo2
134+
cloudexec launch --size c-4 --region sfo2
135135
```
136136

137137
### Stream logs from the provisioning script
138138

139139
```bash
140-
cloudfuzz logs
140+
cloudexec logs
141141
```
142142

143143
Note that the `logs` subcommand will continue to stream logs until you stop with ctrl-c, even after the job is finished and stops producing new logs. This is a read-only command and it is safe to kill it at any point.
144144

145145
### Get logs from a previous run
146146

147147
```bash
148-
cloudfuzz logs --job 1
148+
cloudexec logs --job 1
149149
```
150150

151151
### Attach to the running job
152152

153153
```bash
154-
cloudfuzz attach
154+
cloudexec attach
155155

156156
# or
157-
ssh -t cloudfuzz tmux attach -s cloudfuzz
157+
ssh -t cloudexec tmux attach -s cloudexec
158158
```
159159

160160
### SSH to your droplet
161161

162162
```bash
163-
ssh cloudfuzz
163+
ssh cloudexec
164164
```
165165

166166
### Check on the status of your jobs
167167

168168
```bash
169169
# show only runnning jobs, and the last completed job
170-
cloudfuzz status
170+
cloudexec status
171171
# show all jobs
172-
cloudfuzz status --all
172+
cloudexec status --all
173173
```
174174

175175
### Sync files from a completed job to a local path
176176

177177
```bash
178178
# pull from the latest successful job
179-
cloudfuzz pull example/output
179+
cloudexec pull example/output
180180
# pull from any job ID
181-
cloudfuzz pull --job 1 example/output
181+
cloudexec pull --job 1 example/output
182182

183183
```
184184

185185
### Cancel any in progress jobs
186186

187187
```bash
188-
cloudfuzz cancel
188+
cloudexec cancel
189189
```
190190

191191
### Cleanup all bucket contents and reset state (destructive)
192192

193193
```bash
194-
cloudfuzz clean
194+
cloudexec clean
195195
```
196196

197197
Note that there is often a delay while deleting files from Digital Ocean Spaces buckets.

cmd/cloudexec/clean.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"strings"
66

7-
"github.com/trailofbits/cloudexec/pkg/config"
8-
do "github.com/trailofbits/cloudexec/pkg/digitalocean"
9-
"github.com/trailofbits/cloudexec/pkg/s3"
7+
"github.com/crytic/cloudexec/pkg/config"
8+
do "github.com/crytic/cloudexec/pkg/digitalocean"
9+
"github.com/crytic/cloudexec/pkg/s3"
1010
)
1111

1212
func ConfirmDeleteDroplets(config config.Config, userName string, instanceToJobs map[int64][]int64) error {

cmd/cloudexec/configure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"os/exec"
99
"strings"
1010

11-
"github.com/trailofbits/cloudexec/pkg/config"
11+
"github.com/crytic/cloudexec/pkg/config"
1212
"golang.org/x/term"
1313
)
1414

cmd/cloudexec/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/trailofbits/cloudexec/pkg/config"
7-
"github.com/trailofbits/cloudexec/pkg/s3"
6+
"github.com/crytic/cloudexec/pkg/config"
7+
"github.com/crytic/cloudexec/pkg/s3"
88
)
99

1010
func Init(username string, config config.Config) error {

cmd/cloudexec/launch.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"time"
1010

1111
"github.com/BurntSushi/toml"
12-
"github.com/trailofbits/cloudexec/pkg/config"
13-
do "github.com/trailofbits/cloudexec/pkg/digitalocean"
14-
"github.com/trailofbits/cloudexec/pkg/s3"
15-
"github.com/trailofbits/cloudexec/pkg/ssh"
16-
"github.com/trailofbits/cloudexec/pkg/state"
12+
"github.com/crytic/cloudexec/pkg/config"
13+
do "github.com/crytic/cloudexec/pkg/digitalocean"
14+
"github.com/crytic/cloudexec/pkg/s3"
15+
"github.com/crytic/cloudexec/pkg/ssh"
16+
"github.com/crytic/cloudexec/pkg/state"
1717
)
1818

1919
type Commands struct {

cmd/cloudexec/logs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"os/exec"
77
"strings"
88

9-
"github.com/trailofbits/cloudexec/pkg/config"
10-
"github.com/trailofbits/cloudexec/pkg/s3"
9+
"github.com/crytic/cloudexec/pkg/config"
10+
"github.com/crytic/cloudexec/pkg/s3"
1111
)
1212

1313
func GetLogsFromBucket(config config.Config, jobID int, bucketName string) error {

cmd/cloudexec/main.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"strconv"
1010
"time"
1111

12+
do "github.com/crytic/cloudexec/pkg/digitalocean"
13+
"github.com/crytic/cloudexec/pkg/ssh"
14+
"github.com/crytic/cloudexec/pkg/state"
1215
"github.com/olekukonko/tablewriter"
13-
do "github.com/trailofbits/cloudexec/pkg/digitalocean"
14-
"github.com/trailofbits/cloudexec/pkg/ssh"
15-
"github.com/trailofbits/cloudexec/pkg/state"
1616
"github.com/urfave/cli/v2"
1717
)
1818

@@ -38,7 +38,7 @@ func main() {
3838

3939
app := &cli.App{
4040
Name: "cloudexec",
41-
Usage: "easily run cloud based fuzzing jobs",
41+
Usage: "easily run cloud based jobs",
4242
Commands: []*cli.Command{
4343
{
4444
Name: "check",
@@ -65,7 +65,7 @@ func main() {
6565
},
6666
{
6767
Name: "init",
68-
Usage: "Initialize a cloud fuzzing environment",
68+
Usage: "Initialize the cloud environment",
6969
Aliases: []string{"i"},
7070
Action: func(*cli.Context) error {
7171
// Abort on configuration error
@@ -93,7 +93,7 @@ func main() {
9393
},
9494
{
9595
Name: "launch",
96-
Usage: "Launch a droplet and start a fuzzing job",
96+
Usage: "Launch a droplet and start a job",
9797
Aliases: []string{"l"},
9898
Flags: []cli.Flag{
9999
&cli.StringFlag{
@@ -267,7 +267,7 @@ func main() {
267267
},
268268
{
269269
Name: "pull",
270-
Usage: "Pulls down the results of the latest successful fuzzing job",
270+
Usage: "Pulls down the results of the latest successful job",
271271
Flags: []cli.Flag{
272272
&cli.IntFlag{
273273
Name: "job",

cmd/cloudexec/pull.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"path/filepath"
77
"strings"
88

9-
"github.com/trailofbits/cloudexec/pkg/config"
10-
"github.com/trailofbits/cloudexec/pkg/s3"
9+
"github.com/crytic/cloudexec/pkg/config"
10+
"github.com/crytic/cloudexec/pkg/s3"
1111
)
1212

1313
func DownloadJobOutput(config config.Config, jobID int, localPath string, bucketName string) error {

0 commit comments

Comments
 (0)