getJS

command module
v0.0.0-...-d75e2a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2025 License: Unlicense Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README


  • Usage

❯ getJS --help
Usage of getJS:
      --complete             Complete the url. e.g. append the domain to the path
  -H, --header stringArray   Any HTTP headers(-H "Authorization:Bearer token")
      --input string         Input file with urls
      --insecure             Check the SSL security checks. Use when the certificate is expired or invalid
      --method string        The request method. e.g. GET or POST (default "GET")
      --nocolors             Enable or disable colors
      --output string        Output file to save the results to
      --resolve              Output only existing files
      --timeout int          Max timeout for the requests (default 10)
      --url string           The url to get the javascript sources from
      --verbose              Display info of what is going on

!# Install
!# With root
sudo curl -qfsSL "https://bin.ajam.dev/x86_64_Linux/getJS" -o "/usr/local/bin/getJS" && sudo chmod +xwr "/usr/local/bin/getJS"
sudo eget "https://bin.ajam.dev/x86_64_Linux/getJS" --to "/usr/local/bin/getJS"

!# Without ROOT
curl -qfsSL "https://bin.ajam.dev/x86_64_Linux/getJS" -o "$HOME/bin/getJS" && chmod +xwr "$HOME/bin/getJS"
eget "https://bin.ajam.dev/x86_64_Linux/getJS" --to "$HOME/bin/getJS"

!# Using go
go install -v "github.com/Azathothas/Arsenal/getJS@main"

!# Build
  cd $(mktemp -d) && mkdir getJS && cd getJS
  curl -qfsSLJO "https://raw.githubusercontent.com/Azathothas/Arsenal/main/getJS/main.go"
  curl -qfsSLJO "https://raw.githubusercontent.com/Azathothas/Arsenal/main/getJS/go.mod"
  go get github.com/Azathothas/Arsenal/getJS
  CGO_ENABLED=0 go build -v -ldflags="-s -w -extldflags '-static'" -o "./getJS"
  file "./getJS" ; ldd "./getJS" ; ls -lah "./getJS"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL