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 problem when linking the bots!

Old posts that have not been replied to for several years.
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

weird problem when linking the bots!

Post by Escolar »

Hi guys great site/forum... :D
ok my problem is a little weird, atleast I think it is cuz I havent seen nothing like it on the forum question..
I've been trying to link botnet using egghelp.org's tips of the enhancing page but I ran into a weird problem.. bots wont connect nor will they give me a reason/error to why they dont! I've read alot about this (eggdrop docs in the documentation folder included).
U guys turned out to be my only hope now :)
thank you in advance! :D
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Linking bots is extremely easy, and the "Enhance Your Eggdrop" link covers it pretty well...have you looked in your ~/doc directory and read the document titled "BOTNET"? It supplies very well written examples of botnet linking and sharing as well.
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

YooHoo wrote:Linking bots is extremely easy, and the "Enhance Your Eggdrop" link covers it pretty well...have you looked in your ~/doc directory and read the document titled "BOTNET"? It supplies very well written examples of botnet linking and sharing as well.
yes I know that I have readed it and also used the enhance ur eggdrop link, apearently it all works pretty well I have done the linking on ohter shells with no problems, with this one after I install the eggdrops make all the necessary changes etc etc the bots just dont link, they dont comunicate at all with each other..
Could it be a shell problem? maybe dsn problem?
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

it seems highly unlikely that it is a shell problem, since you have both bots already on IRC. Here's a silly question... Is your hub .botattr +h? Do they see each other in the channel via .channel #yourchannel? Have you added each bot to the other's userfile in the format .+bot YourBot IP_ADDRESS:PORT #? When you do .whois YourBot, what do they say about one another? :mrgreen:
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

YooHoo wrote:it seems highly unlikely that it is a shell problem, since you have both bots already on IRC. Here's a silly question... Is your hub .botattr +h? Do they see each other in the channel via .channel #yourchannel? Have you added each bot to the other's userfile in the format .+bot YourBot IP_ADDRESS:PORT #? When you do .whois YourBot, what do they say about one another? :mrgreen:
yes mate I have done all that lol.. let me paste u the whois stuff.. :)
And they do see eachother in the channel with teh command..
Now the whois:
on the leaf..
.whois TheGuru
Portugal04> HANDLE PASS NOTES FLAGS LAST
Portugal04> TheGuru no 0 b 05:37 (#mediaplace-eggies)
Portugal04> BOT FLAGS: hp
Portugal04> ADDRESS: you-are-being-owned.by.xtremesp.org
Portugal04> users: 1035, bots: 1035
Portugal04> HOSTS: *!mickeymal@you-are-being-owned.by.xtremesp.org

on the hub..

TheGuru04> HANDLE PASS NOTES FLAGS LAST
TheGuru04> Portugal no 0 b 04:50 (#mediaplace-eggies)
TheGuru04> BOT FLAGS: gs
TheGuru04> HOSTS: *!mickeymal@

hope u guys can help me with this info :\
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

ADDRESS: you-are-being-owned.by.xtremesp.org
The following may, or may not help:

Code: Select all

.chaddr TheGuru 66.98.247.122:1035
Also add *!mickeymal@66.98.247.122 to host in case the bot connects showing an IP, that way it's still recognised.

Using IP's in ADDRESS is good practice. You'll need to adjust for all bots in your botnet.

TheGuru has no information for user Portugal ie: address, listening port, host. Also set global flags for each in the botnet to +fo.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

Alchera wrote:
ADDRESS: you-are-being-owned.by.xtremesp.org
The following may, or may not help:

Code: Select all

.chaddr TheGuru 66.98.247.122:1035
Also add *!mickeymal@66.98.247.122 to host in case the bot connects showing an IP, that way it's still recognised.

Using IP's in ADDRESS is good practice. You'll need to adjust for all bots in your botnet.

TheGuru has no information for user Portugal ie: address, listening port, host. Also set global flags for each in the botnet to +fo.
ty I shall try it now ;)
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

well mate I tried and retried :( well I got an improvement I think I can call it that.. look:
1:59am] <04[mickey]> .link Portugal
[1:59am] 04<TheGuru04> *** [TheGuru] Couldn't link to Portugal.

it can be called an advance since I wouldnt get no msg.. atleast I like to call it an advance ;) keeps me going ;)
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Escolar wrote:Now the whois:
on the leaf..
.whois TheGuru
Portugal04> HANDLE PASS NOTES FLAGS LAST
Portugal04> TheGuru no 0 b 05:37 (#mediaplace-eggies)
Portugal04> BOT FLAGS: hp
Portugal04> ADDRESS: you-are-being-owned.by.xtremesp.org
Portugal04> users: 1035, bots: 1035
Portugal04> HOSTS: *!mickeymal@you-are-being-owned.by.xtremesp.org

on the hub..

TheGuru04> HANDLE PASS NOTES FLAGS LAST
TheGuru04> Portugal no 0 b 04:50 (#mediaplace-eggies)
TheGuru04> BOT FLAGS: gs
TheGuru04> HOSTS: *!mickeymal@

hope u guys can help me with this info :\
They will never link if left this way. You need to add your leaf bot's complete address and port for there to be any possibility of linkage. They haven't negotiated a password between themselves for this same reason. This hostmask, *!mickeymal@*, is not suitable, for the very least, you should have it's domain included. As it has already been pointed out to you, the correct syntax for correctly adding a bot to your botnet is as follows:
.+bot Portugal 123.456.78.9:22222 - (+bot [botnick] [IPaddress:port] )
I will also suggest that you raise your port from 1035 to a random number between 10000 and 65000...some shell providers won't allow such a low port number.[/b]
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

thx guys I tried all ur advices and nothin :( this is just sopoo weird.. :S
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Setting up a botnet is not difficult. In fact it couldn't be any easier if it tried. :)

For a start, in each bots' configuration file look for the following:
# If you would like the bot to listen for users and bots in separate ports,
# use the following format:
#
# listen 3333 bots
# listen 4444 users
#
# If you wish to use only one port, use this format:
#
# listen 3333 all
#
In TheGuru file uncomment 'listen 3333 all' and change to something more appropriate. Something like this >> listen 4033 all

In Portugal do the same except change to 4043 (obviously .rehash each bot once files are uploaded). It is good practice to keep ports at least 10 apart.

You then need to open a DCC Chat to each bot to do the following:

In TheGuru:

Code: Select all

.+bot Portugal [IP_ADDRESS]:4043
.chattr Portugual +fo
.+host Portugal *!mickeymal@[IP_ADDRESS]
In Portugal:

Code: Select all

.+bot TheGuru [IP_ADDRESS]:4033
.chattr TheGuru +fo
.+host TheGuru *!mickeymal@[IP_ADDRESS]
.botattr TheGuru +h
Having both bots in the same channel has each pick up the others hostmask. Replace [IP_ADDRESS] with their respective IP's. This can be done using /dns nick on IRC.

If done correctly, Portugal will automatically link to TheGuru. This will happen after a few seconds, you do not need to use the .link command.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

thx again mate.. :) well I had done all of that b4 but since I had nothing to lose and could have missed a set I did it again following ur instruction and double checking.. bellow I will post the results hoping it will help u guys to help me..

In TheGuru:

<04[mickey]> .+bot Portugal 66.98.246.238:15335
TheGuru04> Added bot 'Portugal' with address '66.98.246.238:15335' and no hostmask''.
<TheGuru04> (Added hostmask for Portugal from #mediaplace-eggies)
<04[mickey]> .chattr Portugual +fo
<TheGuru04> No such user!
<04[mickey]> .chattr Portugal +fo
<TheGuru04> Global flags for Portugal are now +bfo.
<04[mickey]> .+host Portugal *!mediaplac@66.98.246.238
<TheGuru04> Added '*!mediaplac@66.98.246.238' to Portugal.


In Portugal:
<04[mickey]> .+bot TheGuru 66.98.247.122:10335
<Portugal04> Added bot 'TheGuru' with address '66.98.247.122:10335' and no hostmask''.
<Portugal04> (Added hostmask for TheGuru from #mediaplace-eggies)
<04[mickey]> .chattr TheGuru +fo
Portugal04> Global flags for TheGuru are now +bfo.
<04[mickey]> .+host TheGuru *!mediaplac@66.98.247.122
[1:44am] 04<Portugal04> Added '*!mediaplac@66.98.247.122' to TheGuru.
<04[mickey]> .botattr TheGuru +h
<Portugal04> Bot flags for TheGuru are now +h.

on both bots then...

[1:45am] <04[mickey]> .bots
[1:45am] 04<TheGuru04> No bots linked.
[1:56am] <04[mickey]> .dcc
[1:56am] 04<TheGuru04> SOCK ADDR PORT NICK HOST TYPE
[1:56am] 04<TheGuru04> ---- -------- ----- --------- ----------------- ----
[1:56am] 04<TheGuru04> 3 00000000 0 (dns) dns (ready)
[1:56am] 04<TheGuru04> 5 D0F71102 6667 (server) irc.easynews.com serv (lag: 0)
[1:56am] 04<TheGuru04> 7 51C139B0 1024 [mickey] s.at.xtremesp.org chat flags: cPtEp/0

[1:55am] <04[mickey]> .bots
[1:55am] 04<Portugal04> No bots linked.
[1:56am] <04[mickey]> .dcc
[1:56am] 04<Portugal04> SOCK ADDR PORT NICK HOST TYPE
[1:56am] 04<Portugal04> ---- -------- ----- --------- ----------------- ----
[1:56am] 04<Portugal04> 3 00000000 0 (dns) dns (ready)
[1:56am] 04<Portugal04> 5 C1A3DC03 6667 (server) irc.inet.tele.dk serv (lag: 0)
[1:56am] 04<Portugal04> 7 51C139B0 1027 [mickey] s.at.xtremesp.org chat flags: cPtEp/0

:( I am thinking it mught be some problem with the shell? is that a possibility?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

It looks like you have them both setup properly :)

I suggest you lower the ports. Try the ones I suggested as nearly all shells allow the range 3333 - 5000
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

Alchera wrote:It looks like you have them both setup properly :)

I suggest you lower the ports. Try the ones I suggested as nearly all shells allow the range 3333 - 5000
ok I will try that too mate when I get home today.. ty :)
E
Escolar
Voice
Posts: 10
Joined: Thu Sep 02, 2004 2:13 pm

Post by Escolar »

I tried high ports and lower ports.. :( nothin..
getting desperato speacially when I rang the provider and the reply was "hummm give me a minute" few secs after "oh.. welll, what's an eggdrop?"

damn.. talk about bad luck..
Locked