Skip to content

A tool for automatically authenticate the network of Wen Yuan Talent Apartment.

License

Notifications You must be signed in to change notification settings

kurimone/wylogger

Repository files navigation

wylogger

English | 简体中文

A tool for automatically authenticate the network of Wen Yuan Talent Apartment.

Installation

This tool supports Windows, macOS, and Linux platforms.

Windows

Run Powershell in administrator mode and execute the following command:

powershell -NoExit -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass; Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/mafuka/wylogger/main/script/install.ps1' -OutFile 'install.ps1'; .\install.ps1; Remove-Item .\install.ps1}"

Note: Users within the Chinese Mainland might not be able to access GitHub. In this case, please use the following command:

powershell -NoExit -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass; Invoke-WebRequest -Uri 'https://gh.api.99988866.xyz/https://raw.githubusercontent.com/mafuka/wylogger/main/script/install.ps1' -OutFile 'install.ps1'; .\install.ps1 -UseProxy 1; Remove-Item .\install.ps1}"

When prompted with "Do you want to change the execution policy?", be sure to answer "Yes to All" (A). The default execution policy will prevent you from running scripts, and the installation will not be able to proceed.

If all goes well, wylogger will be installed in the %USERPROFILE%\wylogger directory.

After the installation is complete, Notepad will open automatically. Please refer to the prompts in it to modify and save the configuration file.

macOS

First, you need to install Homebrew. Open Terminal and execute the following command:

which brew >/dev/null 2>&1 && echo "Homebrew is installed" || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Then install wylogger from Homebrew:

brew tap mafuka/tap
brew install wylogger

The configuration file will be here: /etc/wylogger/config.yml.

Linux, or another Unix-like OS

Execute the following command in the terminal:

TODO

Configuration

  • On Windows, the configuration file is located at %USERPROFILE%/wylogger/config.yml.
  • On macOS and Linux, the configuration file is located at /etc/wylogger/config.yml.

Open the configuration file and follow the prompts to modify the configuration items. Don't forget to save it.

Usage

Just open a terminal and execute wylogger. The programme will keep running as long as you don't end it manually.

Autostart

TODO

Remove

Windows

Run Powershell in administrator mode and execute the following command:

powershell -NoExit -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass; Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/mafuka/wylogger/main/script/install.ps1' -OutFile 'install.ps1'; .\install.ps1 -Action Remove; Remove-Item .\install.ps1}"

Note: Users within the Chinese Mainland might not be able to access GitHub. In this case, please use the following command:

powershell -NoExit -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass; Invoke-WebRequest -Uri 'https://gh.api.99988866.xyz/https://raw.githubusercontent.com/mafuka/wylogger/main/script/install.ps1' -OutFile 'install.ps1'; .\install.ps1 -Action Remove; Remove-Item .\install.ps1}"

macOS

Open Terminal and execute the following command:

brew remove wylogger

Linux, or another Unix-like OS

TODO

License

MIT.

About

A tool for automatically authenticate the network of Wen Yuan Talent Apartment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published