Zardoz is a small WFA which tries to learn from the server and client the rules of what to block.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
822 B

1 month ago
  1. #!/bin/bash
  2. rm ./zardoz
  3. GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -mod=vendor
  4. file zardoz
  5. mv ./zardoz ./binaries/arm64/zardoz
  6. tar -cvzf ./binaries/tgz/zardoz_arm64.tgz -C ./binaries/arm64 . --owner=0 --group=0
  7. GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -mod=vendor
  8. file zardoz
  9. mv ./zardoz ./binaries/armv7/zardoz
  10. tar -cvzf ./binaries/tgz/zardoz_armv7.tgz -C ./binaries/armv7 . --owner=0 --group=0
  11. GOOS=linux GOARCH=mips CGO_ENABLED=0 go build -mod=vendor
  12. file zardoz
  13. mv ./zardoz ./binaries/mips32/zardoz
  14. tar -cvzf ./binaries/tgz/zardoz_mips32.tgz -C ./binaries/mips32 . --owner=0 --group=0
  15. GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -mod=vendor
  16. file zardoz
  17. mv ./zardoz ./binaries/amd64/zardoz
  18. tar -cvzf ./binaries/tgz/zardoz_amd64.tgz -C ./binaries/amd64 . --owner=0 --group=0