Coder Social home page Coder Social logo

chillerbot / chillerbot-ng Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 202.87 MB

Teeworlds console client based on cmake DDNet

License: Other

CMake 2.14% Dockerfile 0.09% GLSL 0.41% Python 3.63% Batchfile 0.01% C 19.62% Shell 0.12% C++ 73.96% Objective-C++ 0.03%
teeworlds headless cli ddnet

chillerbot-ng's Introduction

ChillerBot-ng

The no gui client maintained by ChillerDragon.

Based on DDNet ( cmake version ) which is maintained by deen and contributors

which is based on DDrace which is a teeworlds mod.

# non interactive client (can fix input bugs on unsupportet os)
./chillerbot-ng "cl_chiller_inp 0"

Penetration testing

This client is able to test the stability of servers by acting as a active player. Create a file called pentest.txt in the same directory as the client or set a own path cl_pentest_file mypentest.txt. If the client is in pentest mode it will send random lines from the file and replace all ? with a random character.

A sample pentest.txt might look like this:

testing chat!
/register foo bar baz
/login ??? ???

The client sends a chat message every x seconds which has a 50% chance to be one provided in pentest.txt otherwise it is a parsed command from cmdlist with a random argument.

# start pentest client and connect to localhost
./chillerbot-ng "cl_chiller_inp 0;connect localhost:8303;cl_pentest 1"

Penetration testing can also be automated. Only on linux tho. Dependencys are nohup,bash and vi. Use the ./start_pentest.sh and ./stop_pentest.sh script to automatically start a bunch of bots and attack a specified port (defualt 8303).

Examples:

# start 5 pentest bots and attack default port 8303
# using the default chatfile pentest.txt
./start_pentest.sh 5

# start 22 pentest bots on port 8306
# using a custom chatfile foo.txt
./start_pentest.sh 22 8306 foo.txt

# stop all started pentest bots on all ports
./stop_pentest.sh

Interactive mode keybindings

  • 'A' walk left
  • 'D' walk right
  • 'SPACE' jump
  • 'K' selfkill
  • 'L' load server browser (only loading)
  • 'B' show server browser
  • 'TAB' scoreboard
  • 'X' say 'xd' in chat
  • 'V' toggle ascii map rendering
  • 'T' open chat
  • 'C' local console
  • 'R' remote console
  • ':' open chiller console (:help) for more info

sample video

Build

Linux / MacOS:

git clone --recursive https://github.com/chillerbot/chillerbot-ng
cd chillerbot-ng
mkdir build
cd build
cmake ..
make

Windows:

git clone --recursive https://github.com/chillerbot/chillerbot-ng
cd chillerbot-ng
mkdir build
cd build
cmake ..
cmake --build .

for more information and dependencys on building visit: https://github.com/ddnet/ddnet/blob/master/README.md

chillerbot-ng's People

Contributors

axblk avatar bors[bot] avatar btd avatar chillerdragon avatar cinaera avatar datag avatar def- avatar east avatar edg-l avatar fokkonaut avatar h-m-h avatar heinrich5991 avatar joeldevahl avatar jupeyy avatar larsfu avatar learath2 avatar necropotame avatar nzyuzin avatar oy avatar phobos99 avatar ravomavain avatar savander avatar serpis avatar shereef avatar sushitee avatar teetow avatar trml avatar xalduin avatar xpapla avatar zombietoad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

o-be-one mojish

chillerbot-ng's Issues

Build on windows

image

like we see its not working cause an dll not found, if i upload the dll happends that:

image

Improve pentest

Use a file read for penetration chat messages instead of hardcoding it.

Remove libucrl

libcurl.dll not found on windows ._.
when started from gui

*** %n in writable segment detected ***

Randomly popped out in my terminal after executing pentest start script:

$ ./start_pentest.sh 4
starting bots on port: 8303
use ./stop_pentest.sh to stop them
....
finished starting 4 pentest bots.
$ code src/
$ *** %n in writable segment detected ***

pretty sure it is caused by this bot. And not by code src/ command or anything else i did to this machine.

Remove libglew

Form circleci

/root/chillerbot-ng: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.