Deno mini-port of @mozillasecurity/octo
Find a file
2018-08-02 11:26:21 -04:00
lib Refactor text generator 2018-08-02 11:26:21 -04:00
tests Modify random.item to work with array-like objects and update tests 2017-07-20 15:29:37 -04:00
.editorconfig Add .editorconfig 2017-04-23 02:29:16 +03:00
.gitignore Add module based architecture 2018-03-19 04:23:05 +01:00
.travis.yml Deploy to both github pages (always) & releases (tagged) 2017-06-07 12:34:17 -04:00
Gruntfile.js Add pre-commit hook for standard linter 2018-01-22 22:30:40 +01:00
index.js Add linter fixes 2018-03-19 05:54:40 +01:00
karma.conf.js Add pre-commit hook for standard linter 2018-01-22 22:30:40 +01:00
LICENSE Add LICENSE 2017-04-22 23:09:22 +03:00
package.json Only wrap strings in quotes 2018-04-07 11:14:40 -04:00
README.md Update README.md 2018-03-22 18:32:29 +01:00
webpack.config.js Add linter fixes 2018-03-19 05:54:40 +01:00

Logo

A unified shared library which aids in building fuzzers for browsers or as complement for an already existing fuzzing framework.

JavaScript Style Guide IRC

Octo.js bundles core functions and generic boilerplate code commonly used in most frameworks for fuzzing browsers. It is designed for the sharing of improvements between our individual fuzzers, and with the purpose of reducing the maintainability of those core features with minimal effort.

Octo's future aims to be a stable, well-tested and well-documented standard library for fuzzing in a JavaScript environment.

Note

The ES6 branch is under active development while we are incorporating it with our existing fuzzers.

Playbook

https://runkit.com/posidron/octo-js-playbook

Node

npm i @mozillasecurity/octo
const {random} = require('@mozillasecurity/octo')
random.init()

Browser

We have not yet merged ES6 to master, hence the browser version which was released on master is not up-to-date. Use the dist/octo.js version of this branch by running the following command.

npm run build

Development

npm install
npm run build
npm run watch
npm run test:lint

Testing

Tests live in the tests/ subdirectory, and are written for QUnit. To run tests locally, open tests/index.html in a browser. The automated tests are run in Firefox or Chrome using Karma. To run the automated tests:

npm test