Link mIRC bot to EggDrop botnet

By Spoofing on Jun 06, 2010

Wanna link to eggdrop botnet? It very easy.

1) create new bot account in your eggdrop bot
2) see script

; connect to hub
on *:START: {
  sockopen botnet eggdrop.bot 9011

  ; no password is needed when first connecting
  sockmark botnet <handle> [password]
}

; sends handle
on *:SOCKOPEN:botnet: {
  if ($sockerr) return
  sockwrite -n $sockname $gettok($sock($sockname).mark,1,32)
}

on *:SOCKREAD:botnet.*: {
  var % [ $+ [ $sockname ] ]
  sockread % [ $+ [ $sockname ] ]
  tokenize 32 % [ $+ [ $sockname ] ]
  echo -s Botnet ->: $1-

  ; if it first connect, you give password in 'Handshake'
  if ($1 == passreq) botnet $sockname $gettok($sock($sockname).mark,2,32)

  elseif ($1 == *hello!) botnet $sockname version 1061901 32 eggdrop 1.6.19 $+(<,$network,>)
  elseif ($1 == pi) botnet $sockname po
}

; sends commands to botnet
alias botnet {
  sockwrite -n $1-
  echo -s $gettok($1,2-,46) <-: $2-
}

Comments

Sign in to comment.
srpeanut   -  Jul 13, 2010

Ok, do I need to be running an eggdrop on my bot server?

 Respond  
Spoofing   -  Jun 07, 2010
Kent   -  Jun 07, 2010

screenshots? :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.