Skip to content

Repository files navigation

Command Generator

A responsive browser-based command builder for eight common network-security tools. It generates command text for review and copying; it never executes commands.

Supported tools

  • Nmap and Masscan
  • Nuclei and Nikto
  • Dirb, Gobuster, and ffuf
  • SQLMap, including categorized tamper scripts

Features

  • Tool-specific targets, modes, options, conflicts, and required fields
  • Strict IPv4/CIDR and port-range validation
  • POSIX shell quoting for structured targets and option values
  • Real-time command preview and clipboard copy
  • Responsive keyboard-accessible interface
  • Output-format selection with descriptive labels
  • Automated schema and command-generation regression tests

Custom flags are intentionally appended verbatim. Always review the final command and use security tools only on systems you own or are explicitly authorized to assess.

Requirements

  • Node.js 20.19+ or 22.12+
  • npm

Development

npm ci
npm run dev

Vite serves the app at http://localhost:3000 when that port is available.

Verification

npm run lint
npm test
npm run build

# Run everything used by CI
npm run check

npm audit --audit-level=high is also run in GitHub Actions.

Project structure

src/
├── CommandGenerator.jsx      UI and application state
├── command.js               validation, shell quoting, command assembly
├── components/              focused UI components
└── tools/                   declarative tool schemas
test/
└── command.test.js          Node.js regression and schema tests
.github/
├── dependabot.yml
└── workflows/ci.yml

Contributing

See CONTRIBUTING.md. Report sensitive defects according to SECURITY.md.

License

MIT

About

A browser-based command generator for common security assessment tools.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages