Skip to content

Commit

Permalink
Recommend installing and running ronin-exploits using Bundler.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jun 29, 2024
1 parent e749c69 commit c3dbdcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ Check the [issues] for ideas on which PoC to add.
cd community-pocs/
```

3. install [ronin-exploits][install-ronin-exploits]
3. Install dependencies: `bundle install`
4. Generate a new exploit:

```shell
ronin-exploits new exploits/<product>/CVE-YYYY-XXXX.rb
bundle exec ronin-exploits new exploits/<product>/CVE-YYYY-XXXX.rb
```

5. Fill in metadata and the `build`/`launch`/`cleanup` methods.
6. Test it!

```shell
./exploits/<product>/CVE-YYYY-XXXX.rb -p foo=bar ...
bundle exec ./exploits/<product>/CVE-YYYY-XXXX.rb -p foo=bar ...
```

**Note**: check [vulhub] if they have a `docker-compose.yml` file for the
Expand Down

0 comments on commit c3dbdcf

Please sign in to comment.