From wwwwolf@iki.fi Fri Jul 23 16:11:08 1999 Path: news.eunet.fi!wwwwolf Message-Id: From: wwwwolf@iki.fi (Weyfour WWWWolf (Urpo Lankinen)) Newsgroups: rec.games.roguelike.nethack Subject: [RGRNCA] Re: ~ Warez Date: Thu, 22 Jul 1999 14:16:18 GMT References: <7n5tmf$jrs$1@hiline.shinbiro.com> Lines: 111 Organization: Eccentric Pride - They call you crazy. SO WHAT? X-FurryCode: FCWm3adm A+C-DH+M+PR+T++W-ZSm RLU a19cl+++d-ef++h*i++p-sm X-YiffCode: Yiff1.0M1 P? Z-- T! S+ V(wolf/fox,*)+ H(wolf,*)+ I&Or X-FurryPeace: http://www.fur.com/peace/ - flamage bad. peace good. User-Agent: slrn/0.9.5.6 (UNIX) NNTP-Posting-Host: 193.66.67.128 X-Complaints-To: helpdesk@eunet.fi X-Trace: news.eunet.fi 932652978 193.66.67.128 (Thu, 22 Jul 1999 17:16:18 EET DST) NNTP-Posting-Date: Thu, 22 Jul 1999 17:16:18 EET DST Xref: wwwwolf.pp.fi rec.games.roguelike.nethack:172 On Thu, 22 Jul 1999 10:54:08 +0900, Byungwook Jeon wrote: > ~ Warez $ ls ~Warez ls: ~Warez: No such file or directory > Can anybody PLEASE tell me some good warez sitez? > I'll also tell you some of it, as soon as I get it! Oh cool! I'll show you my list if you show me your list... wait, no, I think I will just give you... a lost list of warez ftp sites: 127.0.0.1 ftp.warez.org ... Wait, this is not funny anymore. I think I will just say something that actually works. Now... There's one way if finding a really cool warez site. I will let you know this wondrous secret now... Don't tell anyone! Look what you said: "warez sitez". Now, those words backward are "zeraw setiz"... sounds like "ze raw setiz" => "the raw SETIs". Ever heard of SETI@Home? Well, it's a project that processes radioastronomical data to find signs of extraterrestrial life in a massive distributed computer - anyone can join and put their machine to a good use when they don't use it themselves. Now, to find the IP address of the host you want to connect to to get the coolest warez on the Earth (or in the whole universe, for that matter)... You just need some connection scanner that can capture any SETI@Home packet a host has processed and is ready to send back. After you have saved the blurb, you must take four bytes, put them into an 4-byte unsigned variable (long in these machines), and turn them into an address with inet_ntoa. Worry not, here's the complete program to do the job: --------------------------------------------------------------------- /* Warez Scanner Will read stuff from stdin four bytes at time, turning them into IP addresses of the K30wL1 WaR3Z hosts. Written by Weyfour WWWWolf (22.7.1999), distributed under GNU GPL. Cast of thousands! Available soon as Debian package! Read the book! Listen to the CD! Completely untested! $Id: setispoof.c,v 1.1 1999/07/22 14:06:13 wwwwolf Exp wwwwolf $ */ #include #include #include #include int main(int carg, char **varg) { char read[5]; struct in_addr address; unsigned long addrval, tmp; FILE *f; if(carg != 2) { fprintf(stderr,"usage: %s filename\n",varg[0]); exit(1); } f = fopen(varg[1],"r"); if(f == NULL) { fprintf(stderr,"%s: error opening file %s\n",varg[0],varg[1]); exit(1); } while(fread(read, 1, 4, f) == 4) { addrval = (int)read[0]; tmp = (int)read[1]; tmp = tmp << 8; addrval += tmp; tmp = (int)read[2]; tmp = tmp << 16; addrval += tmp; tmp = (int)read[3]; tmp = tmp << 24; addrval += tmp; address.s_addr = htonl(addrval); printf("%s\n",inet_ntoa(address)); } } --------------------------------------------------------------------- Note that I have not tested this throughoutly, and only on Intel archithecture. Results might get funky on wrong-endian machines. (Damn, C is not as nice language as Perl!) Well, I even cleaned it up a bit, should work nicely. Folks, if you find bugs in the above, please do tell. Now that you have compiled that, just start processing that SETI@home data you have captured to file, a la: C:\SETIHOME>setidecode captured.dat > addresses.txt Now, just start trying those addresses in order! ::grabs the cretin from throat:: Helloooooooo... WRONG NEWSGROUP, PAL, WRONG NEWSGROUP. You just gave me so much intellectual pleasure that I don't know how to thank. Hmmm... Maybe I will give you 10 seconds head start. Should be sufficient. ::drags the d00d out of the door. 10 seconds after the door closes, we hear a burst of assault rifle fire. WWWWolf comes back into the cafe...:: ...10 seconds was not enough. -- Weyfour WWWWolf (a.k.a. Urpo Lankinen), just another lupine technomancer ICQ:4291042 -==(RGRNCA)==-