Enhanced NULLSEC AI to work 100% OFFLINE with NO API KEYS OR USER ACCOUNTS REQUIRED
Old Version (v2.0):
- Required API keys (Anthropic, OpenAI, or GitHub Copilot)
- Needed user accounts and subscriptions
- Couldn't work offline
- Privacy concerns with external APIs
New Version (v3.0):
- ✅ NO API keys required
- ✅ NO user accounts needed
- ✅ Works 100% offline
- ✅ 100% free and open source
- ✅ Privacy-first - all data stays local
- ✅ Rule-based expert system fallback
Added 10+ specialized pentesting AI models (all free & open source):
-
DeepSeek Coder 6.7B ⭐ RECOMMENDED
- Trained on code and security
- Best for exploit development
- Excellent balance of size/capability
-
CodeLlama 13B
- Meta's official code model
- Great general-purpose coding
- Good for payload generation
-
WizardCoder 15B
- Enhanced coding abilities
- Complex exploit chains
- Advanced code generation
-
Mistral 7B
- Fast and efficient
- Quick responses
- Good for reconnaissance
-
Mixtral 8x7B
- Expert mixture model
- Most powerful option
- Advanced reasoning
-
OpenHermes 7B
- Instruction-tuned
- Detailed explanations
- Educational responses
-
Solar 10.7B
- Advanced reasoning
- Attack path planning
- Strategy development
-
Phi-2 (2.7B)
- Microsoft's efficient model
- Smallest and fastest
- Low resource requirements
-
Orca2 13B
- Microsoft's reasoning model
- Complex problem solving
- Strategic thinking
-
Neural Chat 7B
- Conversational AI
- Interactive pentesting
- User-friendly responses
User Query
↓
┌─────────────────────────────────────┐
│ NULLSEC AI v3.0 │
├─────────────────────────────────────┤
│ 1. Try Local AI (Ollama/LM Studio)│
│ 2. Try HTTP AI (GPT4All/LocalAI) │
│ 3. Fallback to Expert System │
└─────────────────────────────────────┘
↓
Response (Always Works!)
-
Ollama (Recommended)
- Full-featured local AI
- Easy model management
- Best performance
ollama pull <model>
-
LM Studio
- GUI-based
- User-friendly
- Visual model management
-
GPT4All
- Desktop application
- Simple to use
- Cross-platform
-
LocalAI
- OpenAI-compatible API
- Docker-based
- Server deployment
When no AI is available:
- 100+ pre-programmed pentesting rules
- Methodology-based command generation
- Tool recommendations
- Best practice guidance
Example output without AI:
PENTESTING METHODOLOGY:
1. RECONNAISSANCE
- Port scanning: nmap -sV -sC -p- <target>
- Service enumeration: identify versions
- Technology detection: whatweb, wappalyzer
2. VULNERABILITY ANALYSIS
- searchsploit for known exploits
- nmap NSE vuln scripts
- Manual testing
3. EXPLOITATION
[detailed commands...]
# List installed models
models
# Install new model
install deepseek-coder:6.7b
# Auto-detection of available providers
# Automatic fallback to expert systemSpecialized prompts for:
- Network pentesting
- Web application security
- Wireless attacks
- Credential attacks
- Malware development
- Reconnaissance
- Cloud security
- Mobile security
SQLite database storing:
- Attack sessions
- Commands executed
- Vulnerabilities found
- Success patterns
- Learning from results
nullsec-ai(category)[target] >
Commands:
- set target <ip/domain>
- set category <name>
- models
- install <model>
- execute <cmd>
- history
- help
- exit# Run installation wizard
cd /home/antics/nullsec
bash install-ai.sh
# Choose option 1 for recommended setup# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull recommended model
ollama pull deepseek-coder:6.7b
# Launch NULLSEC AI
python3 nullsec-ai.py# Works immediately with expert system
python3 nullsec-ai.py
# Still provides pentesting commands and guidancenullsec-ai> set target 192.168.1.100
nullsec-ai> enumerate this target
[AI generates detailed reconnaissance plan with working commands]
nullsec-ai> set target 192.168.1.100
nullsec-ai> enumerate this target
[Expert system provides methodology and command templates]
nullsec-ai> execute nmap -sV 192.168.1.100
[Runs command and logs to knowledge base]
| Feature | v2.0 (Old) | v3.0 (New) |
|---|---|---|
| API Keys | Required | NOT required ✅ |
| User Accounts | Required | NOT required ✅ |
| Offline Support | No | Yes ✅ |
| Privacy | External APIs | 100% Local ✅ |
| Cost | Subscriptions | Free ✅ |
| AI Models | 0 local | 10+ local ✅ |
| Fallback | None | Expert system ✅ |
| Setup Time | Complex | 2 minutes ✅ |
The AI teaches:
- OWASP Top 10 exploitation
- Network pentesting methodologies
- Privilege escalation techniques
- Wireless security attacks
- Cloud penetration testing
- Mobile app security
- Red team operations
- OPSEC best practices
100% Private:
- All AI processing happens locally
- No data sent to external servers
- No telemetry or tracking
- No API keys or accounts stored
- Complete control over your data
Security:
- Review AI-suggested commands
- Auto-execute disabled by default
- Knowledge base stored locally
- Full audit trail
nullsec-ai.py- Complete rewrite (offline-first)install-ai.sh- Easy installation wizardNULLSEC_AI_V3_GUIDE.md- Comprehensive documentation
nullsec-ai-v2.py- Original version preserved
.nullsec-ai-v3.db- SQLite knowledge base.nullsec-ai-v3.json- Configuration file
| Model | Size | Speed | Quality | RAM | Best For |
|---|---|---|---|---|---|
| Phi-2 | 2.7B | ⚡⚡⚡⚡⚡ | ⭐⭐⭐ | 4GB | Low-spec systems |
| Mistral | 7B | ⚡⚡⚡⚡ | ⭐⭐⭐⭐ | 8GB | General use |
| DeepSeek | 6.7B | ⚡⚡⚡⚡ | ⭐⭐⭐⭐⭐ | 8GB | Pentesting |
| CodeLlama | 13B | ⚡⚡⚡ | ⭐⭐⭐⭐ | 16GB | Code generation |
| WizardCoder | 15B | ⚡⚡ | ⭐⭐⭐⭐⭐ | 16GB | Complex exploits |
| Mixtral | 47B | ⚡ | ⭐⭐⭐⭐⭐ | 32GB | Maximum capability |
- Start Small: Use Phi-2 or Mistral for testing
- Upgrade: Move to DeepSeek Coder for serious work
- Experiment: Try different models for different tasks
- Learn: Even without AI, expert system teaches methodology
- Privacy: Everything stays on your machine
-
Zero Barriers to Entry
- No signup required
- No payment needed
- No API key hunting
- Works in 2 minutes
-
True Offline Capability
- Air-gapped environments
- No internet dependency
- Complete privacy
-
Educational
- Learn pentesting methodologies
- Understand attack chains
- Build knowledge base
-
Professional Grade
- Multiple specialized models
- Learning from successes
- Attack pattern recognition
-
Open Source Spirit
- All models are open source
- Free forever
- Community-driven
NULLSEC AI v3.0 represents a complete transformation:
-
From: Requires paid API keys and accounts
-
To: Works 100% free and offline
-
From: Privacy concerns with cloud APIs
-
To: 100% local, private, secure
-
From: One AI provider
-
To: 10+ specialized models + expert system
-
From: Didn't work without internet
-
To: Works anywhere, anytime
This is professional-grade AI-powered pentesting for everyone, with no barriers and no compromises.
# Install everything (recommended)
bash /home/antics/nullsec/install-ai.sh
# Or just run it (works without AI)
python3 /home/antics/nullsec/nullsec-ai.py
# Read the guide
cat /home/antics/nullsec/NULLSEC_AI_V3_GUIDE.mdAuthor: bad-antics development
Repository: github.com/bad-antics/nullsec
Version: 3.0
Status: Production Ready ✅
Philosophy: Free, Private, Powerful