mirror of
https://github.com/arnaucube/flock-botnet.git
synced 2026-02-06 19:16:39 +01:00
renamed
This commit is contained in:
24
README.md
24
README.md
@@ -1,22 +1,30 @@
|
|||||||
# projectFlock
|
# flock-botnet
|
||||||
|
|
||||||
a twitter botnet with bots replying tweets with text generated by Markov chains
|
A twitter flock botnet with bots replying tweets with text generated by Markov chains
|
||||||
|
|
||||||
|
#### generating text with Markov chains
|
||||||
|
Markov chain: https://en.wikipedia.org/wiki/Markov_chain
|
||||||
|
|
||||||
##### generating text with Markov chains
|
|
||||||
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).
|
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
|
### 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.
|
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.
|
In the following examples, the bots ("andreimarkov", "dodecahedron", "projectNSA") are replying some people.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|
-
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|
-
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
-
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
configuration file example (flockConfig.json):
|
configuration file example (flockConfig.json):
|
||||||
|
|||||||
6
main.go
6
main.go
@@ -10,10 +10,10 @@ import (
|
|||||||
const version = "0.1-dev"
|
const version = "0.1-dev"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
c.Yellow("projectFlock")
|
c.Yellow("flock-botnet")
|
||||||
fmt.Println("---------------")
|
fmt.Println("---------------")
|
||||||
c.Cyan("projectFlock initialized")
|
c.Cyan("flock-botnet initialized")
|
||||||
c.Purple("https://github.com/arnaucode/projectFlock")
|
c.Purple("https://github.com/arnaucode/flock-botnet")
|
||||||
fmt.Println("version " + version)
|
fmt.Println("version " + version)
|
||||||
fmt.Println("Reading flockConfig.json file")
|
fmt.Println("Reading flockConfig.json file")
|
||||||
flock := readConfigTokensAndConnect()
|
flock := readConfigTokensAndConnect()
|
||||||
|
|||||||
Reference in New Issue
Block a user