JSFScan.sh
JSFScan.sh copied to clipboard
subjs`fails to install via install.sh
Hello
The script fails to install subjs because the command used is deprecated in modern Go versions (go get -u is no longer supported for binaries).
- Clone the repo and run
./install.sh - Installation of
subjssilently fails - Running
subjsreturns:command not found
Expected Behavior:
subjs should be installed and accessible in $PATH.
Actual Behavior: No binary is installed, and the command silently fails on Go 1.17+.
Root Cause:
go get -u github.com/lc/subjs@latest is deprecated. As of Go 1.17+, the correct install syntax is:
go install github.com/lc/subjs@latest
Suggested Fix:
In install.sh, replace:
go get -u github.com/lc/subjs@latest
with:
go install github.com/lc/subjs@latest
Also ensure $GOPATH/bin is added to $PATH.
Environment:
- OS: Ubuntu / Exegol
- Go version: 1.22.2
- JSFScan commit: latest (May 2025)