Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/icepie/giwifi-gear

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/icepie/giwifi-gear

  • v1.3.4
  • Source
  • Go
  • Socket score

Version published
Created
Source

giwifi-gear (sh ver)

A UNIX shell command line interpreter tool for login giwifi

env

Any OS with UNIX command interpreter (GNU bash, zsh, other shells)

dep

  • curl

  • openssl (optional, for auth with app type)

  • gawk (optional, for windows and mac user)

usage

$ ./giwifi-gear.sh -h
giwifi-gear.sh
  A cli tool for login giwifi by cloud auth mode (multi-platform, fast, small)
usage:
  giwifi-gear.sh [-h] [-g <GATEWAY>] [-u <USERNAME>] [-p <PASSWORD>] [-t <TYPE>] [-T <TOKEN>] [-i <IFACE>] [-e <EXTRA_IFACE>] [-q] [-b] [-d] [-l] [-v]
optional arguments:
  -h                    show this help message and exit
  -g <GATEWAY>          set the gateway
  -u <USERNAME>         set the username
  -p <PASSWORD>         set the password
  -i <IFACE>            set the interface by name or ip
  -e <EXTRA_IFACE>      set the extra interface (-e vwan1 -e vwan2)
  -t <TYPE>             auth type (pc/pad/staff for web auth, android/ios/windows/mac/apad/ipad for app auth, token for directly auth by token, and default value is pc)
  -T <TOKEN>            set the token (need to use -t token)
  -b                    bind or rebind your device
  -q                    sign out of account authentication
  -d                    running in the daemon mode (remove sharing restrictions)
  -l                    print the log info
  -v                    show the tool version and exit
(c) 2021 icepie.dev@gmail.com

example

bind your device with the default pc type

$ giwifi-gear.sh -g 172.21.1.1 -u 13000000001 -p mypassword -b # -t pc

auth with mac auth type and daemon mode

$ giwifi-gear.sh -g 172.21.1.1 -u 13000000001 -p mypassword -t mac -d

auth with ipad auth type and specified interface

$ giwifi-gear.sh -u 13000000001 -p mypassword -t ipad -i wlan0 # will automatically detect the gateway

quit auth

$ giwifi-gear.sh -g 172.21.1.1 -q

FAQs

Package last updated on 03 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc