botnet.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           botnet.h  -  description
00003                              -------------------
00004     begin                : Thu Dec 9 2004
00005     copyright            : (C) 2004 by VooDooMan
00006     email                : vdmfun@hotmail.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010 
00011 VooDoo cIRCle - an IRC (ro)bot
00012 Copyright (C) 2004 by Marian VooDooMan Meravy (vdmfun@hotmail.com)
00013 
00014 This program is free software; you can redistribute it and/or
00015 modify it under the terms of the GNU General Public License
00016 as published by the Free Software Foundation; either version 2
00017 of the License, or (at your option) any later version.
00018 
00019 This program is distributed in the hope that it will be useful,
00020 but WITHOUT ANY WARRANTY; without even the implied warranty of
00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022 GNU General Public License for more details.
00023 
00024 You should have received a copy of the GNU General Public License
00025 along with this program; if not, write to the Free Software
00026 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00027 
00028 ****************************************************************************/
00029 
00030 /*!
00031     \file
00032     \brief Provides communication between bots linked into botnet
00033 */
00034 
00035 //---------------------------------------------------------------------------
00036 
00037 #ifndef botnetH
00038 #define botnetH
00039 
00040 #include <string>
00041 #include <map>
00042 
00043 #include "ssl.h"
00044 
00045 using namespace std;
00046 
00047 //---------------------------------------------------------------------------
00048 
00049 void botnet_link(string botname, string localip, string botip, unsigned short botport, string remote_MD5_password, string bot_link_type, string unlink_proc, map<string,string> vars);
00050 
00051 void botnet_loop();
00052 
00053 void botnet_received_data_from_telnet(s_socket& socket,string botname, char* buff, size_t buff_size, SSL* ssl, string remote_ip);
00054 
00055 void botnet_partyline_message(string user, string channel, string msg);
00056 void botnet_partyline_leave_channel(string user, string channel);
00057 string botnet_partyline_join_channel(string user, string channel);
00058 
00059 string botnet_remote_procedure_call(string botname, string proc_name_only, list<string>& args);
00060 
00061 string botnet_showbots(string lang, string eol);
00062 
00063 void botnet_admin_msg(string user_mask, string bot_mask, string msg);
00064 
00065 #endif
00066 
00067 

Generated on Sun Jul 10 03:22:47 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo