You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucode 68e19c6d5b fixed stream from botnet, now runs Ok 5 years ago
build fixed stream from botnet, now runs Ok 5 years ago
.gitignore cleaned code, and better structured design, need stop() the stream after tweet 5 years ago
LICENSE Initial commit 5 years ago
README.md readme updated 5 years ago
configurationScreenshot.png update 5 years ago
echo-botnet fixed stream from botnet, now runs Ok 5 years ago
errors.go cleaned code, and better structured design, need stop() the stream after tweet 5 years ago
log.go cleaned code, and better structured design, need stop() the stream after tweet 5 years ago
main.go fixed stream from botnet, now runs Ok 5 years ago
readConfigurations.go cleaned code, and better structured design, need stop() the stream after tweet 5 years ago
streamTweets.go fixed stream from botnet, now runs Ok 5 years ago
waitTime.go works 5 years ago

README.md

http://arnaucode.com/echo-botnet/

echo-botnet Go Report Card

A twitter botnet with autonomous bots replying tweets with pre-configured replies

Echo (Ēkhō): https://en.wikipedia.org/wiki/Echo_(mythology)#

How it works

  • 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
  • the bots are running in parallel
  • each bot streams the Twitter API getting the tweets containing one or more keywords configured in the file keywordsConfig.json
  • then, the bot randomly gets a reply from the file repliesConfig.json
  • after a bot replies a tweet, the bot 'sleeps' 1 minute, to avoid the Twitter API limitation

Needs the files:

botsConfig.json     --> contains the tokens of the bots
keywordsConfig.json --> contains the keywords to track from Twitter API
repliesConfig.json  --> contains the replies

Just need to configure (deleting the word 'DEMO' from the filenames):

echo-botnet

To run, on the /build directory:

./echo-botnet

Also, can run from the sources, with the Go compiler installed. On the .go files directory:

go run *.go