2021-07-30 09:59:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-08-02 06:10:44 +00:00
|
|
|
echo 'Building functional-test binary'
|
2021-07-30 14:31:27 +00:00
|
|
|
go build
|
2021-08-02 06:10:44 +00:00
|
|
|
|
2021-08-02 06:42:22 +00:00
|
|
|
echo 'Building Nuclei binary from current branch'
|
|
|
|
go build -o nuclei_dev ../nuclei
|
2021-08-02 06:10:44 +00:00
|
|
|
|
|
|
|
echo 'Installing latest release of nuclei'
|
|
|
|
GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
|
|
|
|
|
|
|
|
echo 'Starting Nuclei functional test'
|
2021-08-02 06:42:22 +00:00
|
|
|
./functional-test -main nuclei -dev ./nuclei_dev -testcases testcases.txt
|