mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
merged .c files, fixed dcc/telnet clients lost on reset, rewrote reset some
This commit is contained in:
@@ -1354,8 +1354,13 @@ void parse_botnet(BotNet *bn, char *rest)
|
||||
#ifdef TELNET
|
||||
if (bn->status == BN_UNKNOWN)
|
||||
{
|
||||
if (!stringcmp(rest,telnetprompt)) // another bot sent me its telnetprompt
|
||||
if (rest[0] == 'B' && rest[1] == 'B' && (attrtab[(uchar)rest[2]] & NUM))
|
||||
{
|
||||
basicBanner(bn,rest+2);
|
||||
return;
|
||||
}
|
||||
//if (!stringcmp(rest,telnetprompt)) // another bot sent me its telnetprompt // dont assume identical prompts
|
||||
// return;
|
||||
#ifdef NETCFG
|
||||
if (strncmp(rest,"netcfg ",7) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user