• Welcome to Valhalla Legends Archive.
 

Creating a Channel Crawler Bot

Started by Ecelectic, March 15, 2004, 07:46 PM

Previous topic - Next topic

Fr0z3N

I think Sphts idea is smart.

Newby

Quote from: Fr0z3N on March 30, 2004, 11:30 PM
I think Sphts idea is smart.
I concur.

Make it like those illegal scanners, except join the channel

Then get the statstring for each war3 player, if they have a clan, get the clan, add the clan to a text document.
- Newby

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote<TehUser> Man, I can't get Xorg to work properly.  This sucks.
<torque> you should probably kill yourself
<TehUser> I think I will.  Thanks, torque.

Eli_1

#32
Quote from: Adron on March 16, 2004, 11:14 AM
Quote from: Eli_1 on March 15, 2004, 09:53 PM
In other words a brute force approach on finding all possible channels. Doing it this way could take days, and would most def. be inaccurate by the time it finished... a better, yet still slow way, would be to have a pre-defined list of known channels that usually always have people in them...

It wouldn't take days. Doing it this way would take years and eons. It seems probable that you wouldn't be done before the sun runs out.

I was bored in chemistry yesterday, and I decided to try to figure out how much time it would take. I threw away my notes on it so I'll just try to type my results by memory :P.

Variables:
The idle time was equaled to 4 seconds in this
The max amount of characters in a channel was 31
The test uses all 255 chars, so it could be cut down to take less time if you took out using capital letters.


I might have done this wrong, but this is how I did it:
255^2 * 31 = combos
combos * 4 = amount of time in seconds
then divide to get the amount of months...

If nothing changes, and nothing goes wrong, it would take ~3.1 months to do this with 1 bot doing all the work.

So this idea isn't really that far-fetched if you have say, 10 CDKeys and split the dictionary (which will be frickin huge, btw) into 10 different sections. Also, the idle time could be made smaller, and so could the dictionary considering no one in their right mind uses all 31 chars. for a channel (I think 15-20 would find almost all channels)

iago

I'm afraid your math is quite wrong.  It would actually be
255 ^ 31 = 4.0063196158689474245553792846195e+74 combinations.  

Assuming your 4 seconds / combination, it would take 1.6025278463475789698221517138478e+75 seconds.  

Which is 2.6708797439126316163702528564117e+73 minutes

Which is 4.4514662398543860272837547606861e+71 hours

Which is 1.8547775999393275113682311502859e+70 days

Which is ~5.0781043119488775123017964415767e+67 years.

Now, the universe is, rounding up, 20 billion years old.  Let's see the universe is going to last a total of 200 billion years, which is a pretty high estimate.  If that's true, it will take
2.5390521559744387561508982207883e+56 times the age of the universe to complete.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Eli_1

#34
omg wow :o! Thanks for correcting me, I was all getting ready to make one  :P.

|