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.

36 lines
1.4 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. http://arnaucode.com/echo-botnet/
  2. # echo-botnet [![Go Report Card](https://goreportcard.com/badge/github.com/arnaucode/echo-botnet)](https://goreportcard.com/report/github.com/arnaucode/echo-botnet)
  3. A twitter botnet with autonomous bots replying tweets with pre-configured replies
  4. Echo (Ēkhō): https://en.wikipedia.org/wiki/Echo_(mythology)#
  5. # How it works
  6. - 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
  7. - the bots are running in parallel
  8. - each bot streams the Twitter API getting the tweets containing one or more keywords configured in the file keywordsConfig.json
  9. - then, the bot randomly gets a reply from the file repliesConfig.json
  10. - after a bot replies a tweet, the bot 'sleeps' 1 minute, to avoid the Twitter API limitation
  11. Needs the files:
  12. ```
  13. botsConfig.json --> contains the tokens of the bots
  14. keywordsConfig.json --> contains the keywords to track from Twitter API
  15. repliesConfig.json --> contains the replies
  16. ```
  17. Just need to configure (deleting the word 'DEMO' from the filenames):
  18. ![echo-botnet](https://raw.githubusercontent.com/arnaucode/echo-botnet/master/configurationScreenshot.png "configurationScreenshot")
  19. To run, on the /build directory:
  20. ```
  21. ./echo-botnet
  22. ```
  23. Also, can run from the sources, with the Go compiler installed. On the .go files directory:
  24. ```
  25. go run *.go
  26. ```