When I do .netbots It shows all the bots, but also shows most are either offline or not linked. And thier both. Im no expert, but Im stumped.
Any thoughts?
It's certainly not a bug, you probably haven't set up netbots properly. Realize .bots and .netbots are two completely different commands. Netbots has always worked flawlessly for me. You probably haven't linked/hubbed/leafed your bots yet so of course, netbots can't work. They cant communicate until you set up a bot entry with hostmask/bot port/address/etc for them all..zaxxon202 wrote:When I do .netbots It shows all the bots, but also shows most are either offline or not linked. And thier both. Im no expert, but Im stumped.
Any thoughts?
Repeat this process without omitting any steps at all, and you should find netbots works perfectly.http://www.egghelp.org/netbots/doc_netbots.htm wrote:SETUP
NOTE: netbots.tcl is not a bot linking and sharing tool. Your botnet should already be linked (and sharing if desired) before you set up netbots.tcl.
1) netbots.tcl is split into several files - netset.tcl contains the script settings and netbots.tcl contains the code. Additional component scripts (e.g. aidle.tcl, botnetop.tcl, etc.) are also included. To setup the netbots.tcl script, netset.tcl is the only file you'll need to edit.
2) To get netbots.tcl up and running, you only need to change two settings in the netset.tcl file. You can deal with the rest of the settings later if you wish. Near the top of the file, you'll see the lines set nb_key "changethis" and set nb_flag N. Change nb_key to a short, random set of alpha-numeric characters, e.g. "e9g4bMu". The nb_flag setting is explained in the components documentation.
3) In each bot's directory, create a new directory named netbots. Copy the netset.tcl, netbots.tcl, and additional component scripts (e.g. aidle.tcl, botnetop.tcl, etc.) to this new directory. The netbots.tcl script, settings file, and any component scripts you wish to use must be placed in this directory for the script to work properly.
4) At the end of each bot's config file, add the line source netbots/netbots.tcl.
5) Rehash each bot on the botnet (note that if you have any of my old standalone scripts installed, you should probably restart each bot instead of just rehashing). The basic netbots component with the default settings will be loaded on each bot.
6) If you have nb_flag set to a custom netbot flag (i.e. "N" or another upper-case alphabet letter), you will need to setup the netbot flags on your bots. On the hub bot, type .netbots add <leaf> for each leaf bot. On each leaf bot, type .netbots add <hub>. You can also specify a list of bots to add when using the command, e.g. .netbots add NiceBot,CuteBot,FatBot instead of using the command multiple times to add several bots. Note that this command does not make a special netbot list anywhere - it simply gives the specified bots the netbot flag.
Tip: On any netbot, you can type .netbots to see which bots on the botnet are currently recognised as other netbots.
7) Type .netinfo on a few of the bots (on control bots only if you've specified them in the nb_ctrlbots setting). If all the other netbots reply, the script is working. If some netbots don't reply (or if none of them do), you probably haven't set up the netbot flags completely on that particular bot, and should read step 6 again. If you get a "What? You need '.help'", the script is not loaded and you need to go back to step 1.