diff --git a/.gitignore b/.gitignore index 5a15080..785d44e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ Thumbs.db .idea/ *.swp *.swo +*.bak # Config — never commit real credentials **/config.yaml @@ -17,3 +18,7 @@ Thumbs.db # Runtime directories (deployment-only) reports/ logs/ + +# Pre-built binaries (build from source or use releases) +aasd/bin/* +!aasd/bin/.gitkeep diff --git a/aasd/bin/.gitkeep b/aasd/bin/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/aasd/docs/STATE_OF_DEVELOPMENT.md b/aasd/docs/STATE_OF_DEVELOPMENT.md index 29676c0..16ed5dd 100644 --- a/aasd/docs/STATE_OF_DEVELOPMENT.md +++ b/aasd/docs/STATE_OF_DEVELOPMENT.md @@ -36,7 +36,7 @@ Visitor sees report with QR code; consultant accesses full GoTestWAF output | **Report Serving** | ✅ Complete | visitor_{token}.html + consultant_{token}.html | | **QR Code** | ✅ Complete | Booth scanning workflow | | **Graceful Shutdown** | ✅ Complete | SIGINT/SIGTERM handling | -| **Booth Network** | ✅ Complete | Binds to 0.0.0.0:8080 | +| **Booth Network** | ✅ Complete | Binds to 0.0.0.0:8000 | ## Technical Specifications diff --git a/aasd/install.sh b/aasd/install.sh index 3ad3017..e43d2de 100644 --- a/aasd/install.sh +++ b/aasd/install.sh @@ -247,7 +247,7 @@ echo -e "${GREEN}═════════════════════ echo -e "${GREEN} AASD installation complete${NC}" echo -e "${GREEN}══════════════════════════════════════════════${NC}" echo "" -echo " URL: http://$(hostname -I 2>/dev/null | awk '{print $1}'):8080" +echo " URL: http://$(hostname -I 2>/dev/null | awk '{print $1}'):8000" echo " Binary: $APP_HOME/aasd" echo " Config: $CONFIG_FILE" echo " Service: aasd.service" diff --git a/aasd/src/cmd/aasd/main.go b/aasd/src/cmd/aasd/main.go index 21fc333..739c4ba 100644 --- a/aasd/src/cmd/aasd/main.go +++ b/aasd/src/cmd/aasd/main.go @@ -92,7 +92,8 @@ func main() { // Serve static files router.Static("/static", "./static") - router.StaticFile("/", "./static/index.html") + router.StaticFile("/", "./static/index.html") // GITEX 2026 hub + router.StaticFile("/aasd", "./static/aasd.html") // AASD entry point router.Static("/reports", "./reports") // QR code generator endpoint @@ -321,12 +322,13 @@ func main() { signal.Notify(signalChan, syscall.SIGINT, syscall.SIGTERM) srv := &http.Server{ - Addr: "0.0.0.0:8080", + Addr: "0.0.0.0:8000", Handler: router, } go func() { fmt.Printf("AASD server starting on %s\n", srv.Addr) + fmt.Printf("GITEX 2026 Nairobi — Hub: http://localhost:8000\n") fmt.Printf("Version: 2026-04.1 | API Attack Surface Discovery\n") if err := srv.ListenAndServe(); err != nil && err != http.ErrServerClosed { fmt.Printf("Server error: %v\n", err) diff --git a/aasd/src/static/aasd.html b/aasd/src/static/aasd.html new file mode 100644 index 0000000..293d03a --- /dev/null +++ b/aasd/src/static/aasd.html @@ -0,0 +1,160 @@ + + +
+ + +API Attack Surface Discovery
++ Enter your domain. We'll discover subdomains, test your WAF, and generate a resilience report. +
+ + + + +What happens next
++ GITEX 2026 Booth Demo — Bring your code to BU 4 +
+