forked from yashab-cyber/HackGpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathusage_examples.sh
More file actions
executable file
·103 lines (85 loc) · 2.51 KB
/
usage_examples.sh
File metadata and controls
executable file
·103 lines (85 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#!/bin/bash
# HackGPT Usage Examples
# This script demonstrates various ways to use HackGPT
echo "🔥 HackGPT Usage Examples 🔥"
echo "=============================="
echo ""
echo "1. Interactive Mode (Recommended for beginners)"
echo " ./hackgpt.py"
echo ""
echo "2. Full Automated Pentest"
echo " ./hackgpt.py --target example.com --scope 'Web application' --auth-key 'AUTH123'"
echo ""
echo "3. Web Dashboard"
echo " ./hackgpt.py --web"
echo " # Then open browser to http://localhost:5000"
echo ""
echo "4. Voice Command Mode"
echo " ./hackgpt.py --voice"
echo " # Say: 'Start full pentest', 'View reports', 'Exit'"
echo ""
echo "5. Specific Phase Only"
echo " ./hackgpt.py"
echo " # Select option 2 and choose phase 1-6"
echo ""
echo "6. Docker Deployment"
echo " # Web dashboard in container"
echo " docker-compose up hackgpt"
echo ""
echo " # CLI mode in container"
echo " docker-compose run hackgpt-cli"
echo ""
echo "7. Test Installation"
echo " ./test_installation.py"
echo ""
echo "8. Run Demo"
echo " ./demo.py"
echo ""
echo "9. With OpenAI API (Online AI)"
echo " export OPENAI_API_KEY='your-key-here'"
echo " ./hackgpt.py --target example.com --scope 'Test' --auth-key 'AUTH'"
echo ""
echo "10. Local AI Only (Offline)"
echo " unset OPENAI_API_KEY"
echo " ./hackgpt.py --target example.com --scope 'Test' --auth-key 'AUTH'"
echo ""
echo "📋 Prerequisites Check:"
echo "======================"
echo ""
echo "✅ Kali Linux (any variant)"
echo "✅ Python 3.8+ installed"
echo "✅ Internet connection (for tool updates)"
echo "✅ Sudo privileges (for tool installation)"
echo ""
echo "🚀 Quick Start:"
echo "==============="
echo ""
echo "1. chmod +x install.sh"
echo "2. ./install.sh"
echo "3. ./hackgpt.py"
echo ""
echo "🎯 Test Targets (Safe for testing):"
echo "=================================="
echo ""
echo "• testphp.vulnweb.com - Vulnerable web app"
echo "• httpbin.org - HTTP testing service"
echo "• scanme.nmap.org - Nmap test target"
echo ""
echo "⚠️ LEGAL NOTICE:"
echo "================"
echo ""
echo "Only use against:"
echo "• Systems you own"
echo "• Systems with explicit written permission"
echo "• Designated test environments"
echo ""
echo "Always follow responsible disclosure!"
echo ""
echo "📞 Support:"
echo "==========="
echo ""
echo "• GitHub Issues: Report bugs and request features"
echo "• Discussions: Community support and questions"
echo "• Documentation: README.md has comprehensive guide"
echo ""
echo "Happy ethical hacking! 🎉"