No description
Find a file
2018-10-07 16:47:06 +02:00
build readme update 2017-05-12 13:57:18 +02:00
screenshots avoiding reply to other bots of the botnet, and readme explanation 2017-04-23 20:20:45 +02:00
.gitignore implemented text generation with markov chains, need to thing something to avoid sentence loops 2017-04-22 16:22:33 +02:00
color.go Update color.go 2018-05-15 10:18:55 +04:00
flock.go streaming keywords implemented, replying from the flock (botnet) to tweets with text generated with Markov chains 2017-04-23 19:01:28 +02:00
LICENSE Initial commit 2017-04-22 00:54:01 +02:00
main.go renamed 2017-04-23 20:34:57 +02:00
markov.go streaming keywords implemented, replying from the flock (botnet) to tweets with text generated with Markov chains 2017-04-23 19:01:28 +02:00
optionManualTweetFromFlock.go streaming keywords implemented, replying from the flock (botnet) to tweets with text generated with Markov chains 2017-04-23 19:01:28 +02:00
optionMarkovFlockBotnet.go avoiding reply to other bots of the botnet, and readme explanation 2017-04-23 20:20:45 +02:00
optionTweetMarkov.go added progress bar on generting markov chains 2017-04-22 21:43:26 +02:00
readConfigTokensAndConnect.go implemented tweet from flock (set a text, and send it from each one of the configured accounts) 2017-04-22 00:57:32 +02:00
README.md readme update 2017-05-12 13:57:18 +02:00
readTxt.go added progress bar on generting markov chains 2017-04-22 21:43:26 +02:00
text.txt implemented text generation with markov chains, need to thing something to avoid sentence loops 2017-04-22 16:22:33 +02:00
waitTime.go avoiding reply to other bots of the botnet, and readme explanation 2017-04-23 20:20:45 +02:00

flock-botnet Go Report Card

A twitter botnet with autonomous bots replying tweets with text generated based on probabilities in Markov chains

generating text with Markov chains

Markov chain: https://en.wikipedia.org/wiki/Markov_chain

The algorithm calculates the probabilities of Markov chains, analyzing a considerable amount of text, for the examples, I've done it with the book "The Critique of Pure Reason", by Immanuel Kant (http://www.gutenberg.org/cache/epub/4280/pg4280.txt).

Replying tweets with Markov chains

When the botnet is up working, the bots start streaming all the twitter new tweets containing the configured keywords. Each bot takes a tweet, analyzes the containing words, and generates a reply using the Markov chains previously calculated, and posts the tweet as reply.

In the following examples, the bots ("andreimarkov", "dodecahedron", "projectNSA") are replying some people.

flock-botnet

flock-botnet

flock-botnet

flock-botnet

configuration file example (flockConfig.json):

[{
        "title": "account1",
        "consumer_key": "xxxxxxxxxxxxx",
        "consumer_secret": "xxxxxxxxxxxxx",
        "access_token_key": "xxxxxxxxxxxxx",
        "access_token_secret": "xxxxxxxxxxxxx"
    },
    {
        "title": "account2",
        "consumer_key": "xxxxxxxxxxxxx",
        "consumer_secret": "xxxxxxxxxxxxx",
        "access_token_key": "xxxxxxxxxxxxx",
        "access_token_secret": "xxxxxxxxxxxxx"
    },
    {
        "title": "account3",
        "consumer_key": "xxxxxxxxxxxxx",
        "consumer_secret": "xxxxxxxxxxxxx",
        "access_token_key": "xxxxxxxxxxxxx",
        "access_token_secret": "xxxxxxxxxxxxx"
    }
]