Netattack Lab initial commit
This commit is contained in:
parent
0ae784f234
commit
beed99171a
9 changed files with 2042 additions and 0 deletions
34
ping_of_death/build.sh
Executable file
34
ping_of_death/build.sh
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "🔥 Building NetAttack Lab..."
|
||||
echo "=============================="
|
||||
|
||||
# Clean previous builds
|
||||
rm -f netattack-lab*
|
||||
|
||||
# Build for different platforms with embedded resources
|
||||
echo "📦 Building for Linux (amd64)..."
|
||||
GOOS=linux GOARCH=amd64 go build -o netattack-lab-linux-amd64 .
|
||||
|
||||
echo "📦 Building for Windows (amd64)..."
|
||||
GOOS=windows GOARCH=amd64 go build -o netattack-lab-windows-amd64.exe .
|
||||
|
||||
echo "📦 Building for macOS (amd64)..."
|
||||
GOOS=darwin GOARCH=amd64 go build -o netattack-lab-darwin-amd64 .
|
||||
|
||||
echo "📦 Building for macOS (ARM64/M1)..."
|
||||
GOOS=darwin GOARCH=arm64 go build -o netattack-lab-darwin-arm64 .
|
||||
|
||||
echo ""
|
||||
echo "✅ Build completed! Generated executables:"
|
||||
ls -la netattack-lab*
|
||||
|
||||
echo ""
|
||||
echo "🚀 To run the application:"
|
||||
echo "Linux: ./netattack-lab-linux-amd64"
|
||||
echo "Windows: netattack-lab-windows-amd64.exe"
|
||||
echo "macOS: ./netattack-lab-darwin-amd64"
|
||||
|
||||
echo ""
|
||||
echo "⚠️ EDUCATIONAL USE ONLY - Use responsibly!"
|
||||
echo "🌐 Access: http://localhost:8090"
|
||||
Loading…
Add table
Add a link
Reference in a new issue