Skip to main content
The pensar quicktest command performs a rapid, objective-focused penetration test against a target without running full attack surface discovery.

Synopsis

Description

Quicktest is optimized for fast, targeted security testing when you:
  • Want to test a specific hypothesis quickly
  • Already know what vulnerability to look for
  • Need rapid feedback during development
  • Have time constraints
Quicktest skips the full attack surface discovery phase. For comprehensive testing, use pensar pentest instead.

Required Arguments

string
required
Target URL, domain, or IP address to test.
Can be:
  • Full URL: https://api.example.com
  • Domain: example.com
  • IP address: 192.168.1.100
  • Localhost: http://localhost:3000
string
required
Testing objective or hypothesis.
Be specific about what you want to test.

Options

string
default:"claude-sonnet-4-5"
AI model to use for testing.
string
default:"default"
Header mode for requests.Values:
  • none - No custom headers
  • default - Add User-Agent: pensar-apex
  • custom - Use custom headers defined with --header
string
Add custom header (requires --headers custom).
Can be specified multiple times for multiple headers.

Examples

Test Specific Vulnerability

API Security Testing

Development Feedback Loop

Test during development:

Multiple Custom Headers

Quicktest vs Pentest

Use quicktest during development for rapid feedback. Use pentest for comprehensive security audits.

Writing Good Objectives

Specific and actionable:
These objectives are:
  • Focused on a single vulnerability class
  • Reference specific components/endpoints
  • Testable with clear pass/fail criteria

Use Cases

Development Testing

Quick security checks during feature development

Hypothesis Testing

Test if a specific vulnerability exists

Regression Testing

Verify security fixes work as intended

Bug Bounty

Quickly test specific attack vectors

Limitations

Quicktest does not perform:
  • Attack surface discovery
  • Subdomain enumeration
  • Service fingerprinting
  • Comprehensive endpoint mapping
For complete security coverage, use pensar pentest.

Troubleshooting

Possible reasons:
  1. Vulnerability doesn’t exist - The specific issue may not be present
  2. Objective too narrow - Try a broader objective or use pentest
  3. Target unreachable - Verify network connectivity
  4. Authentication required - Add auth headers with --header
You must specify at least one objective:
Ensure you set --headers custom:

Next Steps

Full Pentest

Run comprehensive security testing

Targeted Pentest

Multiple objectives with full discovery

Environment Variables

Configure API keys and headers

Findings

Understand vulnerability findings