Created
August 26, 2011 05:05
-
-
Save bsdf/1172746 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PRIVATE Bool net_about_kludge(URL_Struct *URL_s) | |
{ | |
unsigned char *url = (unsigned char *) URL_s->address; | |
unsigned char *user = (unsigned char *) XP_STRDUP ((char*)(url + 6)); | |
unsigned char *tmp; | |
if (user == NULL) | |
return FALSE; | |
for (tmp = user; *tmp; tmp++) *tmp += 23; | |
if ( !XP_STRCMP((char*)user, "\170\202\202\170\205\170") || /* akkana */ | |
!XP_STRCMP((char*)user, "\170\211\200") || /* ari */ | |
!XP_STRCMP((char*)user, "\170\211\212\177\170\173") || /* arshad */ | |
!XP_STRCMP((char*)user, "\170\213\206\213\200\172") || /* atotic */ | |
!XP_STRCMP((char*)user, "\171\176\170\220") || /* bgay */ | |
!XP_STRCMP((char*)user, "\171\201\206\205\174\212") || /* bjones */ | |
!XP_STRCMP((char*)user, "\171\203\220\213\177\174") || /* blythe */ | |
!XP_STRCMP((char*)user, "\171\205\174\203\212\206\205") || /* bnelson */ | |
!XP_STRCMP((char*)user, "\171\206\171") || /* bob */ | |
!XP_STRCMP((char*)user, "\171\206\171\201") || /* bobj */ | |
!XP_STRCMP((char*)user, "\171\211\170\173\174") || /* brade */ | |
!XP_STRCMP((char*)user, "\171\211\200\170\205\206") || /* briano */ | |
!XP_STRCMP((char*)user, "\171\211\200\173\176\174") || /* bridge */ | |
!XP_STRCMP((char*)user, "\172\170\213\177\203\174\174\204") || /* cathleen */ | |
!XP_STRCMP((char*)user, "\172\177\206\214\172\202") || /* chouck */ | |
!XP_STRCMP((char*)user, "\172\177\211\200\212\175") || /* chrisf */ | |
!XP_STRCMP((char*)user, "\172\202\211\200\213\221\174\211") || /* ckritzer */ | |
!XP_STRCMP((char*)user, "\172\204\170\205\212\202\174") || /* cmanske */ | |
!XP_STRCMP((char*)user, "\172\206\205\215\174\211\212\174") || /* converse */ | |
!XP_STRCMP((char*)user, "\172\206\211\171\170\205") || /* corban */ | |
!XP_STRCMP((char*)user, "\172\217\214\174") || /* cxue */ | |
!XP_STRCMP((char*)user, "\172\220\174\177") || /* cyeh */ | |
!XP_STRCMP((char*)user, "\173\170\205\173\170") || /* danda */ | |
!XP_STRCMP((char*)user, "\173\170\205\204") || /* danm */ | |
!XP_STRCMP((char*)user, "\173\170\215\200\173\204") || /* davidm */ | |
!XP_STRCMP((char*)user, "\173\174\172\170\212\213\211\200") || /* decastri */ | |
!XP_STRCMP((char*)user, "\173\201\216") || /* djw */ | |
!XP_STRCMP((char*)user, "\173\202\170\211\203\213\206\205") || /* dkarlton */ | |
!XP_STRCMP((char*)user, "\173\204\206\212\174") || /* dmose */ | |
!XP_STRCMP((char*)user, "\173\206\205") || /* don */ | |
!XP_STRCMP((char*)user, "\173\206\211\170") || /* dora */ | |
!XP_STRCMP((char*)user, "\173\206\214\176") || /* doug */ | |
!XP_STRCMP((char*)user, "\173\207") || /* dp */ | |
!XP_STRCMP((char*)user, "\174\171\200\205\170") || /* ebina */ | |
!XP_STRCMP((char*)user, "\174\204\170\173\174\211") || /* emader */ | |
!XP_STRCMP((char*)user, "\174\211\200\202") || /* erik */ | |
!XP_STRCMP((char*)user, "\175\211\200\174\173\204\170\205") || /* friedman */ | |
!XP_STRCMP((char*)user, "\175\213\170\205\176") || /* ftang */ | |
!XP_STRCMP((char*)user, "\175\214\171\200\205\200") || /* fubini */ | |
!XP_STRCMP((char*)user, "\175\214\211") || /* fur */ | |
!XP_STRCMP((char*)user, "\176\170\176\170\205") || /* gagan */ | |
!XP_STRCMP((char*)user, "\176\203\220\205\205") || /* glynn */ | |
!XP_STRCMP((char*)user, "\176\211\206\216\203\213\200\176\174\211") || /* growltiger */ | |
!XP_STRCMP((char*)user, "\177\170\176\170\205") || /* hagan */ | |
!XP_STRCMP((char*)user, "\177\170\211\173\213\212") || /* hardts */ | |
!XP_STRCMP((char*)user, "\177\212\177\170\216") || /* hshaw */ | |
!XP_STRCMP((char*)user, "\177\220\170\213\213") || /* hyatt */ | |
!XP_STRCMP((char*)user, "\200\211\174\205\174") || /* irene */ | |
!XP_STRCMP((char*)user, "\201\170\211") || /* jar */ | |
!XP_STRCMP((char*)user, "\201\174\175\175") || /* jeff */ | |
!XP_STRCMP((char*)user, "\201\174\215\174\211\200\205\176") || /* jevering */ | |
!XP_STRCMP((char*)user, "\201\176") || /* jg */ | |
!XP_STRCMP((char*)user, "\201\176\174\203\203\204\170\205") || /* jgellman */ | |
!XP_STRCMP((char*)user, "\201\201") || /* jj */ | |
!XP_STRCMP((char*)user, "\201\206\174\211\214\175\175") || /* joeruff */ | |
!XP_STRCMP((char*)user, "\201\206\202\200") || /* joki */ | |
!XP_STRCMP((char*)user, "\201\206\205\170\212") || /* jonas */ | |
!XP_STRCMP((char*)user, "\201\207\204") || /* jpm */ | |
!XP_STRCMP((char*)user, "\201\212\216") || /* jsw */ | |
!XP_STRCMP((char*)user, "\201\216\221") || /* jwz */ | |
!XP_STRCMP((char*)user, "\202\170\177\174\211\205") || /* kahern */ | |
!XP_STRCMP((char*)user, "\202\170\211\203\213\206\205") || /* karlton */ | |
!XP_STRCMP((char*)user, "\202\200\207\207") || /* kipp */ | |
!XP_STRCMP((char*)user, "\202\204\172\174\205\213\174\174") || /* kmcentee */ | |
!XP_STRCMP((char*)user, "\202\206\174\177\204") || /* koehm */ | |
!XP_STRCMP((char*)user, "\202\211\200\212\213\200\205") || /* kristin */ | |
!XP_STRCMP((char*)user, "\203\170\211\214\171\171\200\206") || /* larubbio */ | |
!XP_STRCMP((char*)user, "\203\170\216") || /* law */ | |
!XP_STRCMP((char*)user, "\203\174\205\221") || /* lenz */ | |
!XP_STRCMP((char*)user, "\203\206\211\200\202") || /* lorik */ | |
!XP_STRCMP((char*)user, "\203\213\170\171\171") || /* ltabb */ | |
!XP_STRCMP((char*)user, "\204\170\203\204\174\211") || /* malmer */ | |
!XP_STRCMP((char*)user, "\204\170\211\172\170") || /* marca */ | |
!XP_STRCMP((char*)user, "\204\170\213\213") || /* matt */ | |
!XP_STRCMP((char*)user, "\204\172\170\175\174\174") || /* mcafee */ | |
!XP_STRCMP((char*)user, "\204\172\204\214\203\203\174\205") || /* mcmullen */ | |
!XP_STRCMP((char*)user, "\204\174\173\200\213\170\213\200\206\205") || /* meditation */ | |
!XP_STRCMP((char*)user, "\204\203\204") || /* mlm */ | |
!XP_STRCMP((char*)user, "\204\206\205\200\210\214\174") || /* monique */ | |
!XP_STRCMP((char*)user, "\204\206\205\213\214\203\203\200")|| /* montulli */ | |
!XP_STRCMP((char*)user, "\204\206\211\212\174") || /* morse */ | |
!XP_STRCMP((char*)user, "\204\206\214\211\174\220")|| /* mourey */ | |
!XP_STRCMP((char*)user, "\204\213\206\220") || /* mtoy */ | |
!XP_STRCMP((char*)user, "\204\216\174\203\172\177") || /* mwelch */ | |
!XP_STRCMP((char*)user, "\205\174\203\212\206\205\171") || /* nelsonb */ | |
!XP_STRCMP((char*)user, "\205\200\212\177\174\174\213\177") || /* nisheeth */ | |
!XP_STRCMP((char*)user, "\206\200\205\202") || /* oink */ | |
!XP_STRCMP((char*)user, "\207\170\203\174\215\200\172\177") || /* palevich */ | |
!XP_STRCMP((char*)user, "\207\170\210\214\200\205") || /* paquin */ | |
!XP_STRCMP((char*)user, "\207\170\214\203\173") || /* pauld */ | |
!XP_STRCMP((char*)user, "\207\172\177\174\205") || /* pchen */ | |
!XP_STRCMP((char*)user, "\207\200\174\211\211\174") || /* pierre */ | |
!XP_STRCMP((char*)user, "\207\200\176\203\174\213") || /* piglet */ | |
!XP_STRCMP((char*)user, "\207\200\205\202\174\211\213\206\205") || /* pinkerton */ | |
!XP_STRCMP((char*)user, "\211\170\204\170\205") || /* raman */ | |
!XP_STRCMP((char*)user, "\211\170\204\200\211\206") || /* ramiro */ | |
!XP_STRCMP((char*)user, "\211\174\172\214\211\212\200\206\205") || /* recursion */ | |
!XP_STRCMP((char*)user, "\211\174\207\202\170") || /* repka */ | |
!XP_STRCMP((char*)user, "\211\200\172\170\211\173\206\171") || /* ricardob */ | |
!XP_STRCMP((char*)user, "\211\201\172") || /* rjc */ | |
!XP_STRCMP((char*)user, "\211\204\216") || /* rmw */ | |
!XP_STRCMP((char*)user, "\211\170\204\211\170\201") || /* ramraj */ | |
!XP_STRCMP((char*)user, "\211\206\171\204") || /* robm */ | |
!XP_STRCMP((char*)user, "\211\206\174\171\174\211") || /* roeber */ | |
!XP_STRCMP((char*)user, "\211\207\206\213\213\212") || /* rpotts */ | |
!XP_STRCMP((char*)user, "\211\214\212\203\170\205") || /* ruslan */ | |
!XP_STRCMP((char*)user, "\212\172\172") || /* scc */ | |
!XP_STRCMP((char*)user, "\212\173\170\176\203\174\220") || /* sdagley */ | |
!XP_STRCMP((char*)user, "\212\177\170\211\206\205\200") || /* sharoni */ | |
!XP_STRCMP((char*)user, "\212\177\214\170\205\176") || /* shuang */ | |
!XP_STRCMP((char*)user, "\212\202") || /* sk */ | |
!XP_STRCMP((char*)user, "\212\202\220\174") || /* skye */ | |
!XP_STRCMP((char*)user, "\212\203\170\204\204") || /* slamm */ | |
!XP_STRCMP((char*)user, "\212\204\212\200\203\215\174\211") || /* smsilver */ | |
!XP_STRCMP((char*)user, "\212\207\174\205\172\174") || /* spence */ | |
!XP_STRCMP((char*)user, "\212\207\200\173\174\211") || /* spider */ | |
!XP_STRCMP((char*)user, "\212\212\207\200\213\221\174\211") || /* sspitzer */ | |
!XP_STRCMP((char*)user, "\212\213\174\211\205") || /* stern */ | |
!XP_STRCMP((char*)user, "\213\170\211\170\177") || /* tarah */ | |
!XP_STRCMP((char*)user, "\213\174\211\211\220") || /* terry */ | |
!XP_STRCMP((char*)user, "\213\175\203\200\205\213") || /* tflint */ | |
!XP_STRCMP((char*)user, "\213\200\204\204") || /* timm */ | |
!XP_STRCMP((char*)user, "\213\206\212\177\206\202") || /* toshok */ | |
!XP_STRCMP((char*)user, "\213\211\170\172\220") || /* tracy */ | |
!XP_STRCMP((char*)user, "\213\211\200\212\213\170\205") || /* tristan */ | |
!XP_STRCMP((char*)user, "\213\211\214\173\174\203\203\174") || /* trudelle */ | |
!XP_STRCMP((char*)user, "\215\170\203\174\212\202\200") || /* valeski */ | |
!XP_STRCMP((char*)user, "\216\170\211\211\174\205") || /* warren */ | |
!XP_STRCMP((char*)user, "\216\201\212") ) /* wjs */ | |
{ | |
/* "http://people.netscape.com/" */ | |
char *head = ("\177\213\213\207\121\106\106\207\174\206\207\203\174\105" | |
"\205\174\213\212\172\170\207\174\105\172\206\204\106"); | |
unsigned char *location = (unsigned char *) | |
XP_ALLOC (XP_STRLEN ((char *) head) + XP_STRLEN ((char *) user) + 2); | |
if (! location) | |
{ | |
XP_FREE (user); | |
return FALSE; | |
} | |
XP_STRCPY ((char *) location, (char *) head); | |
XP_STRCAT ((char *) location, (char *) user); | |
for (tmp = location; *tmp; tmp++) *tmp -= 23; | |
XP_STRCAT ((char *) location, "/"); | |
XP_FREE (user); | |
XP_FREE (URL_s->address); | |
URL_s->address = (char *) location; | |
URL_s->address_modified = TRUE; | |
return TRUE; | |
} | |
else | |
{ | |
XP_FREE (user); | |
return FALSE; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment