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
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
Testing objective or hypothesis.Be specific about what you want to test.
Options
AI model to use for testing.
Header mode for requests.Values:
none- No custom headersdefault- AddUser-Agent: pensar-apexcustom- Use custom headers defined with--header
Add custom header (requires Can be specified multiple times for multiple headers.
--headers custom).Examples
Test Specific Vulnerability
Example Output
Example Output
API Security Testing
Development Feedback Loop
Test during development:Multiple Custom Headers
Quicktest vs Pentest
| Feature | Quicktest | Pentest |
|---|---|---|
| Speed | Fast (2-5 min) | Comprehensive (10-30 min) |
| Scope | Single objective | Full attack surface |
| Discovery | None | Full recon & mapping |
| Best for | Specific tests | Complete audit |
| Use case | Dev feedback | Production testing |
Writing Good Objectives
- Good Objectives
- Poor 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
For complete security coverage, usepensar pentest.
Troubleshooting
No findings with valid objective
No findings with valid objective
Possible reasons:
- Vulnerability doesn’t exist - The specific issue may not be present
- Objective too narrow - Try a broader objective or use
pentest - Target unreachable - Verify network connectivity
- Authentication required - Add auth headers with
--header
'--objective is required' error
'--objective is required' error
You must specify at least one objective:
Custom headers not working
Custom headers not working
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

