Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

beef-npm

Node.js package to install and interact with BeEF (Browser Exploitation Framework)

beef, exploitation, nodejs, been

readme

BeEF-npm (Browser Exploitation Framework for npm)

This is a Node.js package that installs and interacts with the BeEF (Browser Exploitation Framework).

Installation

npm install beef-npm

usage

const beef = require('beef-npm');

async function run() {
    await beef.installBeEF();
    await beef.startBeEF();
    await beef.interactWithBeEF('api/your-endpoint'); // Replace with actual endpoint
}

run().catch(console.error);