egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sending the bot's .confs - netbots

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
toefraz
Halfop


Joined: 01 Jul 2004
Posts: 44

PostPosted: Sun Jan 09, 2005 11:21 pm    Post subject: sending the bot's .confs - netbots Reply with quote

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
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Mon Jan 10, 2005 1:28 am    Post subject: Reply with quote

read the documentation 1st, so you have a clue. Copy each leaf bot's conf file into your hub's main directory, then go read all about how netupdate works Mr. Green
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
toefraz
Halfop


Joined: 01 Jul 2004
Posts: 44

PostPosted: Mon Jan 10, 2005 1:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jan 10, 2005 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
toefraz
Halfop


Joined: 01 Jul 2004
Posts: 44

PostPosted: Mon Jan 10, 2005 9:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jan 10, 2005 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
toefraz
Halfop


Joined: 01 Jul 2004
Posts: 44

PostPosted: Mon Jan 10, 2005 5:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Mon Jan 10, 2005 6:00 pm    Post subject: Reply with quote

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 Wink
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jan 10, 2005 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
toefraz
Halfop


Joined: 01 Jul 2004
Posts: 44

PostPosted: Tue Jan 11, 2005 1:49 am    Post subject: Reply with quote

Thank you. Sorry for my stupidity
_________________
When the going gets tough...Make lemonade!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber