UNPKG

beef-npm

Version:

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

9 lines (6 loc) 203 B
const beef = require('beef-npm'); async function run() { await beef.startBeEF(); await beef.interactWithBeEF('api/your-endpoint'); // Replace with actual endpoint } run().catch(console.error);