9.99 GB
4 files
Updated 1 day ago
Name
Size
.gitattributes2.66 kB
xet
README.md7.28 kB
xet
barch-v2.jsonl19.9 MB
xet
barch.jsonl9.97 GB
xet
README.md

BlackArch CLI Tools Dataset

What This Dataset Is

A supervised fine-tuning (SFT) dataset that teaches a language model how to use the ~2,850 CLI tools in the BlackArch Linux repository — what each tool does, how to install it, which flags matter, and practical command examples. Coverage spans 49 tool categories from web application testing to reverse engineering to wireless exploitation.

Sources

Source Type Content
BlackArch tools data Fetched + cached Pipe-delimited tool index (name|version|description|category|url) — ~2,855 entries
Embedded MAJOR_TOOLS corpus (86 tools) Static 5–25 hand-written (question, command) pairs per tool, covering the most common operations, flag combinations, and output modes
GitHub README fetches (up to --max-fetches) Fetched + cached Fenced code blocks extracted from each tool's README for supplemental command examples

Major tools with embedded usage (86)

nmap, masscan, sqlmap, nikto, gobuster, ffuf, hashcat, john, hydra, metasploit-framework, aircrack-ng, wifite, wireshark, tcpdump, responder, impacket, crackmapexec, netexec, bloodhound, certipy, evil-winrm, enum4linux, enum4linux-ng, subfinder, amass, theharvester, nuclei, feroxbuster, rustscan, dirb, wpscan, burpsuite, zaproxy, bettercap, ettercap, volatility3, binwalk, foremost, steghide, exiftool, radare2, ghidra, gdb, socat, chisel, proxychains, ligolo-ng, mimikatz, searchsploit, set, reaver, hashid, hash-identifier, netcat, wfuzz, smbclient, smbmap, ldapsearch, rpcclient, commix, xsstrike, whatweb, wafw00f, dnsenum, fierce, dnsrecon, cewl, crunch, medusa, patator, sslscan, lynis, chkrootkit, rkhunter, yersinia, hping3, slowloris, dirsearch, arjun, paramspider, katana, httpx, waybackurls, gau, pspy, linpeas, winpeas

Each major tool has 5–25 curated Q&A pairs covering common invocations, important flag combinations, output parsing, and typical penetration testing workflows.

Tool categories (49)

The BlackArch repository organizes tools into categories. The dataset includes category-aware overview rows using these category descriptions:

Category Description
blackarch-webapp Web application security testing
blackarch-scanner Network and vulnerability scanning
blackarch-recon Reconnaissance and information gathering
blackarch-exploitation Exploitation frameworks and tools
blackarch-cracker Password cracking and brute forcing
blackarch-windows Windows-specific security tools
blackarch-networking Network utilities and analysis
blackarch-forensic Digital forensics and incident response
blackarch-fuzzer Protocol and application fuzzing
blackarch-crypto Cryptography analysis and attacks
blackarch-wireless Wireless network auditing
blackarch-binary Binary analysis and exploitation
blackarch-social Social engineering
blackarch-reversing Reverse engineering
blackarch-malware Malware analysis
blackarch-proxy Traffic interception and proxying
blackarch-stego Steganography
blackarch-dos Denial-of-service testing
...and 31 more (hardware, radio, automobile, drone, firmware, NFC, IDS, AI, etc.)

System prompts

  • SYSTEM_TOOL_USE — Penetration testing tool expert on BlackArch Linux. Exact commands with flags and arguments. Explains what the command does and expected output format. Assumes BlackArch or Arch Linux with blackarch repo enabled.
  • SYSTEM_TOOL_EXPLAIN — Tool expert. What the tool does, primary use cases, notable features, and how it compares to alternatives in the same category.
  • SYSTEM_TOOL_INSTALL — BlackArch Linux sysadmin. Exact pacman -S commands with repo prerequisites. AUR alternatives when applicable.

Row kinds

Kind Description Volume (base)
tool_what_is "What is {tool}?" → description, category, homepage ~2,855
tool_install "How do I install {tool}?" → pacman -S command ~2,855
tool_use_major Practical task → exact command (from embedded corpus) ~780
tool_use_readme Task inferred from README → code block command ~350+
category_overview "What tools are available for {category}?" → list with descriptions ~49

Augmentation

  • none — Direct from tool index, embedded corpus, or README extraction.
  • oversample — Same assistant answer, user prompt reformulated with a different template from the question bank (use/explain/install/category templates).

Scale

Mode Typical Row Count
Base (no --augment) ~6,200
--augment --target-rows 1000000 1,000,000

What This Dataset Is NOT

  • Not a BlackArch installation guide. It teaches individual tool usage, not how to set up BlackArch itself (partitioning, bootloader, desktop environment, repo configuration). Use the BlackArch install guide for that.
  • Not GUI tool documentation. The dataset focuses on CLI tools only. GUI-centric tools (Burp Suite, Ghidra, Wireshark) appear with their CLI interfaces and flags, not their graphical workflows. If a tool is purely GUI-based with no CLI invocation, its rows are limited to "what is" and "install" kinds.
  • Not exhaustive flag documentation. Major tools have 5–25 example invocations covering common workflows. Obscure flags, deprecated options, and niche modes are not systematically covered. Consult --help or man pages for full flag reference.
  • Not tool output training data. The dataset teaches what commands to run, not how to parse or interpret their output. A model trained on this data can produce the right nmap command but won't have seen actual scan results, hash cracking output, or exploit session transcripts.
  • Not version-pinned. Tool versions come from the BlackArch tools index at fetch time. Commands may reference flags that were added or removed in different versions. The dataset does not track version compatibility.
  • Not cross-distro. Installation commands use pacman -S exclusively. Kali Linux (apt), Parrot OS, or manual compilation instructions are not included.
  • Not a penetration testing methodology. It teaches tool invocation, not engagement methodology (scoping, rules of engagement, reporting, evidence handling). For methodology, refer to standards like PTES, OWASP, or OSSTMM.
  • Not safety-filtered. Real attack tool commands appear without refusal patterns, ethical disclaimers, or usage warnings. The dataset assumes the reader/model operator applies their own responsible-use constraints.
  • Not a substitute for practice labs. Knowing the command syntax does not equal knowing when and why to use a tool in context. Pair this training data with hands-on lab environments for effective skill development.
Total size
9.99 GB
Files
4
Last updated
Nov 29
Pre-warmed CDN
US EU US EU

Contributors