-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.sh
More file actions
executable file
·70 lines (60 loc) · 1.97 KB
/
Copy pathdemo.sh
File metadata and controls
executable file
·70 lines (60 loc) · 1.97 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
#!/bin/bash
# CyberSecurity Toolkit Demo Script
# This script demonstrates the key features of the toolkit
echo "🛡️ CyberSecurity Toolkit Demo"
echo "================================"
echo ""
# Check if tools are built
if [ ! -f "build/src/packet_analyzer" ] || [ ! -f "build/src/port_scan" ]; then
echo "❌ Tools not found. Please run ./build.sh first"
exit 1
fi
echo "📋 Available Tools:"
echo " • packet_analyzer - Packet capture and analysis"
echo " • port_scan - Parallel port scanner"
echo " • cybersec_toolkit - Interactive toolkit"
echo ""
echo "🔍 Demo 1: Packet Analysis with Threat Detection"
echo "================================================"
echo "Analyzing sample packet data for security threats..."
echo ""
./build/src/packet_analyzer -j examples/sample_packets.json -a
echo ""
echo "🚀 Demo 2: Port Scanning"
echo "========================"
echo "Scanning common ports on localhost..."
echo ""
./build/src/port_scan -c 127.0.0.1
echo ""
echo "📊 Demo 3: Custom Port Range Scan"
echo "================================="
echo "Scanning ports 20-30 with JSON export..."
echo ""
./build/src/port_scan -p 20-30 -t 1000 -T 5 -o demo_scan.json 127.0.0.1
echo ""
echo "📄 Demo 4: JSON Output Analysis"
echo "==============================="
if [ -f "demo_scan.json" ]; then
echo "Generated scan results (first 20 lines):"
head -20 demo_scan.json
echo "..."
echo ""
echo "📁 Full results saved to: demo_scan.json"
else
echo "❌ No scan results generated"
fi
echo ""
echo "🎯 Demo 5: Help Documentation"
echo "============================="
echo "Port Scanner Help:"
./build/src/port_scan --help
echo ""
echo "✅ Demo Complete!"
echo "================"
echo ""
echo "🔧 Next Steps:"
echo " • Try: ./build/src/cybersec_toolkit (interactive mode)"
echo " • Read: README.md for comprehensive documentation"
echo " • Test: cd build && make test"
echo ""
echo "⚠️ Remember: Use responsibly and only on networks you own!"