Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
H
hisoutensoku-terminator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
hisoutensoku-terminator
Commits
d65a2c2b
Commit
d65a2c2b
authored
Jun 06, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
fix readme
parent
5f6228c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
1 deletion
+65
-1
README.md
README.md
+65
-1
No files found.
README.md
View file @
d65a2c2b
# hisoutensoku-terminiator
I hate hisoutensoku
A script preventing others playing Hisoutensoku in a QQ group, detecting group message and join fake clients in.
## Disclaimer
This project is only for educational purpose. I'm not responsed to what you did with this project. You may be tossed out if you abuse this.
## Note
This project may possibly be working only with Hisoutensoku ver 1.10a. Versions above or below may not work properly.
## How to use
*
Ensure you have installed Docker and
`docker-compose`
.
*
Join a QQ account into the target QQ groups.
*
Create a
`config.yaml`
with the following below.
```
yaml
address
:
0.0.0.0
# CoolQ listen address and port. Leave it.
port
:
80
coolq
:
# CoolQ config. The docker-compose config below meets this configuration.
apiRoot
:
http://coolq:5700
accessToken
:
aaaaa
secret
:
bbbbb
attackTimeout
:
10000
# The timeout the fake clients would wait for connection.
floodQQGroups
:
# Target QQ groups
-
111111111
addressWhitelist
:
# You may add your own servers here to prevent being affected.
-
1.1.1.1
```
*
Create a
`docker-compose.yml`
with the following below.
```
yaml
version
:
'
2.4'
services
:
coolq
:
restart
:
always
image
:
richardchien/cqhttp
ports
:
-
9000:9000
volumes
:
-
./coolq:/home/usr/coolq
environment
:
VNC_PASSWD
:
YOUR_VNC_PASSWORD_HERE
# Please change this
COOLQ_ACCOUNT
:
1111111111
# Your QQ account here
FORCE_ENV
:
'
true'
CQHTTP_POST_URL
:
http://terminator
CQHTTP_SERVE_DATA_FILES
:
'
yes'
CQHTTP_ACCESS_TOKEN
:
aaaaa
# The above access token and secrets. Since the containers are not exposed to the public, you may not use strong ones.
CQHTTP_SECRET
:
bbbbb
terminator
:
restart
:
always
image
:
nanahira/hisoutensoku-terminator
volumes
:
-
./config.yaml:/usr/src/app/config.yaml:ro
```
*
`docker-compose up -d`
*
Visit
`http://YOUR_SERVER_IP:9000`
and log in your QQ account in the web VNC.
*
~~Be ready to be tossed out from the group by group moderators.~~
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment