Skip to content

Commit

Permalink
v6.0 baby!
Browse files Browse the repository at this point in the history
  • Loading branch information
careyjames committed Oct 19, 2023
1 parent 9b27c93 commit 4eebb05
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
Binary file added DNS-Scout-v6.0.tar.gz
Binary file not shown.
Binary file modified bin/dns-scout
Binary file not shown.
22 changes: 11 additions & 11 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@
echo "Compiling Go code..."
go build -v -o ./bin/dns-scout

GOOS=darwin GOARCH=amd64 go build -v -o ./dns-scout-macos-amd64-intel-v5.9/dns-scout
GOOS=darwin GOARCH=amd64 go build -v -o ./dns-scout-macos-amd64-intel-v6.0/dns-scout
# produces a binary for macOS running on Intel x86_64 architecture (Intel Macs). It does not produce a binary for the newer Apple Silicon Macs, which use the ARM64 architecture.

GOOS=darwin GOARCH=arm64 go build -v -o ./dns-scout-macos-arm64-silicon-v5.9/dns-scout
GOOS=darwin GOARCH=arm64 go build -v -o ./dns-scout-macos-arm64-silicon-v6.0/dns-scout
# This will produce a binary (dns-scout-macos-arm64) that runs on macOS systems with ARM64 architecture (Apple Silicon).

GOOS=linux GOARCH=amd64 go build -v -o ./dns-scout-linux-amd64-ubuntu-kali-v5.9/dns-scout
GOOS=linux GOARCH=amd64 go build -v -o ./dns-scout-linux-amd64-ubuntu-kali-v6.0/dns-scout
# This will generate a binary (dns-scout-linux-amd64) that is suitable for most Kali and Ubuntu installations on AMD64/x86_64 hardware.

GOOS=linux GOARCH=arm64 go build -v -o ./dns-scout-linux-arm64-raspberry-pi-v5.9/dns-scout
GOOS=linux GOARCH=arm64 go build -v -o ./dns-scout-linux-arm64-raspberry-pi-v6.0/dns-scout
# Raspberry Pi 64-bit ARM

GOOS=linux GOARCH=386 go build -v -o ./dns-scout-linux-386-v5.9/dns-scout
GOOS=linux GOARCH=386 go build -v -o ./dns-scout-linux-386-v6.0/dns-scout
# If you want to support older 32-bit machines or other architectures, you'll need to specify different GOARCH values. For example, for 32-bit x86:

tar czvf dns-scout-macos-amd64-intel-v5.9.tar.gz --transform 's,^./dns-scout-macos-amd64-intel-v5.9/dns-scout,dns-scout,' ./dns-scout-macos-amd64-intel-v5.9/dns-scout ./README.md ./setup-api-token.sh
tar czvf dns-scout-macos-amd64-intel-v6.0.tar.gz --transform 's,^./dns-scout-macos-amd64-intel-v6.0/dns-scout,dns-scout,' ./dns-scout-macos-amd64-intel-v6.0/dns-scout ./README.md ./setup-api-token.sh

tar czvf dns-scout-macos-arm64-silicon-v5.9.tar.gz --transform 's,^./dns-scout-macos-arm64-silicon-v5.9/dns-scout,dns-scout,' ./dns-scout-macos-arm64-silicon-v5.9/dns-scout ./README.md ./setup-api-token.sh
tar czvf dns-scout-macos-arm64-silicon-v6.0.tar.gz --transform 's,^./dns-scout-macos-arm64-silicon-v6.0/dns-scout,dns-scout,' ./dns-scout-macos-arm64-silicon-v6.0/dns-scout ./README.md ./setup-api-token.sh

tar czvf dns-scout-linux-amd64-ubuntu-kali-v5.9.tar.gz --transform 's,^./dns-scout-linux-amd64-ubuntu-kali-v5.9/dns-scout,dns-scout,' ./dns-scout-linux-amd64-ubuntu-kali-v5.9/dns-scout ./README.md ./setup-api-token.sh
tar czvf dns-scout-linux-amd64-ubuntu-kali-v6.0.tar.gz --transform 's,^./dns-scout-linux-amd64-ubuntu-kali-v6.0/dns-scout,dns-scout,' ./dns-scout-linux-amd64-ubuntu-kali-v6.0/dns-scout ./README.md ./setup-api-token.sh

tar czvf dns-scout-linux-arm64-raspberry-pi-v5.9.tar.gz --transform 's,^./dns-scout-linux-arm64-raspberry-pi-v5.9/dns-scout,dns-scout,' ./dns-scout-linux-arm64-raspberry-pi-v5.9/dns-scout ./README.md ./setup-api-token.sh
tar czvf dns-scout-linux-arm64-raspberry-pi-v6.0.tar.gz --transform 's,^./dns-scout-linux-arm64-raspberry-pi-v6.0/dns-scout,dns-scout,' ./dns-scout-linux-arm64-raspberry-pi-v6.0/dns-scout ./README.md ./setup-api-token.sh

tar czvf dns-scout-linux-386-v5.9.tar.gz --transform 's,^./dns-scout-linux-386-v5.9/dns-scout,dns-scout,' ./dns-scout-linux-386-v5.9/dns-scout ./README.md ./setup-api-token.sh
tar czvf dns-scout-linux-386-v6.0.tar.gz --transform 's,^./dns-scout-linux-386-v6.0/dns-scout,dns-scout,' ./dns-scout-linux-386-v6.0/dns-scout ./README.md ./setup-api-token.sh

shasum -a 256 ./dns-scout-macos-amd64-intel-v5.9/dns-scout ./dns-scout-macos-arm64-silicon-v5.9/dns-scout ./dns-scout-linux-amd64-ubuntu-kali-v5.9/dns-scout ./dns-scout-linux-386-v5.9/dns-scout ./dns-scout-linux-arm64-raspberry-pi-v5.9/dns-scout
shasum -a 256 ./dns-scout-macos-amd64-intel-v6.0/dns-scout ./dns-scout-macos-arm64-silicon-v6.0/dns-scout ./dns-scout-linux-amd64-ubuntu-kali-v6.0/dns-scout ./dns-scout-linux-386-v6.0/dns-scout ./dns-scout-linux-arm64-raspberry-pi-v6.0/dns-scout

echo "Build complete."
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

# Package the DNS-Scout directory into a tarball
tar --exclude='.git' --exclude='.gitignore' --exclude='.vscode' --exclude='.tmp-history' -czvf "DNS-Scout-v5.9.tar.gz" ./bin/
tar --exclude='.git' --exclude='.gitignore' --exclude='.vscode' --exclude='.tmp-history' -czvf "DNS-Scout-v6.0.tar.gz" ./bin/

0 comments on commit 4eebb05

Please sign in to comment.