This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Sending Commands via botnet to other bots

Old posts that have not been replied to for several years.
Locked
P
ProXy
Op
Posts: 126
Joined: Sun Aug 11, 2002 3:09 pm

Sending Commands via botnet to other bots

Post by ProXy »

Hi there.

I want to forward a string to all other linked bots in the botnet. How can I forward this string to all other bots? I only found the method to forward a string to one specific eggdrop.

For example the string ".said abc" should be forwarded via botnet to all other eggdrops!

TY
ProXy
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This realy depends how you want to handle it.

You can use DCCBROADCASTS. I am sure there is a command for this, and there is a bind that can capture it.

Otherwise, you can create your own botnet script, using the putallbots Tcl command, and a BOT bind.

EDIT
I failed to mention. Using ".help *" will give you every DCC command there is. I think they are based on module, or based on flags needed. However, the commands should be self evident.
Last edited by ppslim on Mon Jan 06, 2003 1:08 pm, edited 1 time in total.
P
Photon
Op
Posts: 170
Joined: Wed Aug 28, 2002 8:00 am
Location: Liverpool, England

Post by Photon »

You can do botnet communication bia the following...

Code: Select all

putallbots "[netmessage Message goes here]"
which can then be intercepted by

Code: Select all

bind bot - "netmessage" NetMessageHandler 
proc NetMessageHandler {from command rest} { 

  (rest contains message)
  blah blah blah 
} 
Or you can use Putbot <bot> to send to just one bot. Was this what you wanted?
P
Photon
Op
Posts: 170
Joined: Wed Aug 28, 2002 8:00 am
Location: Liverpool, England

Post by Photon »

It would seem we are in sync again ... although you are one minute fast.

DOH... :cry:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

As usual :P
Locked