项目作者: ms2008

项目描述 :
CCMU Automatic Connector
高级语言: Go
项目地址: git://github.com/ms2008/poemoon.git
创建时间: 2016-11-08T13:26:53Z
项目社区:https://github.com/ms2008/poemoon

开源协议:MIT License

下载


poemoon

This tool provides automatic login feature for connect to the network authenticated by dr.com. Tested on drcom client 5.2.0D. Implemented by both drcom and http protocol.

All work done, it will opens a webpage, most browsers will open it on a new tab.

Dependency

To install, run the following commands in this order:

  1. go get github.com/josephspurrier/goversioninfo
  2. cd $GOPATH/src/github.com/josephspurrier/goversioninfo/cmd/goversioninfo
  3. go build
  4. mv goversioninfo* $GOROOT/bin

Installation

You should always execute the command below first, so goversioninfo will create a file called resource.syso in the same directory. Then you must run “go build”, Go will embed the version information and an optional icon in the executable.

  1. go generate

Note:
If you use the build.sh to complie the executable, there will be no any Microsoft Windows File Properties/Version Info embed in the executable.

for windows
  1. # for 32 bit
  2. sh build.sh windows 386
  3. # for 64 bit
  4. sh build.sh windows amd64
for mac os x
  1. # for 64 bit
  2. sh build.sh darwin amd64
for linux
  1. # for 32 bit
  2. sh build.sh linux 386
  3. # for 64 bit
  4. sh build.sh linux amd64

That’s it!

Crossplatform support

The package is guaranteed to work on windows, linux and darwin. It also has default support for freebsd, openbsd and netbsd but these three have not been tested yet (that I’m aware of).

License

It is licensed under the MIT open source license, please see the LICENSE file for more information.

Thanks…

panjunwen wrote a nicer version by python. I forked it here fuzzy_test.py, check it out!.