Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mplewis/olivaw
Simulate botnet behavior in Python.
https://github.com/mplewis/olivaw
Last synced: 2 months ago
JSON representation
Simulate botnet behavior in Python.
- Host: GitHub
- URL: https://github.com/mplewis/olivaw
- Owner: mplewis
- Created: 2014-10-07T18:55:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-09T06:22:48.000Z (about 10 years ago)
- Last Synced: 2024-04-13T04:56:09.651Z (10 months ago)
- Language: Java
- Size: 404 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Olivaw
Simulate botnet behavior in Python.
# Usage
Import `Net` and `Bot` from `prototypes`. Then override them and change their behavior as necessary.
The example in `sample_net.py` does the following:
* Creates a TestNet net
* Creates 20 TestBots and adds them to the net
* Runs the net for 100 ticksThe TestBot does the following:
* Assigns itself a random 5-digit ID
* On each net tick, has a 5% chance of printing its IDThe TestNet does the following:
* Every tick, prints its tick number
# About
Named after Isaac Asimov's robot character, R. Daneel Olivaw.