Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Wrapper to allow Gnu Go Text Protocol speaking Go engines to connect to Online-Go.com and play games
This javascript tool allows all bots/AI that support GTP (Go Text Protocol) to communicate with OGS (Online-Go.com Server).
After being configured, gtp2ogs is ready to work as-is, but it is also possible to customize it.
Being a bot admin on OGS means:
-v 1600
for leela-zero, etc.)The full tutorial has screenshots, examples, and detailed explanations for windows and linux.
You can see it here.
The "node.js" package is bundled with:
You can find operating system specific instructions below:
After installing gtp2ogs, we need to specify the settings. This is what we do with gtp2ogs options.
To set up an option in gtp2ogs, you need to enter it as a command-line argument.
Command-line arguments can be written in any order.
Some options are mandatory:
You can find all available options in OPTIONS-LIST.
After that, use a --
(with one space before and one space after the --
)
to separate gtp2ogs arguments from bot arguments.
Then specify your bot arguments.
All in all, general use is something like this:
node_executable path/to/gtp2ogs.js --username <yourbotusername> --apikey <apikey> [arguments] -- path/to/your/ai/executable [bot arguments]
In this example AI is PhoenixGo, but it works in a similar way for any AI.
The number of gtp2ogs options and of bot arguments is free.
node C:\Users\yourusername\gtp2ogs\gtp2ogs.js --apikey 5rg46ze84f68e4g6v4e4g68es4g8 --username somebot --debug --ogspv PhoenixGo --noclock --unrankedonly --minrank 1d --noautohandicapranked --maxhandicap 0 --boardsizes 19 --komis 7.5 --speeds live --maxmaintimelive 600 --maxperiodsliveranked 5 --maxperiodsliveunranked 10 --maxperiodtimeliveranked 60 --maxperiodtimeliveunranked 180 -- C:\Users\yourusername\PhoenixGo\mcts\mcts_main --gtp --config_path C:\Users\yourusername\PhoenixGo\etc\mcts_1gpu_beta.conf --logtostderr --v 1
node ~/gtp2ogs/gtp2ogs.js --apikey 5rg46ze84f68e4g6v4e4g68es4g8 --username somebot --debug --ogspv PhoenixGo --noclock --unrankedonly --minrank 1d --noautohandicapranked --maxhandicap 0 --boardsizes 19 --komis 7.5 --speeds live --maxmaintimelive 600 --maxperiodsliveranked 5 --maxperiodsliveunranked 10 --maxperiodtimeliveranked 60 --maxperiodtimeliveunranked 180 -- /home/amd2020/PhoenixGo/bazel-bin/mcts/mcts_main --gtp --config_path=/home/amd2020/PhoenixGo/etc/mcts_1gpu_beta.conf --logtostderr --v=1
Before you can play on official OGS server server, OGS admins will often ask that you run tests to make sure everything is running fine.
You need to do these tests in beta OGS server, by adding the option --beta.
When all testing is OK, you can remove the --beta
and play in the real OGS.
To avoid accidental misclicks while spectating a game from your bot account, see Submit-Move Button.
gtp2ogs has native support for showing ingame winrate and variations for some AI, see: --ogspv
This discord can also be useful if you want to have fast and quick, interactive chat, or ask simple and quick questions, however github issues are preferred for long problems because they leave a track that can be useful later)
You can find notes for developers here.
FAQs
Wrapper to allow Gnu Go Text Protocol speaking Go engines to connect to Online-Go.com and play games
The npm package gtp2ogs receives a total of 25 weekly downloads. As such, gtp2ogs popularity was classified as not popular.
We found that gtp2ogs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.