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.

Weird netbots misconfigurations?

Old posts that have not been replied to for several years.
Locked
T
Techdude

Weird netbots misconfigurations?

Post by Techdude »

I recently noticed im not seeing messages/msg commands being run on other bots besides the one im on....heres my netset....

## WorldIRCNet EggNet netbots.tcl settings file ##
## Do NOT edit! For bot specific settings email techdude@worldircnet.com with the settings you want! ##

# netbots.tcl settings
set nb_flag N
set nb_key "8fhrmcv7"

set nb_group(techdude) "LoLBot,Lamer,Gazon,DevNull,Tuin,Dr_Pepper,Maybe,Yes,Tokes,Grass,Sterretje,Maantje,w00h00,Zonnetje,w00t,Stinky,BlaatBot,Milk,TechBot,Void,Xero,Mountain,Planeetje"
set nb_group(kyprchu) "Kyprbot"
set nb_group(jossasaur) "JossaBot"
set nb_group(dokujin) "DokuBot"
set nb_group(tje) "Sterretje,Zonnetje,Maantje,Planeetje"
set nb_group(blaat) "m34gt34gerghcv7"
set nb_group(hubs) "Lamer"
set nb_group(techupdate) "$nb_group(kyprchu),$nb_group(techdude),$nb_group(jossasaur),$nb_group(dokujin)"
set nb_ctrlbots(Lamer) "*"
set nb_ctrlbots(*) "netserv netsay netnick netchanset netcontrol netpass netact netjump netinfo netsave netnotice netjoin netshell nethash netpart netmass"

set nb_defctrl "blaat"
set nb_owner 0
set nb_max 4
set nb_timeout 60
set nb_netupdate 2
set nb_nettcl 0
set nb_update ""
nb_set Lamer nb_update "Techdude"
set nb_chon 1
set nb_broadcast "nm"
set nb_cmdcast 1
set nb_castfilter "addhost ident .chpass .newpass .note pass note notes .notes die restart rehash info op voice reset status jump key save invite memory auth"

set nb_servers {
irc.worldircnet.com
}

if {$network != "NOIRC"} {
# aidle.tcl settings
set nb_component(aidle) 1
set ai_msgbots 1
set ai_chans ""
set ai_time 360
set ai_uidle 0
set ai_msgs {
"*yawn*"
"hello"
"roflmao"
"gna gna gna"
"lo"
"blaaat"
"i love Jossasaur"
"weeeeeeeeeeeeeee"
"w00t"
"loooool"
"hahahaha"
"hehe"
}

# mass.tcl settings
set nb_component(mass) 1
set ma_reason "Mass kick"

# botnetop.mod settings
loadmodule botnetop
set bop_delay 0
set bop_maxreq 0
set bop_modeop 1
set bop_linkop 1
set bop_icheck 0
set bop_hcheck 1
set bop_osync 1
set bop_addhost 0
set bop_log 2

# chanlimit.tcl settings
set nb_component(chanlimit) 1
set cl_priority ""
set cl_chans ""
set cl_echans "#gamekypr"
set cl_limit 10
set cl_grace 2
set cl_timer 10
set cl_server 1
set cl_log 1
}

# autoaway.tcl settings
set nb_component(autoaway) 1
set party_auto_away(time) 8
set party_auto_away(msg) "Auto-away after $party_auto_away(time) minutes"
set party_auto_away(active) 1

# extras.tcl settings
set nb_component(extras) 1
set ex_cleanup 1
set ex_clearbans 1
set ex_newuser "Techdude"
set ex_opall 1

# rebindem.tcl settings
# (just rebinds uptime so everyone can be nosey and use it)
set nb_component(rebindem) 1

# logfile.tcl settings
set nb_component(logfile) 1
if {$botnick == "Lamer"} {
set lg_email "techdude@worldircnet.com"
set lg_maillog "logs/eggnet.log.yesterday"
} elseif {$botnick == "Bubba"} {
set lg_email "techdude@worldircnet.com"
set lg_maillog "logs/techdude.log.yesterday"
} else {
set lg_email ""
set lg_maillog ""
}
set lg_maxsize 8000

# These lines make sure your bot and netbots directories are secure by
# setting their permissions to rwx------.
catch {exec chmod 700 [pwd]}
catch {exec chmod 700 $nb_dir}
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

From your netset.tcl I assume at least some of the other bots are controlled by other people who may be able to edit the script and stop commands being broadcast. Do you have full access (including to the shell) to at least two bots? If so, we'll concentrate on those, calling them bot A and B.

First, make sure they're both running the default unedited netbots.tcl, and the netset.tcl you pasted.

Login to bot A. Make sure you have all your console modes set (e.g. .console +mcobxs). Then login to bot B. Did the message "[bot B]: Techdude has logged in." appear on bot A? That will indicate whether ordinary broadcasts are working. It would also be handy to try the reverse (log in to bot B first, then see if any broadcast message appears on it when you login to bot A).

If that doesn't work, then something is wrong with all broadcasts. If it does work, we can move on to cmdcast. Login to both bots, try a command on bot A and see if it appears on bot B. Then do the reverse. Let me know what happens in both cases.
T
Techdude

Post by Techdude »

Yes, i have full access to atleast two bots. The login bit works fine, on both bots. The cmdcast is also working fine.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Then is there still a issue here.

I know this sounds like a silly post, but your reply, seemed as if, you where giing ansers, unrelated to the original post.

Is what you say is working, related to what asked originaly?
T
Techdude

Post by Techdude »

Yes it is related to what was asked originally.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Then, you have solved the problem?
T
Techdude

Post by Techdude »

No, im still not seeing msgs//msg commands over the botnet.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Netbots does not do this.

You will only see massages from bots doing anti-idle messages, to the bot you are on (if your console flags are correct).
T
Techdude

Post by Techdude »

You sure? I've seen stuff like this on other botnets....
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I am more than sure.

here is some output from a search
[ppslim@excilsic1 netbots] $ grep -r "bind msg" ./*
./sentinel.tcl:bind msgm - * sl_bmflood
./sentinel.tcl: unbind msgm - * sl_bmflood

[ppslim@excilsic1 netbots] $ grep -r "bind raw" ./*
./botnetop.tcl:bind raw - 352 bop_who
./netbots.tcl:catch {bind raw - 001 nb_svconnect}
./netbots.tcl:catch {bind raw - 465 nb_svkline}
./nocycle.tcl:bind raw - NOTICE cy_check
./nocycle.tcl:bind raw - 001 cy_on
./repeat.tcl:bind raw - NOTICE rp_pubnotc
./sentinel.tcl: bind raw - 001 sl_bxserverjoin
./sentinel.tcl:bind raw - NOTICE sl_avflood
./sentinel.tcl:bind raw - PRIVMSG sl_avflood
./sentinel.tcl: unbind raw - NOTICE sl_avflood
./sentinel.tcl: unbind raw - PRIVMSG sl_avflood
The bold binds are the only types that could do this, none of which, do this function.
T
Techdude

Post by Techdude »

Hmm, ok
Locked