arnaucube
arnaucube/echo-botnetPublic Self-hosted repository
echo-botnet/README.md
README.mdRaw
 1http://arnaucode.com/echo-botnet/
 2
 3# echo-botnet [![Go Report Card](https://goreportcard.com/badge/github.com/arnaucode/echo-botnet)](https://goreportcard.com/report/github.com/arnaucode/echo-botnet)
 4A twitter botnet with autonomous bots replying tweets with pre-configured replies
 5
 6
 7Echo (Ēkhō): https://en.wikipedia.org/wiki/Echo_(mythology)#
 8
 9
10# How it works
11- each bot is launched every 35 seconds, so the bot1 is launched at time 0, the bot2 is launched at time 35s, the bot3 is launched at time 1:10 minutes, etc
12- the bots are running in parallel
13- each bot streams the Twitter API getting the tweets containing one or more keywords configured in the file keywordsConfig.json
14- then, the bot randomly gets a reply from the file repliesConfig.json
15- after a bot replies a tweet, the bot 'sleeps' 1 minute, to avoid the Twitter API limitation
16
17Needs the files:
18```
19botsConfig.json     --> contains the tokens of the bots
20keywordsConfig.json --> contains the keywords to track from Twitter API
21repliesConfig.json  --> contains the replies
22```
23
24Just need to configure (deleting the word 'DEMO' from the filenames):
25
26![echo-botnet](https://raw.githubusercontent.com/arnaucode/echo-botnet/master/configurationScreenshot.png "configurationScreenshot")
27
28
29To run, on the /build directory:
30```
31./echo-botnet
32```
33Also, can run from the sources, with the Go compiler installed. On the .go files directory:
34```
35go run *.go
36```