| View previous topic :: View next topic |
| Author |
Message |
toefraz Halfop

Joined: 01 Jul 2004 Posts: 44
|
Posted: Sun Jan 09, 2005 11:21 pm Post subject: sending the bot's .confs - netbots |
|
|
Can someone help me setup the portion of netbots that deals with the sending of config files to the bots on the botnet? I have 3 bots, Toebot(hub), Eldyrsbot(client), and Qban(client).
I want to have Eldyrsbot.conf and Qban.conf on Toebot's shell, and have Toebot send the .confs to each bot respectively. But i'm not sure if they will create a new file called Eldyrsbot.conf... or just overwrite the eggdrop.conf.
All the bots are currently using eggdrop.conf on their separate machines. _________________ When the going gets tough...Make lemonade!!! |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
|
| Back to top |
|
 |
toefraz Halfop

Joined: 01 Jul 2004 Posts: 44
|
Posted: Mon Jan 10, 2005 1:47 am Post subject: |
|
|
It didn't help me much, as I have already read that section several times to try and understand how netupdate transfers the .conf files. ok, say all bots are currently using eggdrop.conf, and that all the .confs are different. When I use the '.netupdate -conf Bot' command, will I still be able to use eggdrop.conf on the bots, or will I have to start using Bot.conf? _________________ When the going gets tough...Make lemonade!!! |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Jan 10, 2005 8:26 am Post subject: |
|
|
I'd suggest naming each conf differently to reflect which bot they are i.e natale.conf (the bots nick being Natale) &c and then from the hub bot you can safely update: .netupdate -file natale.conf Natale.
Note that the files have to reside in your hub's main folder (unless you specify a location). _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
toefraz Halfop

Joined: 01 Jul 2004 Posts: 44
|
Posted: Mon Jan 10, 2005 9:17 am Post subject: |
|
|
OK, say I have 3 bots, Toebot, Eldyrsbot, and Qban. Toebot is the hub. So I would put Eldyrsbot.conf and Qban.conf in Toebot's main directory? And when I do .netupdate -config on Toebot, it will send Eldyrsbot.conf and Qban.conf to the respective bots. Right? But will it rename them to be eggdrop.conf on the Clients, or will I have to start using Eldyrsbot.conf on the Eldyrsbot to start eggdrop; and Qban.conf on Qban to eggdrop? _________________ When the going gets tough...Make lemonade!!! |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Jan 10, 2005 10:56 am Post subject: |
|
|
No, it will not rename them just copy to their respective bot dir. You do not have access to their seperate machines? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
toefraz Halfop

Joined: 01 Jul 2004 Posts: 44
|
Posted: Mon Jan 10, 2005 5:49 pm Post subject: |
|
|
I do not. So after I use .netupdate -config to send the bots their .confs, i would need to start using './eggdrop Bot.conf' instead of './eggdrop eggdrop.conf'? _________________ When the going gets tough...Make lemonade!!! |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Mon Jan 10, 2005 6:00 pm Post subject: |
|
|
| toefraz wrote: | | OK, say I have 3 bots, Toebot, Eldyrsbot, and Qban. Toebot is the hub. So I would put Eldyrsbot.conf and Qban.conf in Toebot's main directory? And when I do .netupdate -config on Toebot, it will send Eldyrsbot.conf and Qban.conf to the respective bots. Right? |
Correct. slennox explains this in the documentation. 3 bots, toebot being the hub, eldyrsbot and qban are leaf bots. Put a copy of eldyersbot.conf and qban.conf into Toebot's main directory, so there should be 3 conf files in Toebot's main directory. Make all changes to your bot's conf files here, not in thier respective shells. Now when you type .netupdate -config, your leaves will update thier conf files with the copy that you have uploaded to Toebot's main directory. | slennox wrote: | | You can choose any filename you want for the netbots.tcl components, config files, motd file(s), and telnet-banner file(s). You just need to make sure the files needed by each leaf bot are present on the hub bot's shell with the same filename and location.....Use the .netupdate [option] [bot] command on the hub bot. Valid options include -config, -motd, -banner, -settings and -scripts. If no option is specified, a combined settings/scripts update will be performed. If a bot is specified, the specified bot is updated, otherwise all bots are updated. Examples: netupdate -scripts will transfer the netbots.tcl script and components to all bots, netupdate -config Mallard will transfer the config file requested by Mallard. | Hope this is more helpful  _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Jan 10, 2005 6:39 pm Post subject: |
|
|
Using netupdate will not rename anything, just send the file you wish sent to the bot you select. If the file being sent exists already it will be overwritten with the new one requiring a .rehash of each bot.
| toefraz wrote: | | ... will I still be able to use eggdrop.conf on the bots, or will I have to start using Bot.conf? |
Assuming you are using eggdrop.conf (instead of botnick.conf) for each (with your different settings) you'd have to upload one at a time and then use netupdate (making sure that you replace the hub bots conf when finished).
Hopefully I got it right this time. LOL _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
toefraz Halfop

Joined: 01 Jul 2004 Posts: 44
|
Posted: Tue Jan 11, 2005 1:49 am Post subject: |
|
|
Thank you. Sorry for my stupidity _________________ When the going gets tough...Make lemonade!!! |
|
| Back to top |
|
 |
|