vanilla-restore: category=modified-benign (214 fájl)
vhost: www.archline.hu rel_path: administrator/components/com_sh404sef/helpers/updates.php result: quarantined evidence_sha256: 39423a776ff2df4d3d0edff27c11f7b1349967f6bf091950e5a5ffa167472ca6 timestamp: 20260718T160241Z finding_ref: 7147 vhost: www.archline.hu rel_path: common_cadline_libraries/POfile.php result: quarantined evidence_sha256: 0a6340d48ea4182acbdb90fe9dd0a4b3b003cd6fd096273ea46a35270551e833 timestamp: 20260718T160241Z finding_ref: 7163 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_config.db.php result: quarantined evidence_sha256: b6bf5ac201bca1880d594fc4f0bd22a57c44014ae49d9c1b79096ba474277b45 timestamp: 20260718T160241Z finding_ref: 7160 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_config.php result: quarantined evidence_sha256: 2a4e7009a1bc1ead4599bd32b35f69ee3bcb585732fe6259783ac80923bdf4ee timestamp: 20260718T160241Z finding_ref: 7158 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_database.class.php result: quarantined evidence_sha256: 56e3117ed333988553caded835b34aa3575faa13dd50d2c08d9ed113ac50e307 timestamp: 20260718T160241Z finding_ref: 7157 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_hardlock.class.php result: quarantined evidence_sha256: 04386cd2cea31252856ead5eebb2424c6422b411dadeff5ef8db5e0851195aca timestamp: 20260718T160241Z finding_ref: 7161 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_test.class.php result: quarantined evidence_sha256: d1fb152dd4ce01954e4f025f954d95405e0a7d51744fe0940134e85f3f06603c timestamp: 20260718T160241Z finding_ref: 7159 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_users.class.php result: quarantined evidence_sha256: 1a8419cbc958662de0784f2426c090a2025cf6bd2cc95bc356b4515047db2aa7 timestamp: 20260718T160241Z finding_ref: 7162 vhost: www.archline.hu rel_path: components/com_sh404sef/cache/shCacheContent.02d49a3aafc62f9ee0bccaa9e183178e.php result: quarantined evidence_sha256: 694daa999ab400060b090d8f0ecaa63b86e9a97bb3dcc9de43447cc6e8c948a7 timestamp: 20260718T160241Z finding_ref: 4780 vhost: www.archline.hu rel_path: components/com_sh404sef/cache/shCacheContent.efec898659ae35934839e1b0fbdf1de7.php result: quarantined evidence_sha256: 7004a39323bdce13e9e2056a54a3a4f25ca614750ee317d4395351e3ac4c0af3 timestamp: 20260718T160241Z finding_ref: 4778 vhost: www.archline.hu rel_path: maintenance/.gitignore result: quarantined evidence_sha256: 5acb091961b9d361c6dd356a85ff5175ede76c4c0428bfb28b83f1c973c758ab timestamp: 20260718T160241Z finding_ref: 6982 vhost: www.archline.hu rel_path: maintenance/.htaccess result: quarantined evidence_sha256: fc175d344b413e625f5ee2358c739218865cdc00a5db5a3e7448480e6bbfd382 timestamp: 20260718T160241Z finding_ref: 6964 vhost: www.archline.hu rel_path: maintenance/MySqlHelper.class.php result: quarantined evidence_sha256: b998beed6ec9f9dc24f664e422709eed79cc5887681a0cbb2be2d483f87e9870 timestamp: 20260718T160241Z finding_ref: 7030 vhost: www.archline.hu rel_path: maintenance/PasswordHash.php result: quarantined evidence_sha256: 747736c194e97ee2cb28a2927954d462126efabbde1e09f11f2a3a08ee51e2f3 timestamp: 20260718T160241Z finding_ref: 6979 vhost: www.archline.hu rel_path: maintenance/ProjectStart.html result: quarantined evidence_sha256: 064abd01b0fbb0c6e6373f227fc42c19d89a0209002410361165bd78d9dbcc87 timestamp: 20260718T160241Z finding_ref: 6990 vhost: www.archline.hu rel_path: maintenance/activate_90_days_active.php result: quarantined evidence_sha256: 1af9df1f0430aacb03ef509bca3eac7a0a333fee3854fd18f51ea96f3b8c61a0 timestamp: 20260718T160241Z finding_ref: 6948 vhost: www.archline.hu rel_path: maintenance/activate_server.php result: quarantined evidence_sha256: 921806babfc456ebe18c76d4266b3425a9d0065c3ed8d93b32784e017f1d81e0 timestamp: 20260718T160241Z finding_ref: 6989 vhost: www.archline.hu rel_path: maintenance/aktivalasikod.php result: quarantined evidence_sha256: f7646ed8e67f8e60967395d123d1ed1b659e4b6b25cd33c28499e8e210e7346e timestamp: 20260718T160241Z finding_ref: 6995 vhost: www.archline.hu rel_path: maintenance/al.php result: quarantined evidence_sha256: 3ccbc4486079f49118b1c90b3a2a895f8e54d909733fcdf6425b4c936219db9e timestamp: 20260718T160241Z finding_ref: 6983 vhost: www.archline.hu rel_path: maintenance/alprograms.php result: quarantined evidence_sha256: bfa6d119232f74c70e577cb2ecf3dbb14a8537d216eb9cfbbd05cb948ba75688 timestamp: 20260718T160241Z finding_ref: 7005 vhost: www.archline.hu rel_path: maintenance/banner.php result: quarantined evidence_sha256: c2926bd9c052e3077f2cd674ac9e45dfc42f6e024b5de0b3bfaaf1ed9fceb695 timestamp: 20260718T160241Z finding_ref: 6941 vhost: www.archline.hu rel_path: maintenance/beolvas2.php result: quarantined evidence_sha256: cca186573879cd37437211d7324b0355c33630cdd17c407f454d4abf7467dc4c timestamp: 20260718T160241Z finding_ref: 6978 vhost: www.archline.hu rel_path: maintenance/class/actcode.class.php result: quarantined evidence_sha256: 6d9596e1e2f22c8fb0a0ec1735ad15608caef4cdb892c2a8f3a18558482b4f7d timestamp: 20260718T160241Z finding_ref: 7086 vhost: www.archline.hu rel_path: maintenance/class/codegen.helper.class.php result: quarantined evidence_sha256: f239d9f966a090f5abf13dd4e05c53b5024736e3705396f093432b53d68f4283 timestamp: 20260718T160241Z finding_ref: 7087 vhost: www.archline.hu rel_path: maintenance/class/crmHelper.class.php result: quarantined evidence_sha256: d8de79930605acc0b90e6a1485418fc33e3ca2bd121abbc63a517b7125352e82 timestamp: 20260718T160241Z finding_ref: 7083 vhost: www.archline.hu rel_path: maintenance/class/hardlock.helper.class.php result: quarantined evidence_sha256: bc301f22d565574d79942a0b23b09a44f2011e9666863d05edb7d980bb47eedc timestamp: 20260718T160241Z finding_ref: 7085 vhost: www.archline.hu rel_path: maintenance/class/iptocountry.helper.class.php result: quarantined evidence_sha256: 01f57cd33b36499e203a3cbd5ae6beb5e7a7eab57cdb6005396015d1b7d90066 timestamp: 20260718T160241Z finding_ref: 7082 vhost: www.archline.hu rel_path: maintenance/class/program.helper.class.php result: quarantined evidence_sha256: 6c5800864fe4e2f457fa51a000ed629b02c689b48aed59118b0043909374883c timestamp: 20260718T160241Z finding_ref: 7081 vhost: www.archline.hu rel_path: maintenance/class/selectedprogram.php result: quarantined evidence_sha256: 745ade6bf18e5b757611dd106000a971caf88ffc859043475398a7e9acb1264b timestamp: 20260718T160241Z finding_ref: 7084 vhost: www.archline.hu rel_path: maintenance/class/selectprogram.class.php result: quarantined evidence_sha256: fc2e60a4c02d8902f2e0588d29397971b03c3362e5da5aed93c9fa826ecdbce7 timestamp: 20260718T160241Z finding_ref: 7088 vhost: www.archline.hu rel_path: maintenance/clusers.php result: quarantined evidence_sha256: bad973163f0cfc180e058ecc776649cfd0610988cea2dbd5ad92ab24e78d164b timestamp: 20260718T160241Z finding_ref: 6988 vhost: www.archline.hu rel_path: maintenance/config.course.php result: quarantined evidence_sha256: 5e185d6773305cce1baa1411f3fc7128289e0456593a3f239c33e0bb78cca4c2 timestamp: 20260718T160241Z finding_ref: 6981 vhost: www.archline.hu rel_path: maintenance/config.crm.php result: quarantined evidence_sha256: bce678d953dd6bbf8130478255f1f3c26925447b6fe1645db516640fb9298159 timestamp: 20260718T160241Z finding_ref: 6994 vhost: www.archline.hu rel_path: maintenance/config.db.php result: quarantined evidence_sha256: 48aec825d9859299bc60dfd6aad949281b2ba3a32a76bcdb6e5aed18e83f763d timestamp: 20260718T160241Z finding_ref: 6972 vhost: www.archline.hu rel_path: maintenance/config.mail.php result: quarantined evidence_sha256: b4a7a41e85919efa523901833360ef3e0c6a656c14a6c5cecf4684d3d5343d5a timestamp: 20260718T160241Z finding_ref: 6961 vhost: www.archline.hu rel_path: maintenance/config.php result: quarantined evidence_sha256: 873c21b6d13927af7a8bf5ee8a69b7fd6bc3f039fae44e8487d7b850f67c4ea4 timestamp: 20260718T160241Z finding_ref: 6949 vhost: www.archline.hu rel_path: maintenance/config.tce.php result: quarantined evidence_sha256: 487d642ce9294e720e02beaf803b75fe2683092cb7885381c65494382e9d4314 timestamp: 20260718T160241Z finding_ref: 6984 vhost: www.archline.hu rel_path: maintenance/crash.php result: quarantined evidence_sha256: 5e9459676bbca87ada44487b4d81c82916fbf77639570406656aaaab30afa9f3 timestamp: 20260718T160241Z finding_ref: 7031 vhost: www.archline.hu rel_path: maintenance/crashadmin.php result: quarantined evidence_sha256: 3d6cdb752014286e0ff7ffcefb5a1d5c01deb7292145b411ea0ef5709fcc0037 timestamp: 20260718T160241Z finding_ref: 6951 vhost: www.archline.hu rel_path: maintenance/cron_check.php result: quarantined evidence_sha256: 523cbfeb6dd2fa0756622a963ca73680404e0c41f5e7846e989129ea150d68fb timestamp: 20260718T160241Z finding_ref: 7022 vhost: www.archline.hu rel_path: maintenance/cron_check_server.php result: quarantined evidence_sha256: aa2aeba2381e1caaf51d6c3a3dbe84815c600d11d4c94392d1e794249cc0f650 timestamp: 20260718T160241Z finding_ref: 6997 vhost: www.archline.hu rel_path: maintenance/cron_one_minute.php result: quarantined evidence_sha256: 9838569e743bd0d937dba4421ff9b276f46d348723992076f9d24b622b85945b timestamp: 20260718T160241Z finding_ref: 6958 vhost: www.archline.hu rel_path: maintenance/css/bootstrap.min.css result: quarantined evidence_sha256: 0214196123e75689fd4862de813b21ba79df1b83062cd7b1d882b75a17ac5737 timestamp: 20260718T160241Z finding_ref: 7038 vhost: www.archline.hu rel_path: maintenance/css/style.css result: quarantined evidence_sha256: 7dcd46c3fa3a7bbb3b5f48a37a7bc20e37c5ce8f86ad2cdc9f8d75dbde6a5b97 timestamp: 20260718T160241Z finding_ref: 7037 vhost: www.archline.hu rel_path: maintenance/css/ticker-style.css result: quarantined evidence_sha256: f452ae045b45dad107d84d6c70d4e4a3e3522c17d6913b8084fd6eaafcd4aad1 timestamp: 20260718T160241Z finding_ref: 7039 vhost: www.archline.hu rel_path: maintenance/downloademail.php result: quarantined evidence_sha256: e6434ca282e9e4579ba6927c262752e66962cebe5edda52766bb486c3b499abc timestamp: 20260718T160241Z finding_ref: 6986 vhost: www.archline.hu rel_path: maintenance/elofizexcelcheck.php result: quarantined evidence_sha256: 2d04b624c559dd91a7bd81dd7dc0b1a7ac9748759ea7761bb83e1a75d5279a20 timestamp: 20260718T160241Z finding_ref: 6973 vhost: www.archline.hu rel_path: maintenance/elofizkarbxml.php result: quarantined evidence_sha256: 8ba27b4d94a8d310a7641167cfab3229d3e000770220f480e22398097431766c timestamp: 20260718T160241Z finding_ref: 6957 vhost: www.archline.hu rel_path: maintenance/elofizurites.php result: quarantined evidence_sha256: 37dee33d9f6c68a7409322b379269f6ff614d6be8f5769a0814cb5d06085a68a timestamp: 20260718T160241Z finding_ref: 6968 vhost: www.archline.hu rel_path: maintenance/email.php result: quarantined evidence_sha256: e6f1c227a7281173ea84fcaa4d171d8c821842d4b0acac8d7674fd02cf40b38f timestamp: 20260718T160241Z finding_ref: 6942 vhost: www.archline.hu rel_path: maintenance/emailsending.php result: quarantined evidence_sha256: b004e1f7a9e5b863ebf598a049c0142499b5d44487e253bff963acf12f9ffb48 timestamp: 20260718T160241Z finding_ref: 6960 vhost: www.archline.hu rel_path: maintenance/encodetest.php result: quarantined evidence_sha256: 5589e1ee2491b18c512c944273af6fb19cb695ac5a97359ad51f7651a23f7374 timestamp: 20260718T160241Z finding_ref: 6943 vhost: www.archline.hu rel_path: maintenance/followedlinks.php result: quarantined evidence_sha256: 8a8ef862650901a66814ee3b7e36150a5cb1544387626bef47e5251ee6743acc timestamp: 20260718T160241Z finding_ref: 6992 vhost: www.archline.hu rel_path: maintenance/functions.php result: quarantined evidence_sha256: e09ab6becab0a55e1b3ed740e292e75cd062ba778505b06b92d8820e83def554 timestamp: 20260718T160241Z finding_ref: 7023 vhost: www.archline.hu rel_path: maintenance/geopluginlink.php result: quarantined evidence_sha256: 85202e87251c0aed6245ce04f52b49eabadc83cbac919eeabe0c43eb2c6aec56 timestamp: 20260718T160241Z finding_ref: 6987 vhost: www.archline.hu rel_path: maintenance/get_subscriptions.php result: quarantined evidence_sha256: 939b458cbf348dafb99064b2b4513b3996b8d6ec713ab91132271fea7a549e94 timestamp: 20260718T160241Z finding_ref: 6955 vhost: www.archline.hu rel_path: maintenance/getdef.php result: quarantined evidence_sha256: c8126990043ed00355f45fb99edfeb872b174d46349c08343c0c528276bc396b timestamp: 20260718T160241Z finding_ref: 7034 vhost: www.archline.hu rel_path: maintenance/getserialanddaycode.php result: quarantined evidence_sha256: 6d0168ba5a5310c738f70e39a9d5c80cc730e4d5b41be0ee267eb9a9e4743efc timestamp: 20260718T160241Z finding_ref: 6975 vhost: www.archline.hu rel_path: maintenance/google_redirect.php result: quarantined evidence_sha256: fa09df54ba4efc164bf940ae9d8cbed62fbc8ecf8c0b88fcf6e94abcb92e88b7 timestamp: 20260718T160241Z finding_ref: 6959 vhost: www.archline.hu rel_path: maintenance/handshake.php result: quarantined evidence_sha256: 07dadba3d9731923c59ee71b4693dba4f0e984ad938800ff679c31b7542bffb8 timestamp: 20260718T160241Z finding_ref: 7017 vhost: www.archline.hu rel_path: maintenance/hibasprograminditasok.php result: quarantined evidence_sha256: 0ca7ec1b66230cb779f87ee74720a3f75c0c5630640efebe583c7d369cfac8e2 timestamp: 20260718T160241Z finding_ref: 6977 vhost: www.archline.hu rel_path: maintenance/index.html result: quarantined evidence_sha256: 0a6d407700b3be507fcdbf58c3ed12338c34ea815db4a525895578d0953b08fa timestamp: 20260718T160241Z finding_ref: 6945 vhost: www.archline.hu rel_path: maintenance/ipc_sample_test.php result: quarantined evidence_sha256: 5e765b4587ccee1deca34c4672eb8211248c0e4b3cf430d4cb1bedce175d26ad timestamp: 20260718T160241Z finding_ref: 6965 vhost: www.archline.hu rel_path: maintenance/js/clipboard.min.js result: quarantined evidence_sha256: fb6f0ed44d1d83dfd2c6872df42037bdac9d46b444874e230e98a27badde85f7 timestamp: 20260718T160241Z finding_ref: 7140 vhost: www.archline.hu rel_path: maintenance/js/download2.js result: quarantined evidence_sha256: 691fca8b33fbdfd449c2d64da2fceebfe32faea61c4f4b65e87d3793c98ed0f9 timestamp: 20260718T160241Z finding_ref: 7139 vhost: www.archline.hu rel_path: maintenance/js/jquery.min.js result: quarantined evidence_sha256: d94e3a1cc1a2ad5d465198b62b9ed62676a26ef31a0defc5a524f488e33d982c timestamp: 20260718T160241Z finding_ref: 7136 vhost: www.archline.hu rel_path: maintenance/js/jquery.ticker.js result: quarantined evidence_sha256: 302eca2bd1d94e5e8709ce5b4a4ab394b5f09e0a19777475076c67696222454c timestamp: 20260718T160241Z finding_ref: 7137 vhost: www.archline.hu rel_path: maintenance/js/jszip/jszip-utils.js result: quarantined evidence_sha256: a313093bc5e0388d71b9f550ce7f027fedebf77f7333446695613c389c617a29 timestamp: 20260718T160241Z finding_ref: 7141 vhost: www.archline.hu rel_path: maintenance/js/jszip/jszip.js result: quarantined evidence_sha256: 99a7bcd913cc891bd38ac619be2256424b22daa11ae98c833bb26285795cf615 timestamp: 20260718T160241Z finding_ref: 7142 vhost: www.archline.hu rel_path: maintenance/js/site.js result: quarantined evidence_sha256: 3b2435ba6d9d37a4a5090506ff61685a7299c8ca9bc33b23bb644db43cc9f614 timestamp: 20260718T160241Z finding_ref: 7138 vhost: www.archline.hu rel_path: maintenance/languages/lang.eng.php result: quarantined evidence_sha256: 637d0167b26a74ce369c2a2b7b1590fa3967465c496950061720caf618cde8bc timestamp: 20260718T160241Z finding_ref: 7036 vhost: www.archline.hu rel_path: maintenance/languages/lang.hun.php result: quarantined evidence_sha256: 34ddd8479f50153fd77044ac88b235ed25d0889c50e015ed6e19bcd11d97b85b timestamp: 20260718T160241Z finding_ref: 7035 vhost: www.archline.hu rel_path: maintenance/leads/BIID_2016.csv result: quarantined evidence_sha256: 3d385d7c5f244ef58a941ec86cc32dca75314d608f97c3b78544efa09d3be809 timestamp: 20260718T160241Z finding_ref: 7055 vhost: www.archline.hu rel_path: maintenance/leads/Gyarto_lista_05_19.csv result: quarantined evidence_sha256: 0c32f3a4db33e2893454ab39ff5e0c64c40c4ba87afcd5a3f0727b944acfb176 timestamp: 20260718T160241Z finding_ref: 7052 vhost: www.archline.hu rel_path: maintenance/leads/Letoltott_szamlazz.hu_kimeno_szamlak_2018_Erika.csv result: quarantined evidence_sha256: 0f2fd079118630a2f912843c155243e612af0aad7f61629d315e3db668459a15 timestamp: 20260718T160241Z finding_ref: 7056 vhost: www.archline.hu rel_path: maintenance/leads/RIBA_2016.csv result: quarantined evidence_sha256: 49cc4d29ce4ab8343dbd09673c5e191d8be71a2e12a1fcccc6ddd5b04393222b timestamp: 20260718T160241Z finding_ref: 7060 vhost: www.archline.hu rel_path: maintenance/leads/kimeno.csv result: quarantined evidence_sha256: 80c47b61cc38662a72169075b25794f4a45955dd0feb37c79f28a8b61d0f8ffa timestamp: 20260718T160241Z finding_ref: 7051 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160918.csv result: quarantined evidence_sha256: a36ac6c0f2be2aae0056e71b39f0609b7258e8f5c812510a802c8ae61f2d2c74 timestamp: 20260718T160241Z finding_ref: 7053 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160919.csv result: quarantined evidence_sha256: 30b74ab56ee448d5483f492af39b34377b9e2726cb6bc141bf2af866e6717aa7 timestamp: 20260718T160241Z finding_ref: 7054 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160920.csv result: quarantined evidence_sha256: 278a66428568841c1e192fc485b2b82ad56b2beabb4a9709e1f35c93442189cb timestamp: 20260718T160241Z finding_ref: 7061 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160921.csv result: quarantined evidence_sha256: c7b0c50c162ae03f2a224dd380b96265b043062b7f99f17a589489f5db54b55b timestamp: 20260718T160241Z finding_ref: 7062 vhost: www.archline.hu rel_path: maintenance/leads/leads_imported-utf8.txt result: quarantined evidence_sha256: 8f4aabce416fdb210cabe70b934ecf004c9fb651ce3fa11daf8308e4b6f0e81c timestamp: 20260718T160241Z finding_ref: 7058 vhost: www.archline.hu rel_path: maintenance/leads/leads_imported.csv result: quarantined evidence_sha256: 183bc7123959ff15bc75f940b3a7e1a002347e27763b97d166bd3011ba459f5f timestamp: 20260718T160241Z finding_ref: 7057 vhost: www.archline.hu rel_path: maintenance/leads/szamlazz.csv result: quarantined evidence_sha256: a7d4a43414fea46f22925c358fa4c2f63d10c7fce7bc98ceba19031ee3be97f8 timestamp: 20260718T160241Z finding_ref: 7059 vhost: www.archline.hu rel_path: maintenance/leads_imported.csv result: quarantined evidence_sha256: 0a51ede67f89119e0d0ba9c42089a4eff690043a7f74e5cc6c46f60547497ee4 timestamp: 20260718T160241Z finding_ref: 7010 vhost: www.archline.hu rel_path: maintenance/leiratkozas.php result: quarantined evidence_sha256: e9e714df7c53c0b9c291585b1525107984f4b552712ebf087aae7fc7a9e9566a timestamp: 20260718T160241Z finding_ref: 6953 vhost: www.archline.hu rel_path: maintenance/libraries/Excel2/oleread.php result: quarantined evidence_sha256: db1d9fcfd6275389b5a93a4e94812dba34ecc13c545d7cd85cb358c7fb8830ae timestamp: 20260718T160241Z finding_ref: 7064 vhost: www.archline.hu rel_path: maintenance/libraries/Excel2/reader.php result: quarantined evidence_sha256: eec982f8294bba2c789a8c83f0d9e4ab0858a9796a6561a3cdf7852fe546a008 timestamp: 20260718T160241Z finding_ref: 7063 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/RFC822.php result: quarantined evidence_sha256: a71f3ab8bc6a991c73bc64bdad215f930bb6254e365c6a937541e708d22e205d timestamp: 20260718T160241Z finding_ref: 7078 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/htmlMimeMail.php result: quarantined evidence_sha256: c89b847322a644443c6491c83cf5bbc5149d687c1171db4e20b254addec28e70 timestamp: 20260718T160241Z finding_ref: 7079 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/mimePart.php result: quarantined evidence_sha256: e1178f1b89b5ef1ad21844d403797b29557c89e979b469f8bf49fbc9486ca2d9 timestamp: 20260718T160241Z finding_ref: 7080 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/smtp.php result: quarantined evidence_sha256: d67f97b00104c6dec3557da4d36094b25ec86f8b9021d2eab108508a0d9f673d timestamp: 20260718T160241Z finding_ref: 7077 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/PHPMailerAutoload.php result: quarantined evidence_sha256: dec9d8f2b32ba64ff94a1751522cb5cda34db3d743556fa05ad771a115beb58f timestamp: 20260718T160241Z finding_ref: 7066 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/class.phpmailer.php result: quarantined evidence_sha256: 8a2fb7879aeee9b429a60a157cf64df1972a1c41d32030b39443ba3fe23cca10 timestamp: 20260718T160241Z finding_ref: 7065 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/class.pop3.php result: quarantined evidence_sha256: 691a6b369811c249541f0cb42e745c72ae7c3564dedfd6b025a99ccd1b255638 timestamp: 20260718T160241Z finding_ref: 7069 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/class.smtp.php result: quarantined evidence_sha256: 535872ccf898fab8618e6ed18e89d0bbe89c533588a80558defaebd3cfbb8d31 timestamp: 20260718T160241Z finding_ref: 7067 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/composer.json result: quarantined evidence_sha256: 69fb1ad57093610235205d9e931ad08669875f864fa3d691983f2937eb88cbd9 timestamp: 20260718T160241Z finding_ref: 7068 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/EasyPeasyICS.php result: quarantined evidence_sha256: 1361aed15d1ea7cab7ea8c549888110a54745fc536a942e6ba03687f7205defa timestamp: 20260718T160241Z finding_ref: 7070 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/README.md result: quarantined evidence_sha256: de7bb6846fc59d8b64e7d19bb8b1b47af8348db91e95079e3f6ac86725541bf5 timestamp: 20260718T160241Z finding_ref: 7073 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/class.html2text.php result: quarantined evidence_sha256: 50dcda199fb7a1e93c06c2a3852d094a2746d4e4f8a1af2c41a44c4f5a5efa6f timestamp: 20260718T160241Z finding_ref: 7072 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/htmlfilter.php result: quarantined evidence_sha256: e2101d6972218740a7dde7992576be616a2bfaebe10f9a831c152ce82bc3e6a5 timestamp: 20260718T160241Z finding_ref: 7074 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/ntlm_sasl_client.php result: quarantined evidence_sha256: 58e2d9ed5c1d4361a59331eb9c1f13abcd30acf2e53eaf1ddc72e0d62251d949 timestamp: 20260718T160241Z finding_ref: 7071 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/language/phpmailer.lang-hu.php result: quarantined evidence_sha256: 6f597f36e2663ed882f416f75cd8a437bcc2c75dc944b360cb4ad18e1b36b55b timestamp: 20260718T160241Z finding_ref: 7075 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/language/phpmailer.lang-uk.php result: quarantined evidence_sha256: cf3d94690689a7b5e584a8a5d5b2cbf7ffebbe63ee98cb2143f3709597456813 timestamp: 20260718T160241Z finding_ref: 7076 vhost: www.archline.hu rel_path: maintenance/messages_email.php result: quarantined evidence_sha256: a6a556967afb3c8ab5dce1aecf07eb6001fb97b5412eed6699bb5efe00a9be17 timestamp: 20260718T160241Z finding_ref: 6998 vhost: www.archline.hu rel_path: maintenance/misi.php result: quarantined evidence_sha256: 9a8d0241ae25b1414b6929121d75a2cfaf60088647472bf2091b86b31397489e timestamp: 20260718T160241Z finding_ref: 6950 vhost: www.archline.hu rel_path: maintenance/mtips.php result: quarantined evidence_sha256: bad973163f0cfc180e058ecc776649cfd0610988cea2dbd5ad92ab24e78d164b timestamp: 20260718T160241Z finding_ref: 6952 vhost: www.archline.hu rel_path: maintenance/mycommerce.php result: quarantined evidence_sha256: 9374bd05b88ff81f22f1fdf5ad75b6222424619e7ab52b2c64271cc92a35dec3 timestamp: 20260718T160241Z finding_ref: 7014 vhost: www.archline.hu rel_path: maintenance/newclick.php result: quarantined evidence_sha256: 3f32d0173ac56ede04e95ec33310215893910db29d8b8b22a6faceb2341107a6 timestamp: 20260718T160241Z finding_ref: 6993 vhost: www.archline.hu rel_path: maintenance/nonprofit.php result: quarantined evidence_sha256: 7668275ecb3a45ec9a4c65e11d3bc8b6587565f4c6e117cc045db9697ece9a50 timestamp: 20260718T160241Z finding_ref: 7021 vhost: www.archline.hu rel_path: maintenance/piracy.php result: quarantined evidence_sha256: e08cfe172199c5f2d9935236b509c30b3b3c5db37d51303b041dda35eaad224f timestamp: 20260718T160241Z finding_ref: 7020 vhost: www.archline.hu rel_path: maintenance/pofiles/LiveLanguageResources_eng.json result: quarantined evidence_sha256: ccf1c1faeeca933b86ba83a397a6acb8418814faf133415cce572e37abb7a9ab timestamp: 20260718T160241Z finding_ref: 7048 vhost: www.archline.hu rel_path: maintenance/pofiles/createPO.php result: quarantined evidence_sha256: 8d75a7e0529d7f8beb6064fa0bf0dce3983d01e624caa319552e6d63c090442c timestamp: 20260718T160241Z finding_ref: 7049 vhost: www.archline.hu rel_path: maintenance/pro_live_bundle.php result: quarantined evidence_sha256: 6a0a7c4785149d3bd63792b668592915492b1c1ed38ecf93f2790c212068dace timestamp: 20260718T160241Z finding_ref: 7016 vhost: www.archline.hu rel_path: maintenance/public/css/jquery-ui.css result: quarantined evidence_sha256: db42c386e012d6f3d4e8f683e7ac75766377534429eb8c967a6ea98fc0449133 timestamp: 20260718T160241Z finding_ref: 7125 vhost: www.archline.hu rel_path: maintenance/public/css/smoothDivScroll.css result: quarantined evidence_sha256: 453018b74e017e285ceee77c00fac6c526d4035df428a841cb030c585f3e28ba timestamp: 20260718T160241Z finding_ref: 7127 vhost: www.archline.hu rel_path: maintenance/public/css/style.css result: quarantined evidence_sha256: 5929919f09de793ac4f5e9fa310bd8a401de48b820cf0031bbde306025470f33 timestamp: 20260718T160241Z finding_ref: 7126 vhost: www.archline.hu rel_path: maintenance/public/js/8132d19a66.js result: quarantined evidence_sha256: 961c5cc1e53c52fc4f28af92be97145df71848c6d5ebec7b785e0cf7333dfad7 timestamp: 20260718T160241Z finding_ref: 7130 vhost: www.archline.hu rel_path: maintenance/public/js/jquery-1.12.4.min.js result: quarantined evidence_sha256: 996d298d6f8685a3ae28eace9249e3580bb8d13d91d424573fefb40d52980269 timestamp: 20260718T160241Z finding_ref: 7128 vhost: www.archline.hu rel_path: maintenance/public/js/jquery-ui-1.12.1.min.js result: quarantined evidence_sha256: 394bbda5db6dffe470e0ab474c3fc417746f0cc3bcf070dfea83acbe612ba7fd timestamp: 20260718T160241Z finding_ref: 7132 vhost: www.archline.hu rel_path: maintenance/public/js/jquery.mousewheel.min.js result: quarantined evidence_sha256: 46a74c30a30c5b123f723d3483fed6c6062d143db36670bfac2dec09244d74ba timestamp: 20260718T160241Z finding_ref: 7129 vhost: www.archline.hu rel_path: maintenance/public/js/jquery.smoothdivscroll-1.3-min.js result: quarantined evidence_sha256: ac9c5a253a53e780580426b4be45d33684c6665cf13ad20921987f200574c928 timestamp: 20260718T160241Z finding_ref: 7131 vhost: www.archline.hu rel_path: maintenance/read_server_txt.php result: quarantined evidence_sha256: a0cd7054103ec17ea5c535273f17ae16027d9259cfc5ba1e9d26c02c8af5590f timestamp: 20260718T160241Z finding_ref: 7032 vhost: www.archline.hu rel_path: maintenance/redirect_login.php result: quarantined evidence_sha256: 42930227ffec485c544d637597120a3058b26c0b076f4155e728218a31c56d0a timestamp: 20260718T160241Z finding_ref: 7013 vhost: www.archline.hu rel_path: maintenance/regisztracio.php result: quarantined evidence_sha256: 92711db3fc51e3597231ec308a71b2ac5e512b18d2ba9a01575e04addcf01b0e timestamp: 20260718T160241Z finding_ref: 7011 vhost: www.archline.hu rel_path: maintenance/render/log.txt result: quarantined evidence_sha256: caa221612f060fac33e12203b9386238473ad48ee489511d7e1bf6568cf75eb0 timestamp: 20260718T160241Z finding_ref: 7050 vhost: www.archline.hu rel_path: maintenance/render_ellenorzo.sh result: quarantined evidence_sha256: 71d2984eebd50c54e8869826f78b62293aed3bcd29d265c599c01a9bb9eb5810 timestamp: 20260718T160241Z finding_ref: 6940 vhost: www.archline.hu rel_path: maintenance/startchangedhardlock.php result: quarantined evidence_sha256: 7879594725fcd9c16baff83bdcbd76c281b463bb83f530e16fd2b36b6e095cd0 timestamp: 20260718T160241Z finding_ref: 6991 vhost: www.archline.hu rel_path: maintenance/supportupload.php result: quarantined evidence_sha256: ba9d487171d3260c597c7871ca9dab1466320d1c485775ed639814c6a8be1210 timestamp: 20260718T160241Z finding_ref: 7000 vhost: www.archline.hu rel_path: maintenance/sw.php result: quarantined evidence_sha256: 42d5015e0964ffa72f977077b46c86839c57069ff39dfdf42e181b01725511d3 timestamp: 20260718T160241Z finding_ref: 7015 vhost: www.archline.hu rel_path: maintenance/sw_secondary.php result: quarantined evidence_sha256: 18401f780ddd7d681b5e519202d1ecc576940d0b08f2fa49a8d66783d2f50029 timestamp: 20260718T160241Z finding_ref: 6976 vhost: www.archline.hu rel_path: maintenance/sync.php result: quarantined evidence_sha256: e02148c015f9d2d554b443ded42171cd516bf9b8222711dd8ef6b89d95ca280f timestamp: 20260718T160241Z finding_ref: 6954 vhost: www.archline.hu rel_path: maintenance/sync_downgrade.php result: quarantined evidence_sha256: f952d912f34d7e660d632ae56bbd6a000793d60abc946ca3b71d5a7756047bd4 timestamp: 20260718T160241Z finding_ref: 7009 vhost: www.archline.hu rel_path: maintenance/sync_download.php result: quarantined evidence_sha256: 1938cf7507d197a753e43bb7f8366f72e9243333d3c63e994d1aa14187a20c37 timestamp: 20260718T160241Z finding_ref: 6962 vhost: www.archline.hu rel_path: maintenance/sync_emailtopartners.php result: quarantined evidence_sha256: df4a03c56de24830b62eb927f5fb0e2639332c706e7a134d6dbb105201c722b0 timestamp: 20260718T160241Z finding_ref: 7007 vhost: www.archline.hu rel_path: maintenance/sync_fizetes.php result: quarantined evidence_sha256: 6bc63f65be6e5320fefb25dee492020282b73fbdb3c91245fdd01f07eb6c6348 timestamp: 20260718T160241Z finding_ref: 7026 vhost: www.archline.hu rel_path: maintenance/sync_history.php result: quarantined evidence_sha256: a39f1734dab918588c4cee44c08c96a13afb6ec8c6f407fae152d170a076a004 timestamp: 20260718T160241Z finding_ref: 7012 vhost: www.archline.hu rel_path: maintenance/sync_honapkepe.php result: quarantined evidence_sha256: 579b6967de0f5e446051b07e614f8f0004cc9e976d475dc29ca40a8cdf45476e timestamp: 20260718T160241Z finding_ref: 6980 vhost: www.archline.hu rel_path: maintenance/sync_ita_email.php result: quarantined evidence_sha256: b3b42b0181a29fb6a93017be2cee068675d5fb3cf949c7cbf2765654791ba188 timestamp: 20260718T160241Z finding_ref: 7029 vhost: www.archline.hu rel_path: maintenance/sync_maintenance.php result: quarantined evidence_sha256: da6986e4601dd9b1b1e5b4f8a72f5dbe7491d778ab07eb7be7c21d67a1fc890e timestamp: 20260718T160241Z finding_ref: 7024 vhost: www.archline.hu rel_path: maintenance/sync_nonprofit.php result: quarantined evidence_sha256: 30a80e1e87e32177c69da9836bcc0e8252218417f10f2942c2427c3515c32744 timestamp: 20260718T160241Z finding_ref: 7027 vhost: www.archline.hu rel_path: maintenance/sync_palyazat.php result: quarantined evidence_sha256: b259008a9dc885ffb0757dbe36aa14fcef8a9795adcdf7ce209ed626725068dd timestamp: 20260718T160241Z finding_ref: 6967 vhost: www.archline.hu rel_path: maintenance/sync_sendemail.php result: quarantined evidence_sha256: fba28dec3f31a781dbe65e4edbc47712c3ac1bec90769179c18a85a88bb164f1 timestamp: 20260718T160241Z finding_ref: 7028 vhost: www.archline.hu rel_path: maintenance/sync_states.php result: quarantined evidence_sha256: aa32be907414a5d572f35f10ff6c5fb59163b77ad9eb5093fbcd7b4c7f60a244 timestamp: 20260718T160241Z finding_ref: 7003 vhost: www.archline.hu rel_path: maintenance/sync_switch.php result: quarantined evidence_sha256: a1baa9f31f580781aef011376a4d0d181e3736530a7937829b7586907935cca5 timestamp: 20260718T160241Z finding_ref: 6996 vhost: www.archline.hu rel_path: maintenance/sync_workshop.php result: quarantined evidence_sha256: 4bb48f1919628d88174fb2ed5ccfd34223a593a8061e0574e4e09955e253328e timestamp: 20260718T160241Z finding_ref: 7018 vhost: www.archline.hu rel_path: maintenance/szamlazz.php result: quarantined evidence_sha256: 7a40d5a9ab90cd2844e51539a50eb4df7bba1f39a466d908b5a80c72ab10a4da timestamp: 20260718T160241Z finding_ref: 7001 vhost: www.archline.hu rel_path: maintenance/test.php result: quarantined evidence_sha256: 66c53437fc421eaaec4ee7600dbf7e208ad79665b534ec37ec40d20332e3b8fc timestamp: 20260718T160241Z finding_ref: 7006 vhost: www.archline.hu rel_path: maintenance/test_API.php result: quarantined evidence_sha256: 3ec1a49bbf302b59e532fbd86b9ddb23a61dae6237d56b81d58035b1cecd7259 timestamp: 20260718T160241Z finding_ref: 6956 vhost: www.archline.hu rel_path: maintenance/tests/get-builds.php result: quarantined evidence_sha256: a400acf1a4eb60a605204c8b24a9b4c12e59715b981f25c8fa25f4d303963a80 timestamp: 20260718T160241Z finding_ref: 7040 vhost: www.archline.hu rel_path: maintenance/tests/scripts/jquery-1.11.1.min.js result: quarantined evidence_sha256: 91222f96f34735ebc88df208017e54d4329b9202e3e52367fb8b149698a1a5ef timestamp: 20260718T160241Z finding_ref: 7043 vhost: www.archline.hu rel_path: maintenance/tests/scripts/jquery.treeview.min.js result: quarantined evidence_sha256: ccdd192363ce8c5227f709081e9a25557f414b875fd0a6f1ec01714e1fc0ae09 timestamp: 20260718T160241Z finding_ref: 7045 vhost: www.archline.hu rel_path: maintenance/tests/scripts/scripts.js result: quarantined evidence_sha256: a09307e81e779b289647f301bce3379578628d83832399c388f8244160198815 timestamp: 20260718T160241Z finding_ref: 7042 vhost: www.archline.hu rel_path: maintenance/tests/scripts/uploader.js result: quarantined evidence_sha256: ad7f7b43dca201573caedf4e7c6f4f7a5f80db151e21d0935da6dbc3a2bcb0d9 timestamp: 20260718T160241Z finding_ref: 7044 vhost: www.archline.hu rel_path: maintenance/tests/showTest.php result: quarantined evidence_sha256: ace9c8f4c31c078352430d92c5feb37a1d41d5872708f057d38e55ec83a75f76 timestamp: 20260718T160241Z finding_ref: 7041 vhost: www.archline.hu rel_path: maintenance/tests/styles/jquery.treeview.css result: quarantined evidence_sha256: a88513b0cdb683374c2d5fd2726b0c36fdc641cf9faa0bcdaf3e5ac047496ecf timestamp: 20260718T160241Z finding_ref: 7047 vhost: www.archline.hu rel_path: maintenance/tests/styles/styles.css result: quarantined evidence_sha256: 49f6bac99404de4944d459db6d567eae9eea8558e3ac54be18993710fb9de5ac timestamp: 20260718T160241Z finding_ref: 7046 vhost: www.archline.hu rel_path: maintenance/teszt.php result: quarantined evidence_sha256: 679dbf87dbc271d7db1d1b8f5c1c1337e90086a55f8cada0284243dbf2c657d6 timestamp: 20260718T160241Z finding_ref: 6969 vhost: www.archline.hu rel_path: maintenance/tips.php result: quarantined evidence_sha256: 1d4bcacd575956bee56a512abf8b0933b59f6eadd322ceeca03fd42c093ce0de timestamp: 20260718T160241Z finding_ref: 6971 vhost: www.archline.hu rel_path: maintenance/tips.php.orig result: quarantined evidence_sha256: 74051edf6d36eba33f0e25997839fd397363d2e37dc845621355e5f85e702f24 timestamp: 20260718T160241Z finding_ref: 3038 vhost: www.archline.hu rel_path: maintenance/tm.php result: quarantined evidence_sha256: 9349a35dbac9c8344f7d96790a0396d61739d90072d950f983ba31e21ec4a755 timestamp: 20260718T160241Z finding_ref: 6974 vhost: www.archline.hu rel_path: maintenance/tooltip.html result: quarantined evidence_sha256: 86ebdc449220a164d3a008f002c6fe0523ec8812e7c1c8ce4ca7caccb416119a timestamp: 20260718T160241Z finding_ref: 6944 vhost: www.archline.hu rel_path: maintenance/unsubscribe.php result: quarantined evidence_sha256: 242812da1f5f8ec5ab22cc8288f84dc2cf525a60e5af5a614799a1c6093b7828 timestamp: 20260718T160241Z finding_ref: 7002 vhost: www.archline.hu rel_path: maintenance/update.php result: quarantined evidence_sha256: 00641bef0d3de9cd986748c851fe5a8ad06d7137e4dd4742f55a13b4e6f23103 timestamp: 20260718T160241Z finding_ref: 7025 vhost: www.archline.hu rel_path: maintenance/updatecrm.php result: quarantined evidence_sha256: c6f4f4d12d836b30cd4c8065730964098b05b5b7e65334480769878fd3175787 timestamp: 20260718T160241Z finding_ref: 7033 vhost: www.archline.hu rel_path: maintenance/updateget.php result: quarantined evidence_sha256: 07e6a76b0b9cec60fab6366098cb8a0f45b2576f4e2e9463ddef4733834c83d2 timestamp: 20260718T160241Z finding_ref: 7008 vhost: www.archline.hu rel_path: maintenance/updatexml.php result: quarantined evidence_sha256: 73d6f80597e1f7d9cfbe2342b7d9e8f96527651359b3ab7220c36cb9b9cdaf5d timestamp: 20260718T160241Z finding_ref: 6963 vhost: www.archline.hu rel_path: maintenance/upload_file.php result: quarantined evidence_sha256: b7f560d3bcabaada7adb2560c35d7cdd966cc854318ccb834af913d8e8549162 timestamp: 20260718T160241Z finding_ref: 6970 vhost: www.archline.hu rel_path: maintenance/url_redirect.php result: quarantined evidence_sha256: 95e7bc70827543ad625a2c92fdda648f61af1b5ecb418df0d49564d5e49fa647 timestamp: 20260718T160241Z finding_ref: 7004 vhost: www.archline.hu rel_path: maintenance/users.php result: quarantined evidence_sha256: 64705762b20c5bfeb69c260eb93cf52798683081e524fc703d5d64a5110a9ef5 timestamp: 20260718T160241Z finding_ref: 6966 vhost: www.archline.hu rel_path: maintenance/version.php result: quarantined evidence_sha256: 306414f07813f69e3db065ca8f2020b0fa7c82f16f17fd7a33cd7453a5c69a88 timestamp: 20260718T160241Z finding_ref: 6999 vhost: www.archline.hu rel_path: maintenance/viewerlejartaktorlese.php result: quarantined evidence_sha256: a3bc71a6ad0c85019a1eefc8dfc90a452763e6cd67fbaff1c47eb31aab4c3475 timestamp: 20260718T160241Z finding_ref: 6946 vhost: www.archline.hu rel_path: maintenance/warehousedownloadlink.php result: quarantined evidence_sha256: 81d2d5b57c79f2d746f185ef001fb95f9a30cf16aa6f46fec6ba00330685916f timestamp: 20260718T160241Z finding_ref: 7019 vhost: www.archline.hu rel_path: maintenance/warehousegetfileformat.php result: quarantined evidence_sha256: a7e93ea07a0a6c0dc8e7343d2bfe89b1b8929c3e82ec8fad12e583e9686c4244 timestamp: 20260718T160241Z finding_ref: 6947 vhost: www.archline.hu rel_path: maintenance/warehouseparsesource.php result: quarantined evidence_sha256: f6ac213fd6dc82fb078180ad48b5cd796d72f336e0c45f4a5a96532577a3301b timestamp: 20260718T160241Z finding_ref: 6985 vhost: www.archline.hu rel_path: maintenance/webform/ai_render_upload.php result: quarantined evidence_sha256: 398719e2ab5a5f47f18379543d8fd1326a4cf0444d53c8c920a50d635b628b54 timestamp: 20260718T160241Z finding_ref: 7094 vhost: www.archline.hu rel_path: maintenance/webform/al_login.php result: quarantined evidence_sha256: 3c177054b2b41308addfa339f8aee9608c5a91c36163822467dfe24f3d670778 timestamp: 20260718T160241Z finding_ref: 7109 vhost: www.archline.hu rel_path: maintenance/webform/blank_result.php result: quarantined evidence_sha256: 64ba11005cdc5ae445fe9c1a8f4d83d281395e9af01a81b565e8df35310221b8 timestamp: 20260718T160241Z finding_ref: 7116 vhost: www.archline.hu rel_path: maintenance/webform/cloud_library_upload.php result: quarantined evidence_sha256: 50a20936f4fab68629eb29dad352222be583f7e8a06dffe81d1f5744a4e61b78 timestamp: 20260718T160241Z finding_ref: 7092 vhost: www.archline.hu rel_path: maintenance/webform/custom_page_test.php result: quarantined evidence_sha256: fcf3de63b1e7f30f0a827506e56170215444c5ede668cccd02d86b60da11a482 timestamp: 20260718T160241Z finding_ref: 7101 vhost: www.archline.hu rel_path: maintenance/webform/error_message.php result: quarantined evidence_sha256: c53b397287884ff6d05920e3e1aa9412a9a2983eaa296e203cf02d626164a6d1 timestamp: 20260718T160241Z finding_ref: 7108 vhost: www.archline.hu rel_path: maintenance/webform/exchange_registration.php result: quarantined evidence_sha256: 431a44d2c727adb1af8bb513a1be547a169401aba02c7ea86bce9a22042426b6 timestamp: 20260718T160241Z finding_ref: 7098 vhost: www.archline.hu rel_path: maintenance/webform/floating_licence.php result: quarantined evidence_sha256: de8f16c5377da6cda3f775ce8c7b5692513522f4886e571a01c365c2fc58b6c7 timestamp: 20260718T160241Z finding_ref: 7113 vhost: www.archline.hu rel_path: maintenance/webform/get_protocol.php result: quarantined evidence_sha256: 29bbe3fab50efc67a1d5b6dbe0b10178ade1cedf63fe6b9d89c1825cef05bd1e timestamp: 20260718T160241Z finding_ref: 7095 vhost: www.archline.hu rel_path: maintenance/webform/get_result.php result: quarantined evidence_sha256: efe83ed6968f7a461521aa687b9da2674705f82db2d368ad7d49f8086602fd5f timestamp: 20260718T160241Z finding_ref: 7110 vhost: www.archline.hu rel_path: maintenance/webform/get_serial.php result: quarantined evidence_sha256: 113acce566e83f03babe0f8a04edb2e22852153a9cccf4a338e10016b957c2a9 timestamp: 20260718T160241Z finding_ref: 7096 vhost: www.archline.hu rel_path: maintenance/webform/get_trial.php result: quarantined evidence_sha256: f80528daead94284ae2a25a90865b8583646594d49c46e0950e0aa2ea505a05f timestamp: 20260718T160241Z finding_ref: 7091 vhost: www.archline.hu rel_path: maintenance/webform/get_user_params.php result: quarantined evidence_sha256: 98a0fd44637065ab5345354da6fcc8d262165db1dae3df61692b51ad683a9025 timestamp: 20260718T160241Z finding_ref: 7100 vhost: www.archline.hu rel_path: maintenance/webform/hello.php result: quarantined evidence_sha256: 3f56199579a8c09eef21115b08cb7a5d65320967bb3473b3cac872c2c58a704b timestamp: 20260718T160241Z finding_ref: 7105 vhost: www.archline.hu rel_path: maintenance/webform/hl_pin.php result: quarantined evidence_sha256: f4803a437343e1c6e1696943323d5e8e40011baedf85634a0b778dd797384fc0 timestamp: 20260718T160241Z finding_ref: 7114 vhost: www.archline.hu rel_path: maintenance/webform/installers.php result: quarantined evidence_sha256: ede6f9bfe6a5286c699f3774318a2fa602388828df712d25b0f1bc7f4da9445c timestamp: 20260718T160241Z finding_ref: 7117 vhost: www.archline.hu rel_path: maintenance/webform/ita_selectprogramdialog_test.php result: quarantined evidence_sha256: f2d101a9e6c787b3adda2975dc080b13c562a33f35591d12c984c06aba714060 timestamp: 20260718T160241Z finding_ref: 7104 vhost: www.archline.hu rel_path: maintenance/webform/languages/eng.php result: quarantined evidence_sha256: 46d6fd4dfa5190147500b9f6d176fd8941fb2defb7738aa999674030fae0eefa timestamp: 20260718T160241Z finding_ref: 7120 vhost: www.archline.hu rel_path: maintenance/webform/languages/esp.php result: quarantined evidence_sha256: 3fad17f103bfa94fb6847f667876067910fb203afa614898d6b6be5d6e5cc6da timestamp: 20260718T160241Z finding_ref: 7118 vhost: www.archline.hu rel_path: maintenance/webform/languages/hun.php result: quarantined evidence_sha256: 415037acd07a080ce1d0919b99c4ed98db3a6af0de007897aecf05f631c60cda timestamp: 20260718T160241Z finding_ref: 7119 vhost: www.archline.hu rel_path: maintenance/webform/login.php result: quarantined evidence_sha256: 6c5afd12a7cc5cd371818afb512326d3a20909c3983747acad59bba5a8f31edb timestamp: 20260718T160241Z finding_ref: 7089 vhost: www.archline.hu rel_path: maintenance/webform/loginresult.php result: quarantined evidence_sha256: 111475c122ad8ef042b3be0cb685fef27e26dae1253e78980262d69a6330240b timestamp: 20260718T160241Z finding_ref: 7090 vhost: www.archline.hu rel_path: maintenance/webform/mobileviewer_create.php result: quarantined evidence_sha256: c704e45e4b66c613515fb2a610eaee5cea05cc34c59f2bffd894be7317e8d81a timestamp: 20260718T160241Z finding_ref: 7115 vhost: www.archline.hu rel_path: maintenance/webform/nonprofit.php result: quarantined evidence_sha256: f2402993818c579c4ae0dff83b14d1d4eafe0538c6c78fd254394b3cc32fa1ce timestamp: 20260718T160241Z finding_ref: 7111 vhost: www.archline.hu rel_path: maintenance/webform/progress.php result: quarantined evidence_sha256: 69d97cce20e8f1d3d0a729770d3900375fcf2e71eec508ac3094b225fa86149d timestamp: 20260718T160241Z finding_ref: 7097 vhost: www.archline.hu rel_path: maintenance/webform/public/css/bootstrap-datepicker.min.css result: quarantined evidence_sha256: c6f7f9b4b991b8777f7d4bb7c71caefb1ebdb25d54cc49238e45197508a42fba timestamp: 20260718T160241Z finding_ref: 7121 vhost: www.archline.hu rel_path: maintenance/webform/public/css/style.css result: quarantined evidence_sha256: 4ec1c6746a78cb82ef9602dbab6a4ecf64d17d12dbab98c737fcb54496572c2c timestamp: 20260718T160241Z finding_ref: 7122 vhost: www.archline.hu rel_path: maintenance/webform/public/js/bootstrap-datepicker.min.js result: quarantined evidence_sha256: 451f8779286b82a87c56fdb09b07ec039a8834d1e294d6c94fa48a937f8e9c6c timestamp: 20260718T160241Z finding_ref: 7123 vhost: www.archline.hu rel_path: maintenance/webform/public/js/main.js result: quarantined evidence_sha256: 2c7211c027bde9f33665fd013f13b5c2f1433f6144469036fcee2601232599eb timestamp: 20260718T160241Z finding_ref: 7124 vhost: www.archline.hu rel_path: maintenance/webform/regsuccess.php result: quarantined evidence_sha256: 21cd484b1399b458c705bde21d27f0ac5232d41b4e8e53674a04d55d38b05596 timestamp: 20260718T160241Z finding_ref: 7102 vhost: www.archline.hu rel_path: maintenance/webform/result.php result: quarantined evidence_sha256: e499571b46d11779a145b7e812a116bdbd8bff01e2970c8ddbc284c3c2a4f319 timestamp: 20260718T160241Z finding_ref: 7099 vhost: www.archline.hu rel_path: maintenance/webform/sample.php result: quarantined evidence_sha256: babfd231ed275d0bba17f58603f74c7ed42e6bf55f15efe739b42d127d986e27 timestamp: 20260718T160241Z finding_ref: 7107 vhost: www.archline.hu rel_path: maintenance/webform/select_dealer.php result: quarantined evidence_sha256: 8dc62c6a46976b7f511a37082a8934bed1848e3d185e5c11efa94e46522a1179 timestamp: 20260718T160241Z finding_ref: 7106 vhost: www.archline.hu rel_path: maintenance/webform/selectprogramdialog.php result: quarantined evidence_sha256: 33cece71cda07cef47bbc4c01fca6153646eec0611cc6f766df0a380cd7efa41 timestamp: 20260718T160241Z finding_ref: 7093 vhost: www.archline.hu rel_path: maintenance/webform/startQuery.php result: quarantined evidence_sha256: 42991f88d4f8c104a364b3b302cfe08d00916d20fb26771c10bca4a164ac80c9 timestamp: 20260718T160241Z finding_ref: 7112 vhost: www.archline.hu rel_path: maintenance/webform/test_result.php result: quarantined evidence_sha256: 11b40cd4cb670ef43c214957e95fd4af2240b21aafee5f8050ae3a665f765e2e timestamp: 20260718T160241Z finding_ref: 7103 vhost: www.archline.hu rel_path: maintenance/zendesk/get_zendesk_articles.php result: quarantined evidence_sha256: b79049cfe4dae6060419fa6370603beff266c978857fc2dbb55b25fda06aa7f3 timestamp: 20260718T160241Z finding_ref: 7133 vhost: www.archline.hu rel_path: maintenance/zendesk/update_crc.php result: quarantined evidence_sha256: 7db79592f8b92390f77bf2c90a67c43afe83ac7835ac8123657673e932190c17 timestamp: 20260718T160241Z finding_ref: 7135 vhost: www.archline.hu rel_path: maintenance/zendesk/zendesk.php result: quarantined evidence_sha256: 91f79d334079716388095456ab7e635cb809a5da00703fdc67afe021cdf09318 timestamp: 20260718T160241Z finding_ref: 7134
This commit is contained in:
parent
097e4b17b2
commit
a8971cb60a
@ -0,0 +1,432 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* sh404SEF - SEO extension for Joomla!
|
||||||
|
*
|
||||||
|
* @author Yannick Gaultier
|
||||||
|
* @copyright (c) Yannick Gaultier 2014
|
||||||
|
* @package sh404SEF
|
||||||
|
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||||
|
* @version 4.4.4.1791
|
||||||
|
* @date 2014-07-01
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Security check to ensure this file is being included by a parent file.
|
||||||
|
if (!defined('_JEXEC'))
|
||||||
|
die('Direct Access to this location is not allowed.');
|
||||||
|
|
||||||
|
class Sh404sefHelperUpdates
|
||||||
|
{
|
||||||
|
|
||||||
|
private static $_endPoint = 'http://u1.weeblr.com/public/direct/sh404sef/legacy';
|
||||||
|
private static $_configEndPoint = 'http://u1.weeblr.com/public/direct/sh404sef/config';
|
||||||
|
|
||||||
|
private static $_product = 'sh404sef';
|
||||||
|
private static $_updateFile = 'sh404sef_updates.xml';
|
||||||
|
private static $_config = 'sh404sef_config.xml';
|
||||||
|
private static $_devConfig = 'sh404sef_config_dev.xml';
|
||||||
|
|
||||||
|
// store whether doing a forced update. Reason to store it
|
||||||
|
// is to keep _doCheck() method w/o any parameters
|
||||||
|
// as this would otherwise prevent caching from operating
|
||||||
|
// normally
|
||||||
|
private static $_forced = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Obtain update information, as stored in cache
|
||||||
|
* by checkForUpdates
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public static function getUpdatesInfos($forced = false)
|
||||||
|
{
|
||||||
|
// store whether doing a forced check for updates
|
||||||
|
self::$_forced['updates'] = $forced;
|
||||||
|
|
||||||
|
// get cache object
|
||||||
|
$cache = JFactory::getCache('sh404sef_updates');
|
||||||
|
$cache->setLifetime(1440); // cache result for 24 hours
|
||||||
|
$cache->setCaching(1); // force caching on
|
||||||
|
|
||||||
|
// empty cache if we are going to look for updates
|
||||||
|
if ($forced)
|
||||||
|
{
|
||||||
|
// clean our cache
|
||||||
|
$cache->clean('sh404sef_updates');
|
||||||
|
}
|
||||||
|
|
||||||
|
$response = $cache->call(array('Sh404sefHelperUpdates', '_doCheck'));
|
||||||
|
|
||||||
|
// find out whether we should update
|
||||||
|
$response = self::_updateRequired($response);
|
||||||
|
|
||||||
|
// return response, either dummy or from cache
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Obtain remote configuration info
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public static function getRemoteConfig($forced = false)
|
||||||
|
{
|
||||||
|
// EOL/perf fix (cadline/infra#38): sh404sef consults this remote-config cache from
|
||||||
|
// disk on every URL rewrite -> thousands of stat/open/read per request (CPU/IO spin,
|
||||||
|
// worker starvation under load). Memoize per-request in-memory: the file cache is
|
||||||
|
// consulted at most once per request. Behaviour unchanged (identical config value).
|
||||||
|
static $memo = null;
|
||||||
|
if ($memo !== null && empty($forced))
|
||||||
|
{
|
||||||
|
return $memo;
|
||||||
|
}
|
||||||
|
|
||||||
|
// store whether doing a forced check for updates
|
||||||
|
self::$_forced['rconfig'] = $forced;
|
||||||
|
|
||||||
|
// get cache object
|
||||||
|
$cache = JFactory::getCache('sh404sef_rconfig');
|
||||||
|
$cache->setLifetime(60); // cache result for an hour
|
||||||
|
$cache->setCaching(1); // force caching on
|
||||||
|
|
||||||
|
// empty cache if we are going to look for updates
|
||||||
|
if ($forced)
|
||||||
|
{
|
||||||
|
// clean our cache
|
||||||
|
$cache->clean('sh404sef_rconfig');
|
||||||
|
}
|
||||||
|
|
||||||
|
$response = $cache->call(array('Sh404sefHelperUpdates', '_doRemoteConfig'));
|
||||||
|
|
||||||
|
// return response, either dummy or from cache
|
||||||
|
$memo = $response;
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function _doCheck()
|
||||||
|
{
|
||||||
|
// if not set to auto check and not forced to do so
|
||||||
|
// when user click on "check updates" button
|
||||||
|
// we don't actually try to get updates info
|
||||||
|
$sefConfig = &Sh404sefFactory::getConfig();
|
||||||
|
|
||||||
|
// prepare a default response object
|
||||||
|
$response = new stdClass();
|
||||||
|
$response->status = true;
|
||||||
|
$response->statusMessage = JText::_('COM_SH404SEF_CLICK_TO_CHECK_UPDATES');
|
||||||
|
$response->current = 0;
|
||||||
|
$response->note = '';
|
||||||
|
$response->changelogLink = '';
|
||||||
|
$response->minVersionToUpgrade = 0;
|
||||||
|
$response->maxVersionToUpgrade = 0;
|
||||||
|
$response->shouldUpdate = false;
|
||||||
|
$response->excludes = array();
|
||||||
|
|
||||||
|
// check if allowed to auto check, w/o user clicking on button
|
||||||
|
if (!$sefConfig->autoCheckNewVersion && empty(self::$_forced['updates']))
|
||||||
|
{
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
// get an http client
|
||||||
|
$hClient = new Zendshl_Http_Client;
|
||||||
|
$hClient->setConfig(array('maxredirects' => 0, 'timeout' => 10));
|
||||||
|
|
||||||
|
// find where to call ...
|
||||||
|
$remoteConfig = self::getRemoteConfig($forced = false);
|
||||||
|
// hardcoded default update server
|
||||||
|
$defaultServers = array(array('url' => self::$_endPoint . '/' . self::$_updateFile));
|
||||||
|
// try to read from remote, central, configuration file
|
||||||
|
$remoteServers = empty($remoteConfig->config['updateservers']) ? array() : $remoteConfig->config['updateservers'];
|
||||||
|
// merge default and remote
|
||||||
|
$servers = array_merge($remoteServers, $defaultServers);
|
||||||
|
// check for urls in both defaults and remote
|
||||||
|
$serverList = array();
|
||||||
|
foreach ($servers as $server)
|
||||||
|
{
|
||||||
|
if(!empty($server['url']))
|
||||||
|
{
|
||||||
|
$serverList[] = JString::trim(($server['url']));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$serverList = array_unique($serverList);
|
||||||
|
// now iterate over server list, until we find one that responds
|
||||||
|
foreach ($serverList as $server)
|
||||||
|
{
|
||||||
|
$response->status = true;
|
||||||
|
|
||||||
|
// actually place a call to find about available updates
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$hClient->setUri($server);
|
||||||
|
}
|
||||||
|
catch (Exception $e)
|
||||||
|
{
|
||||||
|
// move to next update server in list
|
||||||
|
$response->status = false;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// request file content
|
||||||
|
$adapters = array('Zendshl_Http_Client_Adapter_Curl', 'Zendshl_Http_Client_Adapter_Socket');
|
||||||
|
$rawResponse = null;
|
||||||
|
|
||||||
|
foreach ($adapters as $adapter)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$hClient->setAdapter($adapter);
|
||||||
|
$rawResponse = $hClient->request();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
catch (Exception $e)
|
||||||
|
{
|
||||||
|
// we failed, let's try another method
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// (un)set flag if we have a response
|
||||||
|
if (empty($rawResponse))
|
||||||
|
{
|
||||||
|
$response->status = false;
|
||||||
|
$msg = 'unknown code';
|
||||||
|
$response->statusMessage = JText::sprintf('COM_SH404SEF_COULD_NOT_CHECK_FOR_NEW_VERSION', $msg);
|
||||||
|
}
|
||||||
|
else if (!is_object($rawResponse) || $rawResponse->isError())
|
||||||
|
{
|
||||||
|
$response->status = false;
|
||||||
|
$msg = method_exists($rawResponse, 'getStatus') ? $rawResponse->getStatus() : 'unknown code';
|
||||||
|
$response->statusMessage = JText::sprintf('COM_SH404SEF_COULD_NOT_CHECK_FOR_NEW_VERSION', $msg);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// communication was fine, check the file type
|
||||||
|
$type = $rawResponse->getHeader('Content-type');
|
||||||
|
if (strtolower($type) != 'text/xml' && strtolower($type) != 'application/xml')
|
||||||
|
{
|
||||||
|
$response->status = false;
|
||||||
|
$response->statusMessage = JText::sprintf('COM_SH404SEF_COULD_NOT_CHECK_FOR_NEW_VERSION', $rawResponse->getStatus());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// if there was a valid response, break out of
|
||||||
|
// loop over available update servers
|
||||||
|
if ($response->status)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// if we were not able to contact any update server
|
||||||
|
// return this
|
||||||
|
if (!$response->status)
|
||||||
|
{
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// get an xml object and parse the response
|
||||||
|
$xml = new SimpleXMLElement($rawResponse->getBody());
|
||||||
|
|
||||||
|
// into our response object
|
||||||
|
// first version of version check used an xml file that could only hold one
|
||||||
|
// version data set. So we only iterate over the "update" group if it exists
|
||||||
|
if (empty($xml->update))
|
||||||
|
{
|
||||||
|
$response = self::_readUpdateInformation($xml, $response);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach ($xml->update as $updateRecord)
|
||||||
|
{
|
||||||
|
$product = (string) $updateRecord->product[0];
|
||||||
|
|
||||||
|
// only use if this update record is for us
|
||||||
|
if (strtolower($product) == strtolower(self::$_product))
|
||||||
|
{
|
||||||
|
$response = self::_readUpdateInformation($updateRecord, $response);
|
||||||
|
|
||||||
|
// find if user should update
|
||||||
|
$response = self::_updateRequired($response);
|
||||||
|
|
||||||
|
// if found an update, break out
|
||||||
|
if ($response->shouldUpdate)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception $e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if this is a valid information file
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected static function _readUpdateInformation($updateRecord, $response)
|
||||||
|
{
|
||||||
|
|
||||||
|
$response->current = (string) $updateRecord->current[0];
|
||||||
|
$response->note = (string) $updateRecord->note[0];
|
||||||
|
$response->changelogLink = (string) $updateRecord->changelogLink[0];
|
||||||
|
$response->downloadLink = (string) $updateRecord->downloadLink[0];
|
||||||
|
$response->minVersionToUpgrade = (string) $updateRecord->minVersionToUpgrade[0];
|
||||||
|
$response->maxVersionToUpgrade = (string) $updateRecord->maxVersionToUpgrade[0];
|
||||||
|
$rawExcludes = $updateRecord->exclude;
|
||||||
|
$response->excludes = array();
|
||||||
|
if (!empty($rawExcludes))
|
||||||
|
{
|
||||||
|
foreach ($rawExcludes as $exclude)
|
||||||
|
{
|
||||||
|
$response->excludes[] = (string) $exclude;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function _doRemoteConfig()
|
||||||
|
{
|
||||||
|
|
||||||
|
// if not set to auto check and not forced to do so
|
||||||
|
// when user click on "check updates" button
|
||||||
|
// we don't actually try to get updates info
|
||||||
|
$sefConfig = &Sh404sefFactory::getConfig();
|
||||||
|
|
||||||
|
// prepare a default response object
|
||||||
|
$response = new stdClass();
|
||||||
|
$response->status = true;
|
||||||
|
$response->config = array();
|
||||||
|
|
||||||
|
// check if allowed to read central configuration file
|
||||||
|
if (!$sefConfig->canReadRemoteConfig)
|
||||||
|
{
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
// get an http client
|
||||||
|
$hClient = new Zendshl_Http_Client;
|
||||||
|
|
||||||
|
// request file content
|
||||||
|
$adapters = array('Zendshl_Http_Client_Adapter_Curl', 'Zendshl_Http_Client_Adapter_Socket');
|
||||||
|
$rawResponse = null;
|
||||||
|
|
||||||
|
foreach ($adapters as $adapter)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// set params
|
||||||
|
//$hClient->setUri( self::$_configEndPoint . '/' . self::$_devConfig);
|
||||||
|
$hClient->setUri(self::$_configEndPoint . '/' . self::$_config);
|
||||||
|
$hClient->setConfig(array('maxredirects' => 0, 'timeout' => 10));
|
||||||
|
$hClient->setAdapter($adapter);
|
||||||
|
$rawResponse = $hClient->request();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
catch (Exception $e)
|
||||||
|
{
|
||||||
|
// we failed, let's try another method
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// return if error
|
||||||
|
if (empty($rawResponse))
|
||||||
|
{
|
||||||
|
$response->status = false;
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
if (!is_object($rawResponse) || $rawResponse->isError())
|
||||||
|
{
|
||||||
|
$response->status = false;
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check the file
|
||||||
|
$type = $rawResponse->getHeader('Content-type');
|
||||||
|
if (strtolower($type) != 'text/xml' && strtolower($type) != 'application/xml')
|
||||||
|
{
|
||||||
|
$response->status = false;
|
||||||
|
return $response;
|
||||||
|
|
||||||
|
}
|
||||||
|
// should be OK then
|
||||||
|
$response->status = true;
|
||||||
|
|
||||||
|
// get an xml object and parse the response
|
||||||
|
$rawConfig = simplexml_load_string($rawResponse->getBody());
|
||||||
|
|
||||||
|
// into our response object
|
||||||
|
$response->config = array();
|
||||||
|
if (!empty($rawConfig))
|
||||||
|
{
|
||||||
|
foreach ($rawConfig->config as $configName => $configElement)
|
||||||
|
{
|
||||||
|
foreach ($configElement as $configKey => $values)
|
||||||
|
{
|
||||||
|
if (is_string($values))
|
||||||
|
{
|
||||||
|
$response->config[$configKey] = $values;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$counter = 0;
|
||||||
|
foreach ($values as $arrayName => $arrayValues)
|
||||||
|
{
|
||||||
|
$children = $arrayValues->children();
|
||||||
|
$attr = (string) $arrayValues->attributes();
|
||||||
|
$id = empty($attr) ? $counter : $attr;
|
||||||
|
$count = count($children);
|
||||||
|
if ($count > 0)
|
||||||
|
{
|
||||||
|
foreach ($arrayValues as $key => $value)
|
||||||
|
{
|
||||||
|
$response->config[$configKey][$id][$key] = (string) $value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$response->config[$configKey][] = (string) $arrayValues;
|
||||||
|
}
|
||||||
|
$counter++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if this is a valid information file
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use response object from request to update info server
|
||||||
|
* to find if an update is required
|
||||||
|
*
|
||||||
|
* @param object $response
|
||||||
|
*/
|
||||||
|
private static function _updateRequired($response)
|
||||||
|
{
|
||||||
|
// get configuration
|
||||||
|
$sefConfig = &Sh404sefFactory::getConfig();
|
||||||
|
// compare versions
|
||||||
|
$response->shouldUpdate = version_compare($sefConfig->version, $response->current, '<');
|
||||||
|
$response->shouldUpdate = $response->shouldUpdate && version_compare($sefConfig->version, $response->minVersionToUpgrade, 'ge');
|
||||||
|
$response->shouldUpdate = $response->shouldUpdate
|
||||||
|
&& (empty($response->maxVersionToUpgrade) || version_compare($sefConfig->version, $response->maxVersionToUpgrade, '<'));
|
||||||
|
if ($response->shouldUpdate)
|
||||||
|
{
|
||||||
|
// check specific versions exclusion list
|
||||||
|
$response->shouldUpdate = $response->shouldUpdate && !in_array($sefConfig->version, $response->excludes);
|
||||||
|
}
|
||||||
|
|
||||||
|
// build status message based on result of should update calculation
|
||||||
|
$newVersionText = version_compare(JVERSION, '3.0.0', 'ge') ? 'COM_SH404SEF_NEW_VERSION_AVAILABLE_NO_HTML' : 'COM_SH404SEF_NEW_VERSION_AVAILABLE';
|
||||||
|
$response->statusMessage = $response->shouldUpdate ? JText::sprintf($newVersionText)
|
||||||
|
: (JText::sprintf('COM_SH404SEF_YOU_ARE_UP_TO_DATE'));
|
||||||
|
|
||||||
|
// return whatever we found
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7147",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:administrator/components/com_sh404sef/helpers/updates.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/administrator/components/com_sh404sef/helpers/updates.php)",
|
||||||
|
"original_sha256": "39423a776ff2df4d3d0edff27c11f7b1349967f6bf091950e5a5ffa167472ca6",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 20043,
|
||||||
|
"mtime": 1784123011,
|
||||||
|
"size": 12794,
|
||||||
|
"uid": 20043
|
||||||
|
},
|
||||||
|
"rel_path": "administrator/components/com_sh404sef/helpers/updates.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,100 @@
|
|||||||
|
<?php
|
||||||
|
class POfile
|
||||||
|
{
|
||||||
|
private $stream;
|
||||||
|
|
||||||
|
function __construct($lang = 'hu_HU')
|
||||||
|
{
|
||||||
|
$header = '';
|
||||||
|
|
||||||
|
// PO headers + 1
|
||||||
|
$header .= '"Project-Id-Version: LiveLanguageResources\n"' . PHP_EOL;
|
||||||
|
$header .= '"POT-Creation-Date: ' . date('Y-m-d H:i') . '\n"' . PHP_EOL;
|
||||||
|
$header .= '"Language-Team: \n"' . PHP_EOL;
|
||||||
|
$header .= '"Language: ' . $lang . '\n"' . PHP_EOL;
|
||||||
|
$header .= '"MIME-Version: 1.0\n"' . PHP_EOL;
|
||||||
|
$header .= '"Content-Type: text/plain; charset=UTF-8\n"' . PHP_EOL;
|
||||||
|
$header .= '"Content-Transfer-Encoding: 8bit\n"' . PHP_EOL . PHP_EOL;
|
||||||
|
|
||||||
|
$this->stream = $header;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getStream()
|
||||||
|
{
|
||||||
|
return $this->stream;
|
||||||
|
}
|
||||||
|
|
||||||
|
function addComment($param, $value)
|
||||||
|
{
|
||||||
|
$this->stream .= '#. ' . $param . ': ' . str_replace("\r\n", ' ', $value) . PHP_EOL;
|
||||||
|
}
|
||||||
|
|
||||||
|
function addMsgctxt($msgctxt)
|
||||||
|
{
|
||||||
|
if (strpos($msgctxt, "<br />") !== false || strpos($msgctxt, "\r\n") !== false) {
|
||||||
|
$msgctxt = strpos($msgctxt, "\r\n") !== false ? explode("\r\n", $msgctxt) : explode("<br />", $msgctxt);
|
||||||
|
|
||||||
|
$this->stream .= 'msgctxt ""' . PHP_EOL;
|
||||||
|
for ($i = 0; $i < count($msgctxt); $i++) {
|
||||||
|
$msgctxt[$i] = strpos($msgctxt[$i], "\r\n") !== false ? $msgctxt[$i] : preg_replace("/\r|\n/", "", $msgctxt[$i]);
|
||||||
|
|
||||||
|
if ($i == 0) {
|
||||||
|
$this->stream .= '",' . $msgctxt[$i] . '\\n"';
|
||||||
|
} else {
|
||||||
|
if ($i == count($msgctxt) - 1)
|
||||||
|
$this->stream .= '"' . $msgctxt[$i] . '"';
|
||||||
|
else
|
||||||
|
$this->stream .= '"' . $msgctxt[$i] . '\\n"';
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->stream .= PHP_EOL;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$this->stream .= 'msgctxt ' . '",' . $msgctxt . '"' . PHP_EOL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function addMsgID($msgID)
|
||||||
|
{
|
||||||
|
if (strpos($msgID, "<br />") !== false || strpos($msgID, "\r\n") !== false) {
|
||||||
|
$msgID = strpos($msgID, "\r\n") !== false ? explode("\r\n", $msgID) : explode("<br />", $msgID);
|
||||||
|
|
||||||
|
$this->stream .= 'msgid ""' . PHP_EOL;
|
||||||
|
for ($i = 0; $i < count($msgID); $i++) {
|
||||||
|
$msgID[$i] = strpos($msgID[$i], "\r\n") !== false ? $msgID[$i] : preg_replace("/\r|\n/", "", $msgID[$i]);
|
||||||
|
|
||||||
|
if ($i == count($msgID) - 1)
|
||||||
|
$this->stream .= '"' . $msgID[$i] . '"';
|
||||||
|
else
|
||||||
|
$this->stream .= '"' . $msgID[$i] . '\\n"';
|
||||||
|
|
||||||
|
$this->stream .= PHP_EOL;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$this->stream .= 'msgid ' . '"' . $msgID . '"' . PHP_EOL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function addMsgSTR($msgStr)
|
||||||
|
{
|
||||||
|
if (strpos($msgStr, "<br />") !== false) {
|
||||||
|
$msgStr = explode("<br />", $msgStr);
|
||||||
|
|
||||||
|
$this->stream .= 'msgstr ""' . PHP_EOL;
|
||||||
|
for ($i = 0; $i < count($msgStr); $i++) {
|
||||||
|
$msgStr[$i] = preg_replace("/\r|\n/", "", $msgStr[$i]);
|
||||||
|
|
||||||
|
if ($i == count($msgStr) - 1)
|
||||||
|
$this->stream .= '"' . $msgStr[$i] . '"';
|
||||||
|
else
|
||||||
|
$this->stream .= '"' . $msgStr[$i] . '\\n"';
|
||||||
|
|
||||||
|
$this->stream .= PHP_EOL;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->stream .= PHP_EOL;
|
||||||
|
} else {
|
||||||
|
$this->stream .= 'msgstr ' . '"' . $msgStr . '"' . PHP_EOL . PHP_EOL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7163",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:common_cadline_libraries/POfile.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/common_cadline_libraries/POfile.php)",
|
||||||
|
"original_sha256": "0a6340d48ea4182acbdb90fe9dd0a4b3b003cd6fd096273ea46a35270551e833",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1773244861,
|
||||||
|
"size": 3522,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "common_cadline_libraries/POfile.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('Constants')) require_once("constants.php");
|
||||||
|
|
||||||
|
if ($_SERVER['SERVER_NAME'] == 'www.archline.hu' || $_SERVER['SERVER_NAME'] == 'www.archlinexp.com' || $_SERVER['SERVER_NAME'] == 'www.archlinexp.eu') {
|
||||||
|
$config['db_host'] = Constants::DB_HOST;
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'secondary.dev.cadline.hu') {
|
||||||
|
$config['db_host'] = Constants::DB_HOST;
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'crm.cadline.hu') {
|
||||||
|
$config['db_host'] = Constants::DB_HOST;
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
} else {
|
||||||
|
$config['db_host'] = '127.0.0.1';
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7160",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:common_cadline_libraries/crm_config.db.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/common_cadline_libraries/crm_config.db.php)",
|
||||||
|
"original_sha256": "b6bf5ac201bca1880d594fc4f0bd22a57c44014ae49d9c1b79096ba474277b45",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1772622166,
|
||||||
|
"size": 1111,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "common_cadline_libraries/crm_config.db.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,133 @@
|
|||||||
|
<?php
|
||||||
|
if (!defined('PATH_CODEGEN')) define('PATH_CODEGEN', "/usr/local/sbin/codegen");
|
||||||
|
if (!defined('_LEASE_VALID_DAYS_')) define("_LEASE_VALID_DAYS_", 60);
|
||||||
|
if (!defined('CRMADATBAZIS')) define('CRMADATBAZIS', "cl_hlusers");
|
||||||
|
if (!defined('JMLADATBAZIS')) define('JMLADATBAZIS', "www_archline_hu");
|
||||||
|
if (!defined('SYNCADATBAZIS')) define('SYNCADATBAZIS', "sync_crm");
|
||||||
|
if (!defined('_COURSE_PRICE_PRELIMINARY_')) define("_COURSE_PRICE_PRELIMINARY_", 342);
|
||||||
|
if (!defined('_COURSE_PRICE_INTERMEDIATE_')) define("_COURSE_PRICE_INTERMEDIATE_", 343);
|
||||||
|
if (!defined('_MANAGER_')) define("_MANAGER_", 36);
|
||||||
|
if (!defined('ACT_VERSION_ID')) define('ACT_VERSION_ID', 1182);
|
||||||
|
|
||||||
|
$crm_config = "true";
|
||||||
|
|
||||||
|
class Status
|
||||||
|
{
|
||||||
|
const sNormal = 0; // Semmilyen kiveteles esemeny nem erzekelheto, a program rendben fut
|
||||||
|
const sInconsistent = 2; // A backup key file-ok elterest mutatnak a fo key file-al
|
||||||
|
const sReenabled = 4; // Egy letiltott program most kapta meg a reaktivalo kodot
|
||||||
|
const sDisabled = 8; // A program le lett tiltva
|
||||||
|
const sLimited = 16; // A program korlatozott modban fut
|
||||||
|
const sUnlimited = 32; // A vedelem lekapcsolt, a program nem korlatozza a tovabbi mukodest
|
||||||
|
const sTimeBack = 64; // Oravisszaallitast erzekelt
|
||||||
|
const sTimeBackRestored = 128; // Kapott visszaallitas kiiktato kodot
|
||||||
|
const sFixTimeLimitReached = 256; // Elerte a beallitott vegleges lejarati idot
|
||||||
|
const sKilled = 512; // A program le lett allitva
|
||||||
|
const sCracked = 1024; // A program fel van torve
|
||||||
|
const sActiveRegistration = 2048; // A regisztraciorol kaptunk pozitiv visszajelzest
|
||||||
|
const sTimeCodeAppliedToFile = 4096; // Az idokod letarolasra kerult
|
||||||
|
const sTimeCodeErrorReceived = 8192; // Idokod helyett hibat kapott
|
||||||
|
const sNotCommercialProgram = 16384; // A program nem kereskedelmi valtozat
|
||||||
|
const sHW_keyOK = 32768; // A program hardware kulcsa rendben van
|
||||||
|
const sHW_keyLanForSingle = 65536; // A hardware kulcs lan-s es ezt hasznalna a program
|
||||||
|
const sHW_DriverVerinfoNotAvaliable = 131072; // Sentinel: Driver version info not avalaiable
|
||||||
|
const sHW_NotOurKey = 262144; // Sentinel: not our key
|
||||||
|
const sHW_TerminalServerEnableFailed = 524288; // Sentinel: enable running on terminal server failed
|
||||||
|
const sHW_KeyNotFound = 1048576; // Sentinel: key not found
|
||||||
|
const sHW_AESNotEnabled = 2097152; // Sentinel: AES not enabled
|
||||||
|
const sHW_SecTunNotEnabled = 4194304; // Sentinel: secure tunnel not enabled
|
||||||
|
const sHW_NoKeyInfo = 8388608; // Sentinel: unable to access key info
|
||||||
|
const sHW_CannotContact = 16777216; // Sentinel: cannot contact to server
|
||||||
|
const sHW_InitFailed = 33554432; // Sentinel: key initialization failed
|
||||||
|
const sHW_FormatPacket = 67108864; // Sentinel: format packet error
|
||||||
|
const sHW_LanServerNotFound = 134217728; // Sentinel: lan server not found
|
||||||
|
const sHW_keyKeySerialNotMatchingWithLicenseSerial = 268435456; // A hardwarekulcs sorozatszama nem passzol a licenc sorozatszamahoz
|
||||||
|
const sHW_LanServerKeyNotFound = 536870912; // A halozatos szerver program nem latja a kulcsot
|
||||||
|
const sHW_LanServerNotEnoughLicence = 1073741824; // A halozatos szerver szabad licencei elfogytak
|
||||||
|
const sHW_LicenceRemoved = 2147483648; // A licenc el lett tavolitva
|
||||||
|
const sFloatingLicenseToAnotherComputer = 4294967296; // A floating licence egy masik gephez lett rogzitve
|
||||||
|
const sFloatingLicensePINError = 8589934592; // A floating license nem kapta meg a pin kodjat
|
||||||
|
const sFloatingAnotherLicenseIsOnThisComputer = 17179869184; // Ehhez a gephez egy masik licensz van rogzitve
|
||||||
|
}
|
||||||
|
|
||||||
|
class CRM_Error
|
||||||
|
{
|
||||||
|
const serverDownEng = '1121 - The server is currently not available. Please retry the connection later. If the problem persists, contact customer support.';
|
||||||
|
const serverDownHun = '1121 - A szerver jelenleg nem elérhető. Kérjük, próbálja újra a kapcsolatot később. Ha a probléma továbbra is fennáll, lépjen kapcsolatba a terméktámogatással.';
|
||||||
|
}
|
||||||
|
|
||||||
|
class Floating_Error
|
||||||
|
{
|
||||||
|
const UNKNOWN = 0;
|
||||||
|
const DIFFERENT_LICENSE_ON_THE_SAME_COMPUTER = 1;
|
||||||
|
const LIMIT_REACHED = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
class Time
|
||||||
|
{
|
||||||
|
const sMin = 1;
|
||||||
|
const sFiveMin = 5;
|
||||||
|
const sFifteenMin = 15;
|
||||||
|
const sHour = 60;
|
||||||
|
const sThreeHour = 180;
|
||||||
|
const sSixHour = 360;
|
||||||
|
const sTwelveHour = 720;
|
||||||
|
const sDay = 1440;
|
||||||
|
}
|
||||||
|
|
||||||
|
class Hour
|
||||||
|
{
|
||||||
|
const sHour = 1;
|
||||||
|
const sThreeHour = 3;
|
||||||
|
const sSixHour = 6;
|
||||||
|
const sTwelveHour = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _Country
|
||||||
|
{
|
||||||
|
const Hungary = 36;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _UserType
|
||||||
|
{
|
||||||
|
const Nonprofit = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _UserStatus
|
||||||
|
{
|
||||||
|
const StudentProbBuyer = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _Profession
|
||||||
|
{
|
||||||
|
const StudentIntDesinger = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _Manager
|
||||||
|
{
|
||||||
|
const Web = 36;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _Product
|
||||||
|
{
|
||||||
|
const Professional = 1;
|
||||||
|
const Live = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _Hardlock
|
||||||
|
{
|
||||||
|
const Blank = 0;
|
||||||
|
const Active = 1;
|
||||||
|
const Inactive = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
class _Program
|
||||||
|
{
|
||||||
|
const CurrentVersion = 20;
|
||||||
|
const PrevVersion = 19;
|
||||||
|
const ProfType = 8;
|
||||||
|
const LiveType = 76;
|
||||||
|
const Active = 0;
|
||||||
|
const Inactive = 1;
|
||||||
|
const Nonprofit = 5;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7158",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:common_cadline_libraries/crm_config.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/common_cadline_libraries/crm_config.php)",
|
||||||
|
"original_sha256": "2a4e7009a1bc1ead4599bd32b35f69ee3bcb585732fe6259783ac80923bdf4ee",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1755185334,
|
||||||
|
"size": 6206,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "common_cadline_libraries/crm_config.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,616 @@
|
|||||||
|
<?php
|
||||||
|
if (!isset($config)) require_once('crm_config.db.php');
|
||||||
|
if (!isset($crm_config)) require_once('crm_config.php');
|
||||||
|
|
||||||
|
if (!defined('_DB_HOST') && isset($config['db_host'])) define('_DB_HOST', $config['db_host']);
|
||||||
|
if (!defined('_DB_NAME') && isset($config['db_name'])) define('_DB_NAME', $config['db_name']);
|
||||||
|
if (!defined('_DB_USER') && isset($config['db_user'])) define('_DB_USER', $config['db_user']);
|
||||||
|
if (!defined('_DB_PASS') && isset($config['db_pass'])) define('_DB_PASS', $config['db_pass']);
|
||||||
|
|
||||||
|
class crm_database
|
||||||
|
{
|
||||||
|
public static $msh;
|
||||||
|
public $writelog;
|
||||||
|
|
||||||
|
private $host;
|
||||||
|
private $name;
|
||||||
|
private $user;
|
||||||
|
private $pass;
|
||||||
|
|
||||||
|
private $connection;
|
||||||
|
|
||||||
|
private $queryResult;
|
||||||
|
private $queryString;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->connection = false;
|
||||||
|
$this->host = '';
|
||||||
|
$this->user = '';
|
||||||
|
$this->pass = '';
|
||||||
|
$this->name = '';
|
||||||
|
$this->writelog = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$msh)) {
|
||||||
|
return self::$msh;
|
||||||
|
}
|
||||||
|
|
||||||
|
self::$msh = new crm_database();
|
||||||
|
self::$msh->init();
|
||||||
|
|
||||||
|
return self::$msh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function escapeString($str = "")
|
||||||
|
{
|
||||||
|
$ret = mysqli_real_escape_string($this->connection, $str);
|
||||||
|
return $ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function init($host = _DB_HOST, $name = _DB_NAME, $user = _DB_USER, $pass = _DB_PASS)
|
||||||
|
{
|
||||||
|
$this->host = $host;
|
||||||
|
$this->name = $name;
|
||||||
|
$this->user = $user;
|
||||||
|
$this->pass = $pass;
|
||||||
|
}
|
||||||
|
|
||||||
|
private function connect()
|
||||||
|
{
|
||||||
|
if ($this->connection) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->connection = mysqli_connect($this->host, $this->user, $this->pass);
|
||||||
|
|
||||||
|
if (false === $this->connection) {
|
||||||
|
throw new Exception('Can\'t connect to db');
|
||||||
|
}
|
||||||
|
|
||||||
|
mysqli_select_db($this->connection, $this->name);
|
||||||
|
mysqli_query($this->connection, 'SET CHARACTER SET UTF8');
|
||||||
|
mysqli_query($this->connection, 'SET NAMES \'UTF8\' ');
|
||||||
|
mysqli_set_charset($this->connection, 'utf8');
|
||||||
|
|
||||||
|
if (mysqli_error($this->connection)) {
|
||||||
|
throw new Exception(mysqli_error($this->connection));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getQueryString()
|
||||||
|
{
|
||||||
|
return $this->queryString;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function query($query, $getID = false)
|
||||||
|
{
|
||||||
|
$this->connect();
|
||||||
|
$this->AddSemicolonToQueryString($query);
|
||||||
|
$this->queryString = $query;
|
||||||
|
|
||||||
|
if ($this->is_write_type($query) === true) {
|
||||||
|
$boolWrite = true;
|
||||||
|
$arrSkip = array('h_aktivalas_infok', 'h_history', 'u_history', 'u_userstatus_history', 'cl_hlusers.userstats2013', 'cl_hlusers.switch', 'cl_hlusers.writelog');
|
||||||
|
|
||||||
|
foreach ($arrSkip as $tabla) {
|
||||||
|
if (strpos($query, $tabla)) {
|
||||||
|
$boolWrite = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($boolWrite) {
|
||||||
|
mysqli_query($this->connection, "INSERT INTO `cl_hlusers`.`writelog` (`user`,`datum`,`ip`,`url`,`func`,`sql`) VALUES (
|
||||||
|
'" . (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'www.archlinexp.com') . "',
|
||||||
|
'" . date("Y-m-d H:i:s", time()) . "',
|
||||||
|
'" . (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '127.0.0.1') . "',
|
||||||
|
'" . (isset($_SERVER['SERVER_NAME']) ? addslashes($_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']) : '') . "',
|
||||||
|
'" . addslashes("function: " . __FUNCTION__ . " method: " . __METHOD__) . "','" . addslashes($query) . "');");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->queryResult = mysqli_query($this->connection, $query);
|
||||||
|
if (mysqli_error($this->connection)) {
|
||||||
|
throw new Exception(mysqli_error($this->connection) . ' Query: ' . $query);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($getID) return $this->getInsertedId();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function AddSemicolonToQueryString(&$query)
|
||||||
|
{
|
||||||
|
$query = rtrim($query);
|
||||||
|
|
||||||
|
if (substr($query, -1) != ';') {
|
||||||
|
$query = $query . ";";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function fetchNext()
|
||||||
|
{
|
||||||
|
$back = array();
|
||||||
|
if ($row = mysqli_fetch_assoc($this->queryResult)) {
|
||||||
|
foreach ($row as $key => $value) {
|
||||||
|
$row[$key] = stripslashes($value);
|
||||||
|
}
|
||||||
|
$back = $row;
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function fetchAssoc()
|
||||||
|
{
|
||||||
|
$back = array();
|
||||||
|
while ($row = mysqli_fetch_assoc($this->queryResult)) {
|
||||||
|
foreach ($row as $key => $value) {
|
||||||
|
$row[$key] = stripslashes($value);
|
||||||
|
}
|
||||||
|
$back[] = $row;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getInsertedId()
|
||||||
|
{
|
||||||
|
return mysqli_insert_id($this->connection);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function select($table, $where = false, $offset = false, $limit = false, $order = false)
|
||||||
|
{
|
||||||
|
$whereStr = '';
|
||||||
|
$limitStr = '';
|
||||||
|
$orderStr = '';
|
||||||
|
|
||||||
|
if (is_array($where)) {
|
||||||
|
$whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
} elseif ($where) {
|
||||||
|
$whereStr = 'WHERE ' . $where;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (($offset !== false and $offset !== null) && ($limit !== false and $limit !== null)) {
|
||||||
|
$limitStr = 'LIMIT ' . $offset . ', ' . $limit;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_array($order)) {
|
||||||
|
$orderStr = 'ORDER BY ';
|
||||||
|
foreach ($order as $key => $value) {
|
||||||
|
$orderStr .= $key . ' ' . $value . ' ';
|
||||||
|
}
|
||||||
|
} elseif ($order) {
|
||||||
|
$orderStr = 'ORDER BY ' . $order;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->query('SELECT * FROM ' . $table . ' ' . $whereStr . ' ' . $orderStr . ' ' . $limitStr . ';');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getProp($table, $func, $field, $where = false)
|
||||||
|
{
|
||||||
|
$whereStr = '';
|
||||||
|
if (is_array($where)) {
|
||||||
|
$whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
} elseif ($where) {
|
||||||
|
$whereStr = 'WHERE ' . $where;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->query('SELECT ' . $func . '(' . $field . ') as p FROM ' . $table . ' ' . $whereStr . ';');
|
||||||
|
|
||||||
|
$arr = $this->fetchAssoc();
|
||||||
|
|
||||||
|
return $arr[0]['p'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getCount($table, $field = 'id', $where = false)
|
||||||
|
{
|
||||||
|
return $this->getProp($table, 'COUNT', $field, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getSum($table, $field = 'id', $where = false)
|
||||||
|
{
|
||||||
|
return $this->getProp($table, 'SUM', $field, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getAvg($table, $field = 'id', $where = false)
|
||||||
|
{
|
||||||
|
return $this->getProp($table, 'AVG', $field, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function delete($table, $where = false)
|
||||||
|
{
|
||||||
|
$whereStr = '';
|
||||||
|
if (is_array($where)) {
|
||||||
|
$whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
} elseif ($where) {
|
||||||
|
$whereStr = 'WHERE ' . $where;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->query('DELETE FROM ' . $table . ' ' . $whereStr . ';');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function update($table, $infoArr, $where = false)
|
||||||
|
{
|
||||||
|
if (!is_array($infoArr)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$whereStr = '';
|
||||||
|
$dataArr = array();
|
||||||
|
$data = '';
|
||||||
|
if (is_array($where)) {
|
||||||
|
$whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
} elseif ($where) {
|
||||||
|
$whereStr = 'WHERE ' . $where;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($infoArr as $key => $value) {
|
||||||
|
$dataArr[] = '`' . $key . '`="' . mysqli_real_escape_string($this->connection, $value) . '" ';
|
||||||
|
}
|
||||||
|
$data = implode(',', $dataArr);
|
||||||
|
|
||||||
|
return $this->query('UPDATE ' . $table . ' SET ' . $data . ' ' . $whereStr . ';');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function insert($table, $infoArr)
|
||||||
|
{
|
||||||
|
$this->connect();
|
||||||
|
$columArr = array();
|
||||||
|
$valueArr = array();
|
||||||
|
$colums = '';
|
||||||
|
$values = '';
|
||||||
|
|
||||||
|
foreach ($infoArr as $key => $value) {
|
||||||
|
$columArr[] = '`' . $key . '`';
|
||||||
|
$valueArr[] = '"' . mysqli_real_escape_string($this->connection, $value) . '"';
|
||||||
|
}
|
||||||
|
|
||||||
|
$colums = implode(',', $columArr);
|
||||||
|
$values = implode(',', $valueArr);
|
||||||
|
|
||||||
|
return $this->query('INSERT INTO ' . $table . ' (' . $colums . ') VALUES (' . $values . ');', true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function affectedRows()
|
||||||
|
{
|
||||||
|
return mysqli_affected_rows($this->connection);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function whereMakerPriv($where)
|
||||||
|
{
|
||||||
|
if (!is_array($where)) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
$this->connect();
|
||||||
|
$back = '1 ';
|
||||||
|
foreach ($where as $key => $value) {
|
||||||
|
if (is_array($value)) {
|
||||||
|
$back .= 'AND `' . $key . '`' . $value[0] . '"' . $value[1] . '" ';
|
||||||
|
} else {
|
||||||
|
$back .= 'AND `' . $key . '`="' . mysqli_real_escape_string($this->connection, $value) . '" ';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function whereMaker($where)
|
||||||
|
{
|
||||||
|
if (!is_array($where)) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
$back = '1 ';
|
||||||
|
foreach ($where as $key => $value) {
|
||||||
|
if (is_array($value)) {
|
||||||
|
$back .= 'AND `' . $key . '`' . $value[0] . '"' . $value[1] . '" ';
|
||||||
|
} else {
|
||||||
|
$back .= 'AND `' . $key . '`="' . $value . '" ';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function is_write_type($sql)
|
||||||
|
{
|
||||||
|
if (!preg_match('/^\s*"?(SET|INSERT|UPDATE|DELETE|REPLACE|CREATE|DROP|TRUNCATE|LOAD DATA|COPY|ALTER|GRANT|REVOKE|LOCK|UNLOCK)\s+/i', $sql)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getConnection()
|
||||||
|
{
|
||||||
|
return ($this->connection);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setConnect()
|
||||||
|
{
|
||||||
|
$this->connect();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Database
|
||||||
|
{
|
||||||
|
private $host = _DB_HOST;
|
||||||
|
private $username = _DB_USER;
|
||||||
|
private $password = _DB_PASS;
|
||||||
|
|
||||||
|
private $queryResult;
|
||||||
|
private $queryString;
|
||||||
|
|
||||||
|
private static $msh;
|
||||||
|
protected $connection;
|
||||||
|
|
||||||
|
private static $arrSkip = array(
|
||||||
|
"cl_hlusers.h_aktivalas_infok",
|
||||||
|
"cl_hlusers.h_history",
|
||||||
|
"cl_hlusers.u_history",
|
||||||
|
"cl_hlusers.u_userstatus_history",
|
||||||
|
"cl_hlusers.userstats2013",
|
||||||
|
"cl_hlusers.switch",
|
||||||
|
"cl_hlusers.writelog",
|
||||||
|
"cl_hlusers.telemetria",
|
||||||
|
"cl_hlusers.computers",
|
||||||
|
"cl_hlusers.debug_table"
|
||||||
|
);
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
if (!isset($this->connection)) {
|
||||||
|
$this->connection = new mysqli($this->host, $this->username, $this->password);
|
||||||
|
|
||||||
|
if (!$this->connection) {
|
||||||
|
echo 'Cannot connect to database!';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
unset($this->queryResult);
|
||||||
|
|
||||||
|
$this->connection->set_charset("utf8");
|
||||||
|
return $this->connection;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$msh)) return self::$msh;
|
||||||
|
self::$msh = new Database();
|
||||||
|
return self::$msh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function query($query, $params = null, $isClosed = false, $getID = false)
|
||||||
|
{
|
||||||
|
// $params = array("ss","string_1","string_2");
|
||||||
|
$this->addSemicolonToQueryString($query);
|
||||||
|
|
||||||
|
$imp = '';
|
||||||
|
if ($params != null) $imp = implode(", ", $params);
|
||||||
|
$this->queryString = "{$query} ($imp)";
|
||||||
|
|
||||||
|
if ($this->isWriteType($query)) {
|
||||||
|
$boolWrite = true;
|
||||||
|
|
||||||
|
foreach (self::$arrSkip as $tabla) {
|
||||||
|
if (strpos($query, $tabla)) {
|
||||||
|
$boolWrite = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// A nagios test ne irja tele a cl_hlusers.writelog tablat
|
||||||
|
if (strpos($_SERVER['REQUEST_URI'], 'nagios_monitor.php') !== false || strpos($_SERVER['REQUEST_URI'], 'maintenance/test_API.php') !== false || $_SERVER['SERVER_NAME'] == 'secondary.cadline.hu')
|
||||||
|
$boolWrite = false;
|
||||||
|
|
||||||
|
// A tesztek futtatasakor ne logolja a modositasokat (majd a webformos)
|
||||||
|
if (strpos($_SERVER['REQUEST_URI'], 'maintenance/tips.php') /*&& $_SERVER['REMOTE_ADDR'] == '185.43.206.63'*/) {
|
||||||
|
$paramIndex = 5;
|
||||||
|
if ((substr($params[$paramIndex], 0, 7) == '3710018') || (substr($params[$paramIndex], 0, 7) == '3710028')
|
||||||
|
|| (substr($params[$paramIndex], 0, 7) == '3710038') || (substr($params[$paramIndex], 0, 7) == '3700078')
|
||||||
|
|| (substr($params[$paramIndex], 0, 7) == '3700018')
|
||||||
|
) {
|
||||||
|
$boolWrite = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$func = addslashes("function: " . __FUNCTION__ . " method: " . __METHOD__)/*.' --> '.$params[$paramIndex]*/;
|
||||||
|
|
||||||
|
if ($boolWrite) {
|
||||||
|
mysqli_query($this->connection, "INSERT INTO `cl_hlusers`.`writelog` (`user`,`datum`,`ip`,`url`,`func`,`sql`) VALUES (
|
||||||
|
'" . (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'www.archlinexp.com') . "',
|
||||||
|
'" . date("Y-m-d H:i:s", time()) . "',
|
||||||
|
'" . (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '127.0.0.1') . "',
|
||||||
|
'" . (isset($_SERVER['SERVER_NAME']) ? addslashes($_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']) : '') . "',
|
||||||
|
'" . $func . "','" . addslashes($query) . "');");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->queryResult = $this->connection->prepare($query);
|
||||||
|
|
||||||
|
if ($params != null) {
|
||||||
|
$tmp = array();
|
||||||
|
foreach ($params as $key => $value) $tmp[$key] = &$params[$key];
|
||||||
|
call_user_func_array(array($this->queryResult, 'bind_param'), $tmp);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->queryResult->execute();
|
||||||
|
if (mysqli_error($this->connection)) throw new Exception(mysqli_error($this->connection) . ' Query: ' . $query);
|
||||||
|
|
||||||
|
if ($getID) return $this->getInsertedId();
|
||||||
|
if ($isClosed) $this->queryResult->close();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function insert($table, $infoArr, $type, $needEscape = true)
|
||||||
|
{
|
||||||
|
$columArr = array();
|
||||||
|
$bindArr = array();
|
||||||
|
$endArr = array();
|
||||||
|
$colums = '';
|
||||||
|
$values = '';
|
||||||
|
|
||||||
|
array_push($endArr, $type);
|
||||||
|
|
||||||
|
foreach ($infoArr as $key => $value) {
|
||||||
|
$columArr[] = "`{$key}`";
|
||||||
|
$bindArr[] = "?";
|
||||||
|
|
||||||
|
$string = !$needEscape && $key == 'versionInfo' ? $value : mysqli_real_escape_string($this->connection, $value);
|
||||||
|
array_push($endArr, $string);
|
||||||
|
}
|
||||||
|
|
||||||
|
$colums = implode(',', $columArr);
|
||||||
|
$values = implode(',', $bindArr);
|
||||||
|
|
||||||
|
$sql = "INSERT INTO {$table} ({$colums}) VALUES ({$values});";
|
||||||
|
return $this->query($sql, $endArr, false, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function update($table, $infoArr, $where = false, $type, $needEscape = true)
|
||||||
|
{
|
||||||
|
if (!is_array($infoArr)) return false;
|
||||||
|
|
||||||
|
$whereStr = '';
|
||||||
|
$paramValue = array();
|
||||||
|
$bindArr = array();
|
||||||
|
$endArr = array();
|
||||||
|
$data = '';
|
||||||
|
|
||||||
|
array_push($endArr, $type);
|
||||||
|
|
||||||
|
if (is_array($where)) $whereStr = 'WHERE ' . $this->whereMakerPriv($where, $paramValue);
|
||||||
|
elseif ($where) $whereStr = "WHERE {$where}";
|
||||||
|
|
||||||
|
foreach ($infoArr as $key => $value) {
|
||||||
|
$bindArr[] = "`{$key}` = ?";
|
||||||
|
|
||||||
|
$string = !$needEscape && $key == 'versionInfo' ? $value : mysqli_real_escape_string($this->connection, $value);
|
||||||
|
array_push($endArr, $string);
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($paramValue as $param) array_push($endArr, mysqli_real_escape_string($this->connection, $param));
|
||||||
|
|
||||||
|
$data = implode(',', $bindArr);
|
||||||
|
|
||||||
|
$query = "UPDATE {$table} SET {$data} {$whereStr};";
|
||||||
|
return $this->query($query, $endArr, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function delete($table, $where = false, $type)
|
||||||
|
{
|
||||||
|
$whereStr = '';
|
||||||
|
$paramValue = array();
|
||||||
|
$endArr = array();
|
||||||
|
|
||||||
|
array_push($endArr, $type);
|
||||||
|
|
||||||
|
if (is_array($where)) $whereStr = 'WHERE ' . $this->whereMakerPriv($where, $paramValue);
|
||||||
|
elseif ($where) $whereStr = "WHERE {$where}";
|
||||||
|
|
||||||
|
foreach ($paramValue as $param) array_push($endArr, mysqli_real_escape_string($this->connection, $param));
|
||||||
|
|
||||||
|
$query = "DELETE FROM {$table} {$whereStr};";
|
||||||
|
return $this->query($query, $endArr, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function fetchNext()
|
||||||
|
{
|
||||||
|
$result = $this->get_row();
|
||||||
|
$this->queryResult->free_result();
|
||||||
|
$this->queryResult->close();
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function fetchAssoc()
|
||||||
|
{
|
||||||
|
$result = $this->get_result();
|
||||||
|
$this->queryResult->free_result();
|
||||||
|
$this->queryResult->close();
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function get_result()
|
||||||
|
{
|
||||||
|
$result = array();
|
||||||
|
$this->queryResult->store_result();
|
||||||
|
for ($i = 0; $i < $this->queryResult->num_rows; $i++) {
|
||||||
|
$metadata = $this->queryResult->result_metadata();
|
||||||
|
$params = array();
|
||||||
|
while ($field = $metadata->fetch_field()) $params[] = &$result[$i][$field->name];
|
||||||
|
call_user_func_array(array($this->queryResult, 'bind_result'), $params);
|
||||||
|
$this->queryResult->fetch();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($result)) return $result;
|
||||||
|
else return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function get_row()
|
||||||
|
{
|
||||||
|
$result = array();
|
||||||
|
$this->queryResult->store_result();
|
||||||
|
|
||||||
|
if ($this->queryResult->num_rows > 0) {
|
||||||
|
for ($i = 0; $i < 1; $i++) {
|
||||||
|
$metadata = $this->queryResult->result_metadata();
|
||||||
|
$params = array();
|
||||||
|
while ($field = $metadata->fetch_field()) $params[] = &$result[$i][$field->name];
|
||||||
|
call_user_func_array(array($this->queryResult, 'bind_result'), $params);
|
||||||
|
$this->queryResult->fetch();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($result)) return $result[0];
|
||||||
|
else return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getInsertedId()
|
||||||
|
{
|
||||||
|
$id = $this->queryResult->insert_id;
|
||||||
|
$this->queryResult->close();
|
||||||
|
|
||||||
|
return $id;
|
||||||
|
}
|
||||||
|
|
||||||
|
private function addSemicolonToQueryString(&$query)
|
||||||
|
{
|
||||||
|
$query = rtrim($query);
|
||||||
|
|
||||||
|
if (substr($query, -1) != ';') $query = "{$query};";
|
||||||
|
}
|
||||||
|
|
||||||
|
private function whereMakerPriv($where, &$paramValue = array())
|
||||||
|
{
|
||||||
|
if (!is_array($where)) return 1;
|
||||||
|
$back = '1 ';
|
||||||
|
foreach ($where as $key => $value) {
|
||||||
|
if (is_array($value)) {
|
||||||
|
$back .= 'AND `' . $key . '`' . $value[0] . '"' . $value[1] . '" ';
|
||||||
|
} else {
|
||||||
|
$back .= "AND `{$key}` = ? ";
|
||||||
|
array_push($paramValue, $value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
private function isWriteType($sql)
|
||||||
|
{
|
||||||
|
if (!preg_match('/^\s*"?(SET|INSERT|UPDATE|DELETE|REPLACE|CREATE|DROP|TRUNCATE|LOAD DATA|COPY|ALTER|GRANT|REVOKE|LOCK|UNLOCK)\s+/i', $sql)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getQueryString()
|
||||||
|
{
|
||||||
|
return $this->queryString;
|
||||||
|
}
|
||||||
|
public function getQueryResult()
|
||||||
|
{
|
||||||
|
return $this->queryResult;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7157",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:common_cadline_libraries/crm_database.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/common_cadline_libraries/crm_database.class.php)",
|
||||||
|
"original_sha256": "56e3117ed333988553caded835b34aa3575faa13dd50d2c08d9ed113ac50e307",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1740755110,
|
||||||
|
"size": 19735,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "common_cadline_libraries/crm_database.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7161",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:common_cadline_libraries/crm_hardlock.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/common_cadline_libraries/crm_hardlock.class.php)",
|
||||||
|
"original_sha256": "04386cd2cea31252856ead5eebb2424c6422b411dadeff5ef8db5e0851195aca",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1784306326,
|
||||||
|
"size": 303244,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "common_cadline_libraries/crm_hardlock.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,608 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("crm_hardlock.class.php");
|
||||||
|
|
||||||
|
class crm_test_API extends Database
|
||||||
|
{
|
||||||
|
private $code;
|
||||||
|
private $password;
|
||||||
|
private $isid;
|
||||||
|
private $actDate;
|
||||||
|
private $actCode;
|
||||||
|
private $sellDate;
|
||||||
|
private $hlStat;
|
||||||
|
private $installCode;
|
||||||
|
|
||||||
|
public static $programYears = array(
|
||||||
|
'19', // 2019
|
||||||
|
'20', // 2020
|
||||||
|
'21', // 2021
|
||||||
|
'22', // 2022
|
||||||
|
'23' // 2023
|
||||||
|
);
|
||||||
|
|
||||||
|
public function __construct($_code, $_password)
|
||||||
|
{
|
||||||
|
error_reporting(E_ERROR);
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
|
$this->code = $_code;
|
||||||
|
$this->password = $_password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setIsid($_isid)
|
||||||
|
{
|
||||||
|
$this->isid = $_isid;
|
||||||
|
}
|
||||||
|
public function setActDate($_actDate)
|
||||||
|
{
|
||||||
|
$this->actDate = $_actDate;
|
||||||
|
}
|
||||||
|
public function setActCode($_actCode)
|
||||||
|
{
|
||||||
|
$this->actCode = $_actCode;
|
||||||
|
}
|
||||||
|
public function setHlStat($_hlStat)
|
||||||
|
{
|
||||||
|
$this->hlStat = $_hlStat;
|
||||||
|
}
|
||||||
|
public function setSellDate($_sellDate)
|
||||||
|
{
|
||||||
|
$this->sellDate = $_sellDate;
|
||||||
|
}
|
||||||
|
public function SetInstallCode($_installCode)
|
||||||
|
{
|
||||||
|
$this->installCode = $_installCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
private function encode()
|
||||||
|
{
|
||||||
|
$date = new DateTime();
|
||||||
|
$date = $date->format('Y-m-d');
|
||||||
|
$number = explode("-", $date);
|
||||||
|
$code = ((($number[0] * 4) * 555) + (($number[1] * 5) * 333) + ($number[2] * 72)) / 90;
|
||||||
|
|
||||||
|
return (int)$code;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function checkCode()
|
||||||
|
{
|
||||||
|
return $this->code == $this->encode();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function updateFizetve()
|
||||||
|
{
|
||||||
|
$updateQuery = "UPDATE `" . CRMADATBAZIS . "`.`h_programs` SET prFizetve = ?, prActCode = NULL WHERE prPass = ?";
|
||||||
|
$this->query($updateQuery, array('ss', $this->actDate, $this->password));
|
||||||
|
$query = "SELECT prFizetve FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ?;";
|
||||||
|
$this->query($query, array('s', $this->password));
|
||||||
|
$res = $this->fetchNext();
|
||||||
|
|
||||||
|
return $res['prFizetve'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public function countFloating($floatings, &$message)
|
||||||
|
{
|
||||||
|
$floatingsCount = count($floatings);
|
||||||
|
|
||||||
|
$query = "SELECT * FROM `" . SYNCADATBAZIS . "`.`floating_licenses` WHERE hlNum = ?";
|
||||||
|
$this->query($query, array('s', substr($this->password, 0, 6)));
|
||||||
|
$floatingLicenses = $this->fetchAssoc();
|
||||||
|
|
||||||
|
if (count($floatingLicenses) != $floatingsCount) {
|
||||||
|
$message = "error: nem egyeznek meg az active floating futo licencek";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($i = 0; $i < count($floatingLicenses); $i++) {
|
||||||
|
if (!in_array($floatingLicenses[$i]['seatID'], $floatings)) {
|
||||||
|
$message = "error: nincs benne a futo program az aktiv floating licencek kozott: " . $floatingLicenses[$i]['seatID'];
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function countRegistration($action)
|
||||||
|
{
|
||||||
|
$query = "SELECT id FROM `" . CRMADATBAZIS . "`.`p_serial_isid` WHERE serial = ?";
|
||||||
|
|
||||||
|
if ($action == 'active') $query .= " and aktiv = 1";
|
||||||
|
elseif ($action == 'inactive') $query .= " and aktiv = 0";
|
||||||
|
|
||||||
|
$this->query($query, array('s', $this->password));
|
||||||
|
$res = $this->fetchAssoc();
|
||||||
|
|
||||||
|
return count($res);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function countActivationCode()
|
||||||
|
{
|
||||||
|
$query = "SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ? AND prActCode != '' AND prActCode IS NOT NULL";
|
||||||
|
$this->query($query, array('s', $this->password));
|
||||||
|
$res = $this->fetchAssoc();
|
||||||
|
|
||||||
|
return count($res);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function checkActivationCode()
|
||||||
|
{
|
||||||
|
$query = "SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ? AND prActCode LIKE ?";
|
||||||
|
$this->query($query, array('ss', $this->password, "%-{$this->isid}-%"));
|
||||||
|
$res = $this->fetchNext();
|
||||||
|
|
||||||
|
return !empty($res);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function isFloating()
|
||||||
|
{
|
||||||
|
$hlNum = crm_hardlock::GetHlnumFromPassword($this->password);
|
||||||
|
|
||||||
|
$this->query("SELECT isFloating FROM cl_hlusers.hardlock WHERE hlNum = ?", array('s', $hlNum));
|
||||||
|
$hardlock = $this->fetchNext();
|
||||||
|
|
||||||
|
$ver8and9 = crm_hardlock::GetVer8And9FromPassword($this->password);
|
||||||
|
|
||||||
|
return !empty($hardlock) && $hardlock['isFloating'] == 1 && $ver8and9 >= 40;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function clearProgram($clr_info = false)
|
||||||
|
{
|
||||||
|
$this->delete(CRMADATBAZIS . '.p_serial_isid', array('serial' => $this->password), 's');
|
||||||
|
$this->delete(CRMADATBAZIS . '.userstats2013', array('usPwd' => $this->password), 's');
|
||||||
|
$this->query("UPDATE `" . CRMADATBAZIS . "`.`h_programs` SET prActCode = '' WHERE prPass = ?", array('s', $this->password));
|
||||||
|
|
||||||
|
$this->query("SELECT * FROM `" . CRMADATBAZIS . "`.`p_serial_isid` WHERE serial = ?", array('s', $this->password));
|
||||||
|
$res = $this->fetchAssoc();
|
||||||
|
|
||||||
|
$hlNum = crm_hardlock::GetHlnumFromPassword($this->password);
|
||||||
|
|
||||||
|
if ($clr_info)
|
||||||
|
$this->delete(CRMADATBAZIS . '.h_history', array('hiHlNum' => $hlNum), 's');
|
||||||
|
|
||||||
|
$this->query("SELECT isFloating FROM cl_hlusers.hardlock WHERE hlNum = ?", array('s', $hlNum));
|
||||||
|
$hardlock = $this->fetchNext();
|
||||||
|
|
||||||
|
$ver8and9 = crm_hardlock::GetVer8And9FromPassword($this->password);
|
||||||
|
|
||||||
|
if (!empty($hardlock) && $hardlock['isFloating'] == 1 && $ver8and9 >= 40)
|
||||||
|
$this->delete(SYNCADATBAZIS . '.floating_licenses', array('hlNum' => $hlNum), 's');
|
||||||
|
|
||||||
|
return empty($res);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setDisabled($set_disabled)
|
||||||
|
{
|
||||||
|
$hlNum = crm_hardlock::GetHlnumFromPassword($this->password);
|
||||||
|
$date = date('Y-m-d');
|
||||||
|
|
||||||
|
if ($set_disabled) return crm_hardlock::DeactivateHardlock($hlNum, 36, "Test deaktiválás", $date);
|
||||||
|
else return crm_hardlock::ActivateHardlock($hlNum, 36, "Test aktiválás");
|
||||||
|
}
|
||||||
|
|
||||||
|
public function generateTimeCodeWithInstCode($isid, $isTwTw)
|
||||||
|
{
|
||||||
|
if ($this->actDate == '2050-01-01') $dayInterval = 3583;
|
||||||
|
else {
|
||||||
|
if (Codegen::IsSoftwareKey($this->password))
|
||||||
|
$installDate = crm_hardlock::GetInstallationDateFromInstallationCode($this->installCode, $isTwTw);
|
||||||
|
else {
|
||||||
|
if ($isTwTw)
|
||||||
|
$installDate = crm_hardlock::getTwTwRootTimeString();
|
||||||
|
else
|
||||||
|
$installDate = $this->sellDate;
|
||||||
|
}
|
||||||
|
$dayInterval = Codegen::GetDayInterval($installDate, $this->actDate);
|
||||||
|
}
|
||||||
|
return Codegen::GenerateTimeCode($this->password, $isid, $dayInterval);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function registerUnregisterTest(&$error_string, $hlNum, $verID)
|
||||||
|
{
|
||||||
|
$this->actDate = Date('Y-m-d', strtotime('+10 days'));
|
||||||
|
$isid = 'A001';
|
||||||
|
$npid = 'Automata_test_00000000';
|
||||||
|
$comp_name = 'CRM Automata Test';
|
||||||
|
$datas = array();
|
||||||
|
|
||||||
|
$programs = crm_hardlock::getProgramsFromHardlock($hlNum, $verID);
|
||||||
|
if (empty($programs)) {
|
||||||
|
$error_string .= "error: nincs ilyen program (verzio: {$verID}) - hardlock: {$hlNum}";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->query("SELECT * FROM `cl_hlusers`.`hardlock` WHERE hlNum = ?", array('s', $hlNum));
|
||||||
|
$res = $this->fetchNext();
|
||||||
|
$this->hlStat = $res['hlStat'];
|
||||||
|
|
||||||
|
foreach ($programs as $program) {
|
||||||
|
$this->password = $program['prPass'];
|
||||||
|
$this->clearProgram(true);
|
||||||
|
$this->updateFizetve();
|
||||||
|
|
||||||
|
// TODO: A crm_hardlock::startQuery() fgv-be az elejen belefut a $crackedProgram-ba!
|
||||||
|
/*if (substr($this->password, 0, 6) == '371001' || substr($this->password, 0, 6) == '370001')
|
||||||
|
continue;*/
|
||||||
|
|
||||||
|
if (!Codegen::IsSoftwareKey($this->password)) $isid = crm_hardlock::GetIsidFromPasswordForHardwareKeys($this->password);
|
||||||
|
|
||||||
|
$softwarekey = Codegen::IsSoftwareKey($this->password);
|
||||||
|
$this->installCode = Codegen::GenerateTimeCode($this->password, $isid, 1);
|
||||||
|
|
||||||
|
$register_result = crm_hardlock::RegisterProgram($this->password, $isid, $this->installCode, $npid, $comp_name, '');
|
||||||
|
if (substr($register_result, 0, 6) == "error:") {
|
||||||
|
$error_string .= "RegisterProgram(): {$register_result} - {$this->password} <br/>";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$aktkod = crm_hardlock::GetOrGenerateTimeCode($this->password, $isid, $this->installCode, $npid, $comp_name);
|
||||||
|
if (substr($aktkod, 0, 6) == "error:") {
|
||||||
|
$error_string .= "GetOrGenerateTimeCode(): {$aktkod} - {$this->password} <br/>";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$check_date = crm_hardlock::checkActDate($this->password, $isid);
|
||||||
|
if (!$check_date) {
|
||||||
|
$error_string .= "checkActDate(): {$check_date} - {$this->password} <br/>";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->sellDate = $program['prSellDate'];
|
||||||
|
$isTwTw = ($program['twtw'] == 1 || $verID >= 21) ? 'true' : '';
|
||||||
|
$date = new DateTime();
|
||||||
|
|
||||||
|
for ($i = 0; $i <= 3; $i++) {
|
||||||
|
$tip_result = '';
|
||||||
|
|
||||||
|
if ($i <= 2 && $i != 0) {
|
||||||
|
$date->modify('+1 month');
|
||||||
|
$this->actDate = $date->format('Y-m') . '-01';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($i == 3) $this->actDate = '2050-01-01';
|
||||||
|
|
||||||
|
$this->updateFizetve();
|
||||||
|
$this->actCode = $this->generateTimeCodeWithInstCode($isid, $isTwTw);
|
||||||
|
|
||||||
|
if ($verID >= 21) $tip_result = $this->launchStartQuery($error_string, $verID, $isid, $npid);
|
||||||
|
else $tip_result = $this->launchTips($error_string, $verID, $isid, $npid, $isTwTw);
|
||||||
|
|
||||||
|
if ($tip_result == false) return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($softwarekey) {
|
||||||
|
$unregister_result = crm_hardlock::UnRegisterProgram($this->password, $isid, '', $comp_name);
|
||||||
|
if ($unregister_result == false) {
|
||||||
|
$activationError = crm_hardlock::GetActivationError(crm_hardlock::UNREGISTER_FAILED);
|
||||||
|
$error_string .= "UnRegisterProgram(): {$activationError} - {$this->password} <br/>";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function launchRegisterTest(&$error_string, $verID)
|
||||||
|
{
|
||||||
|
$result = $this->registerUnregisterTest($error_string, '371001', $verID);
|
||||||
|
if ($result == false) return $result;
|
||||||
|
|
||||||
|
$result = $this->registerUnregisterTest($error_string, '370001', $verID);
|
||||||
|
if ($result == false) return $result;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function generateStartQueryUrl($isid, $npid)
|
||||||
|
{
|
||||||
|
$this->query("SELECT prTypeID FROM `cl_hlusers`.`h_programs` WHERE prPass = ?", array('s', $this->password));
|
||||||
|
$program = $this->fetchNext();
|
||||||
|
|
||||||
|
$ver8and9 = crm_hardlock::GetVer8And9FromPassword($this->password);
|
||||||
|
$launchYear = crm_hardlock::GetLaunchYearFromVer8And9($ver8and9);
|
||||||
|
|
||||||
|
if ($program['prTypeID'] == 76) // LIVE
|
||||||
|
$this->query("SELECT pkgid FROM `www_archline_hu`.`version` WHERE ev = ? AND projectid LIKE '%Live' ORDER BY pkgid DESC", array('i', $launchYear));
|
||||||
|
else // Prof.
|
||||||
|
$this->query("SELECT pkgid FROM `www_archline_hu`.`version` WHERE ev = ? AND projectid NOT LIKE '%Live' AND projectid NOT LIKE '%Namirial%' ORDER BY pkgid DESC", array('i', $launchYear));
|
||||||
|
|
||||||
|
$version = $this->fetchNext();
|
||||||
|
$this->installCode = Codegen::GenerateTimeCode($this->password, $isid, 1);
|
||||||
|
$session = 'MHV5Z242S29VaEk5VyRzZWV5UE9TUQ';
|
||||||
|
$decodedSession = base64_decode($session);
|
||||||
|
$privatekey = Webform::GetWebformPrivateKey();
|
||||||
|
|
||||||
|
$param = 'serialNumber=' . $this->password;
|
||||||
|
$param .= '&winchesterAdatai=1793730914';
|
||||||
|
$param .= '&build=' . $version['pkgid'];
|
||||||
|
$param .= '&countryPhoneID=36';
|
||||||
|
$param .= '&installationCode=' . $this->installCode;
|
||||||
|
$param .= '&osMajorMinorBuild=10.0.19041';
|
||||||
|
$param .= '&vidMan=';
|
||||||
|
$param .= '&vidType=';
|
||||||
|
$param .= '&vidDrv=';
|
||||||
|
$param .= '&installationID=' . $npid;
|
||||||
|
$param .= '&partnerID=';
|
||||||
|
$param .= '&clientName=';
|
||||||
|
$param .= '&clientEmail=';
|
||||||
|
$param .= '&clientCompany=';
|
||||||
|
$param .= '&clientTelephone=';
|
||||||
|
$param .= '&newsletter=false';
|
||||||
|
$param .= '&reenabledCounter=';
|
||||||
|
$param .= '&twentyTwenty=true';
|
||||||
|
$param .= '&languageID=hun';
|
||||||
|
$param .= '&wentToGray=false';
|
||||||
|
|
||||||
|
$encoded_param = Webform::encode($privatekey, $decodedSession, $param);
|
||||||
|
|
||||||
|
return "https://www.archline.hu/maintenance/webform/startQuery.php?session={$session}¶m={$encoded_param}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public function generateTipUrl($isid, $npid, $isTwTw)
|
||||||
|
{
|
||||||
|
if ($isTwTw) $isTwTw = 'true';
|
||||||
|
|
||||||
|
$this->query("SELECT prTypeID FROM `cl_hlusers`.`h_programs` WHERE prPass = ?", array('s', $this->password));
|
||||||
|
$program = $this->fetchNext();
|
||||||
|
|
||||||
|
$ver8and9 = crm_hardlock::GetVer8And9FromPassword($this->password);
|
||||||
|
$launchYear = crm_hardlock::GetLaunchYearFromVer8And9($ver8and9);
|
||||||
|
|
||||||
|
if ($program['prTypeID'] == 76) // LIVE
|
||||||
|
$this->query("SELECT pkgid FROM `www_archline_hu`.`version` WHERE ev = ? AND projectid LIKE '%Live' ORDER BY pkgid DESC", array('i', $launchYear));
|
||||||
|
else // Prof.
|
||||||
|
$this->query("SELECT pkgid FROM `www_archline_hu`.`version` WHERE ev = ? AND projectid NOT LIKE '%Live' AND projectid NOT LIKE '%Namirial%' ORDER BY pkgid DESC", array('i', $launchYear));
|
||||||
|
|
||||||
|
$version = $this->fetchNext();
|
||||||
|
$this->installCode = Codegen::GenerateTimeCode($this->password, $isid, 1);
|
||||||
|
$build = $version['pkgid'];
|
||||||
|
$ctrID = 36;
|
||||||
|
$compID = 1793730914; //tipeknel nem hasznalt
|
||||||
|
$osData = "10.0.18362.1.green.848"; // tekinthetjuk konstansnak
|
||||||
|
$strCollectedInfo = "#{$this->password}#{$compID}#{$build}#{$ctrID}#{$this->installCode}#{$osData}####{$npid}######0#0#{$isTwTw}";
|
||||||
|
|
||||||
|
$keyDec = "0052";
|
||||||
|
$encoderKey = hexdec($keyDec);
|
||||||
|
$encoded = $keyDec;
|
||||||
|
|
||||||
|
$strHex = bin2hex($strCollectedInfo);
|
||||||
|
$hexArray = str_split($strHex, 2);
|
||||||
|
$arrayKeys = array_keys($hexArray);
|
||||||
|
$lastArrayKey = array_pop($arrayKeys);
|
||||||
|
|
||||||
|
for ($i = 0; $i < count($hexArray); $i++) {
|
||||||
|
if ($i % 2 == 0) {
|
||||||
|
$a = $hexArray[$i]; // "23"
|
||||||
|
$b = $hexArray[$i + 1]; // "33"
|
||||||
|
|
||||||
|
if ($i == $lastArrayKey) $b = '00';
|
||||||
|
|
||||||
|
sscanf($a, '%x', $low);
|
||||||
|
sscanf($b, '%x', $high);
|
||||||
|
$value = $high * 256 + $low; //0x3323
|
||||||
|
$encoded .= sprintf('%04X', $value ^ $encoderKey);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$encodedSession = base64_encode($encoded);
|
||||||
|
return "https://www.archlinexp.com/index.php?menu=tips2012&lang=eng&version=0&session={$encodedSession}&launched=test";
|
||||||
|
}
|
||||||
|
|
||||||
|
public function launchStartQuery(&$error_string, $verID, $isid, $npid)
|
||||||
|
{
|
||||||
|
$arrContextOptions = stream_context_create(
|
||||||
|
array(
|
||||||
|
"ssl" => array(
|
||||||
|
"verify_peer" => false,
|
||||||
|
"verify_peer_name" => false
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$tip_url = $this->generateStartQueryUrl($isid, $npid);
|
||||||
|
$result = file_get_contents($tip_url, false, $arrContextOptions);
|
||||||
|
$result = explode('session', $result);
|
||||||
|
$result = '?session=' . $result[1];
|
||||||
|
|
||||||
|
$session = Webform::get_valueFromStringUrl($result, "session");
|
||||||
|
$result_ok = Webform::get_valueFromStringUrl($result, "result_ok");
|
||||||
|
$decodedSession = base64_decode($session);
|
||||||
|
$privateKey = Webform::GetWebformPrivateKey();
|
||||||
|
$paramAML = Webform::decode($privateKey, $decodedSession, $result_ok);
|
||||||
|
|
||||||
|
$actCode = AML::getAttribute('AC', $paramAML);
|
||||||
|
$virtualization = AML::getAttribute('VIR', $paramAML) ? 1 : 2;
|
||||||
|
$tipRegnr = AML::getAttribute('REG', $paramAML);
|
||||||
|
$utst = time();
|
||||||
|
|
||||||
|
if ($actCode == '') {
|
||||||
|
$error_string .= "launchTips(): error: nincs aktivalokod! Serial: " . $this->password;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*if ($actCode != $this->actCode) {
|
||||||
|
$error_string .= "launchTips(): error: a program aktivalo kodja nem egyezik a tip aktivalokoddal! (Tip: {$actCode} || program: {$this->actCode})";
|
||||||
|
return false;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
if ($virtualization != $this->hlStat) {
|
||||||
|
$error_string .= "launchTips(): error: a program letiltas erteke nem az elvart";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$timeCode = $this->generateTimeCodeWithInstCode($isid, true);
|
||||||
|
|
||||||
|
if ($timeCode != $actCode && $_SERVER['REMOTE_ADDR'] == '176.241.31.192') {
|
||||||
|
$error_string .= "launchTips(): error: nem jol legeneralt idokod! (Tips: {$actCode} || helyes: {$timeCode})";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Codegen::IsSoftwareKey($this->password)) {
|
||||||
|
if (crm_hardlock::IsRegistrationActive($this->password, $isid, $npid) == false && $tipRegnr == crm_hardlock::Yes($utst, 39)) {
|
||||||
|
$error_string .= "launchTips(): error: a program fut, de nem kene!";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (crm_hardlock::IsRegistrationActive($this->password, $isid, $npid) && $tipRegnr == crm_hardlock::No($utst, 39)) {
|
||||||
|
$error_string .= "launchTips(): error: a program nem fut, de futnia kene!";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function launchTips(&$error_string, $verID, $isid, $npid, $isTwTw)
|
||||||
|
{
|
||||||
|
$arrContextOptions = stream_context_create(
|
||||||
|
array(
|
||||||
|
"ssl" => array(
|
||||||
|
"verify_peer" => false,
|
||||||
|
"verify_peer_name" => false
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$tip_url = $this->generateTipUrl($isid, $npid, $isTwTw);
|
||||||
|
$result = file_get_contents($tip_url, false, $arrContextOptions);
|
||||||
|
if (strstr($result, '<Tips>') === false || strstr($result, '</Tips>') === false) {
|
||||||
|
$error_string .= 'Tip test failed! Not XML returned (probably syntax error)';
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
libxml_set_streams_context($arrContextOptions);
|
||||||
|
|
||||||
|
$xml = simplexml_load_file($tip_url, "SimpleXMLElement", LIBXML_NOCDATA);
|
||||||
|
$data = json_decode(json_encode($xml), true);
|
||||||
|
$actCode = $data['actcode'];
|
||||||
|
$virtualization = $data['Virtualization'] ? 1 : 2;
|
||||||
|
$tipRegnr = $data['regnr'];
|
||||||
|
$utst = time();
|
||||||
|
|
||||||
|
if ($actCode == '') {
|
||||||
|
$error_string .= "launchTips(): error: nincs aktivalokod!";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($actCode != $this->actCode) {
|
||||||
|
$error_string .= "launchTips(): error: a program aktivalo kodja nem egyezik a tip aktivalokoddal! (Tip: {$actCode} || program: {$this->actCode})";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($virtualization != $this->hlStat) {
|
||||||
|
$error_string .= "launchTips(): error: a program letiltas erteke nem az elvart";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$timeCode = $this->generateTimeCodeWithInstCode($isid, $isTwTw);
|
||||||
|
|
||||||
|
if ($timeCode != $actCode) {
|
||||||
|
$error_string .= "launchTips(): error: nem jol legeneralt idokod! (Tips: {$actCode} || helyes: {$timeCode})";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Codegen::IsSoftwareKey($this->password)) {
|
||||||
|
if (crm_hardlock::IsRegistrationActive($this->password, $isid, $npid) == false && $tipRegnr == crm_hardlock::Yes($utst, 39)) {
|
||||||
|
$error_string .= "launchTips(): error: a program fut, de nem kene!";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (crm_hardlock::IsRegistrationActive($this->password, $isid, $npid) && $tipRegnr == crm_hardlock::No($utst, 39)) {
|
||||||
|
$error_string .= "launchTips(): error: a program nem fut, de futnia kene!";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function launchTests()
|
||||||
|
{
|
||||||
|
$error_string = '';
|
||||||
|
$test_result = true;
|
||||||
|
|
||||||
|
for ($i = 0; $test_result && $i < count(self::$programYears); $i++) $test_result = $this->launchRegisterTest($error_string, self::$programYears[$i]);
|
||||||
|
|
||||||
|
if ($test_result) $error_string = "A teszt sikeresen lefutott, hiba nelkul!<br/> {$error_string}";
|
||||||
|
|
||||||
|
return $error_string;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Authenticate extends Database
|
||||||
|
{
|
||||||
|
private $username;
|
||||||
|
private $password;
|
||||||
|
private $authCode;
|
||||||
|
private $authSession;
|
||||||
|
|
||||||
|
private $users = array();
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setAuthCode($_authCode)
|
||||||
|
{
|
||||||
|
$this->authCode = $_authCode;
|
||||||
|
}
|
||||||
|
public function setAuthSession($_authSession)
|
||||||
|
{
|
||||||
|
$this->authSession = $_authSession;
|
||||||
|
}
|
||||||
|
public function setUsername($_username)
|
||||||
|
{
|
||||||
|
$this->username = $_username;
|
||||||
|
}
|
||||||
|
public function setPassword($_password)
|
||||||
|
{
|
||||||
|
$this->password = $_password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setUsers($_users)
|
||||||
|
{
|
||||||
|
foreach ($_users as $user) $this->users[$user['username']] = $user['password'];
|
||||||
|
}
|
||||||
|
private function checkPassword()
|
||||||
|
{
|
||||||
|
return (sha1($this->password) == $this->users[$this->username]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function auth()
|
||||||
|
{
|
||||||
|
if ($_SERVER['HTTP_HOST'] != 'dev.cadline.hu') return true;
|
||||||
|
|
||||||
|
$sql = "SELECT m.strMail AS username, a.admPass AS password FROM `" . CRMADATBAZIS . "`.`h_admins` a
|
||||||
|
INNER JOIN `" . CRMADATBAZIS . "`.`managers` m ON m.admID = a.admID";
|
||||||
|
$this->query($sql);
|
||||||
|
$admins = $this->fetchAssoc();
|
||||||
|
$this->setUsers($admins);
|
||||||
|
|
||||||
|
$this->setUsername($_SERVER['PHP_AUTH_USER']);
|
||||||
|
$this->setPassword($_SERVER['PHP_AUTH_PW']);
|
||||||
|
|
||||||
|
if (!$this->validate() && !$this->checkCode()) {
|
||||||
|
header('WWW-Authenticate: Basic realm="Restricted area"');
|
||||||
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
|
die("Not authorized");
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private function checkCode()
|
||||||
|
{
|
||||||
|
if ($this->authSession == '' || $this->authCode == '') return false;
|
||||||
|
|
||||||
|
$privateKey = Webform::GetWebformPrivateKey();
|
||||||
|
$decoded = base64_decode($this->authCode);
|
||||||
|
$decoded = Webform::decode($privateKey, $this->authSession, $decoded);
|
||||||
|
|
||||||
|
return (base64_decode($decoded) == date('Y-m-d'));
|
||||||
|
}
|
||||||
|
|
||||||
|
private function validate()
|
||||||
|
{
|
||||||
|
$exist = array_key_exists($this->username, $this->users);
|
||||||
|
if ($exist && $this->checkPassword()) return true;
|
||||||
|
else return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7159",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:common_cadline_libraries/crm_test.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/common_cadline_libraries/crm_test.class.php)",
|
||||||
|
"original_sha256": "d1fb152dd4ce01954e4f025f954d95405e0a7d51744fe0940134e85f3f06603c",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1784306419,
|
||||||
|
"size": 23670,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "common_cadline_libraries/crm_test.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7162",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:common_cadline_libraries/crm_users.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/common_cadline_libraries/crm_users.class.php)",
|
||||||
|
"original_sha256": "1a8419cbc958662de0784f2426c090a2025cf6bd2cc95bc356b4515047db2aa7",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1724833354,
|
||||||
|
"size": 50033,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "common_cadline_libraries/crm_users.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,182 @@
|
|||||||
|
<?php // shCache : URL cache file for sh404SEF
|
||||||
|
// version 4.4.4.1791
|
||||||
|
if (!defined('_JEXEC')) die('Direct Access to this location is not allowed.');
|
||||||
|
$shURLCacheCreationDate = 1777988528;
|
||||||
|
|
||||||
|
$this->_urlCache['3413a98bba684e38b03c495df86ec06a']='index.php?option=com_sppagebuilder&Itemid=801&id=403&lang=hu&layout=edit&tmpl=component&view=form#edit/403#0';
|
||||||
|
$this->_urlCache['99433b5babee3234fc82c92346ce89ed']='index.php?option=com_users&Itemid=&lang=hu&view=registration#fiok-letrehozasa/#0';
|
||||||
|
$this->_urlCache['a1453c562f683c8290e02a2621236fed']='index.php?option=com_users&Itemid=&lang=hu&view=remind#lost-user-name/#0';
|
||||||
|
$this->_urlCache['6122dde37c830dd6fa6357288bd7094d']='index.php?option=com_users&Itemid=&lang=hu&view=reset#elfelejtett-jelszo/#0';
|
||||||
|
$this->_urlCache['24c911632b521b8c56826f09b8c8d6f6']='index.php?option=com_sppagebuilder&Itemid=742&id=342&lang=hu&view=page#attekintes#1';
|
||||||
|
$this->_urlCache['40b98f2544f23b0e8ca78714bfe41b05']='index.php?option=com_sppagebuilder&Itemid=740&id=340&lang=hu&view=page#attekintes/epiteszeti-elonyok#1';
|
||||||
|
$this->_urlCache['5b8fabcda63b52fd3e0a5732058217c4']='index.php?option=com_sppagebuilder&Itemid=741&id=341&lang=hu&view=page#attekintes/belsoepiteszeti-elonyok#1';
|
||||||
|
$this->_urlCache['55d8986940d6f81dae6a81301bbd64ba']='index.php?option=com_sppagebuilder&Itemid=743&id=343&lang=hu&view=page#attekintes/latvanytervezes#1';
|
||||||
|
$this->_urlCache['54ebd63b65178d4f1b2da401bacfbfe4']='index.php?option=com_sppagebuilder&Itemid=744&id=344&lang=hu&view=page#attekintes/fotorealisztikus-megjelenites#1';
|
||||||
|
$this->_urlCache['e413b67fc587e36e77cbc262d5f5d69b']='index.php?option=com_sppagebuilder&Itemid=787&id=390&lang=hu&view=page#termekek/ai-render#0';
|
||||||
|
$this->_urlCache['6c46ce4f996f55102ebf7fcda028fdd7']='index.php?option=com_sppagebuilder&Itemid=793&id=395&lang=hu&view=page#termekek/d5-render-plugin#1';
|
||||||
|
$this->_urlCache['ee2fb44ccb8a7d16a48d8789b56282fe']='index.php?option=com_sppagebuilder&Itemid=781&id=385&lang=hu&view=page#termekek/viewer-mobil-alkalmazas#0';
|
||||||
|
$this->_urlCache['7ed41f22f964d196d7d0ae3e795e38c9']='index.php?option=com_sppagebuilder&Itemid=770&id=373&lang=hu&view=page#attekintes/ujdonsagok-2025#1';
|
||||||
|
$this->_urlCache['19d7a7c134b6f7ab5c11f539f3e4cf7d']='index.php?option=com_sppagebuilder&Itemid=720&id=337&lang=hu&view=page#termekek/ujdonsagok#0';
|
||||||
|
$this->_urlCache['657e058a73a0323b4331043d3381065c']='index.php?option=com_sppagebuilder&Itemid=648&id=279&lang=hu&view=page#termekek/archline-xp-live-2021#0';
|
||||||
|
$this->_urlCache['a5a7f1b445a4a4aef68e2f2f583d0e4a']='index.php?option=com_sppagebuilder&Itemid=799&id=401&lang=hu&view=page#termekek/ujdonsagok-2026#0';
|
||||||
|
$this->_urlCache['067f2c3e29ecd227d455cc06a6bcb829']='index.php?option=com_content&Itemid=366&id=24&lang=hu&layout=blog&view=category#blog/munkak-bemutatasa/#0';
|
||||||
|
$this->_urlCache['fea6425fa65538143af33b19ef970fea']='index.php?option=com_content&Itemid=367&id=25&lang=hu&layout=blog&view=category#blog/szakmai-cikkek/#0';
|
||||||
|
$this->_urlCache['329dd2e1ab2b59f87c5341b5422d7a44']='index.php?option=com_sppagebuilder&Itemid=381&id=104&lang=hu&view=page#termekek/archline-xp-professional/galeria#1';
|
||||||
|
$this->_urlCache['542300e2ab18917b441d0effd2866c0c']='index.php?option=com_sppagebuilder&Itemid=750&id=359&lang=hu&view=page#termekek/archline-xp-professional/galeria/epiteszeti-galeria#1';
|
||||||
|
$this->_urlCache['23bc39175acf7d884a148a999df69500']='index.php?option=com_sppagebuilder&Itemid=751&id=360&lang=hu&view=page#termekek/archline-xp-professional/galeria/belsoepiteszeti-galeria#1';
|
||||||
|
$this->_urlCache['c9a8266a9eea3286b6895c034c29948b']='index.php?option=com_sppagebuilder&Itemid=791&id=394&lang=hu&view=page#blog/galeria/ai-render-galeria#0';
|
||||||
|
$this->_urlCache['bb21dab8da1a78238f91019eb5506ea6']='index.php?option=com_sppagebuilder&Itemid=608&id=65&lang=hu&view=page#oktatas/dokumentaciok#1';
|
||||||
|
$this->_urlCache['b0afbf1365523463b2ee2f12d1aa1e4c']='index.php?option=com_sppagebuilder&Itemid=681&id=304&lang=hu&view=page#oktatas/workshopok#1';
|
||||||
|
$this->_urlCache['f4d1659cef593cc64567f4e45f9477a1']='index.php?option=com_sppagebuilder&Itemid=651&id=283&lang=hu&view=page#oktatas/webinariumok#1';
|
||||||
|
$this->_urlCache['0eb4fcde6df8a31d37ad9708a38c211d']='index.php?option=com_sppagebuilder&Itemid=800&id=402&lang=hu&view=page#oktatas/ferenczi-eva-tanfolyam#0';
|
||||||
|
$this->_urlCache['7d705b52eb5fa542235cba9073236cb4']='index.php?option=com_sppagebuilder&Itemid=758&id=365&lang=hu&view=page#oktatas/harosi-krisztina-render-tanfolyam#0';
|
||||||
|
$this->_urlCache['379cc8b845696aeeb3f29b9adb9ceeb6']='index.php?option=com_sppagebuilder&Itemid=759&id=366&lang=hu&view=page#oktatas/harosi-krisztina-render-tanfolyam/belter#0';
|
||||||
|
$this->_urlCache['943b49c6cf3f76273da6a2e878576061']='index.php?option=com_sppagebuilder&Itemid=763&id=369&lang=hu&view=page#oktatas/harosi-krisztina-render-tanfolyam/kulter#0';
|
||||||
|
$this->_urlCache['f68df0b4690482cf4e1b4a69322dee0a']='index.php?option=com_sppagebuilder&Itemid=764&id=370&lang=hu&view=page#oktatas/harosi-krisztina-render-tanfolyam/photoshop#0';
|
||||||
|
$this->_urlCache['d588d60b6b00e76ec5c3d8b742ca339e']='index.php?option=com_sppagebuilder&Itemid=780&id=384&lang=hu&view=page#oktatas/harosi-krisztina-render-tanfolyam/d5-render-alap#1';
|
||||||
|
$this->_urlCache['15e33e370bba855063f3e1dceffc98ca']='index.php?option=com_sppagebuilder&Itemid=801&id=403&lang=hu&view=page#oktatas/harosi-krisztina-render-tanfolyam/d5-render-halado#1';
|
||||||
|
$this->_urlCache['e7f91f26162198a201bb8935842ef480']='index.php?option=com_sppagebuilder&Itemid=807&id=408&lang=hu&view=page#oktatas/d5-render-3-0-ujdonsagok#0';
|
||||||
|
$this->_urlCache['31a340a437d2219b04d6090373adde39']='index.php?option=com_sppagebuilder&Itemid=766&id=374&lang=hu&view=page#oktatas/aranyi-klaudia-tanfolyamok#0';
|
||||||
|
$this->_urlCache['4cc496b38cc0679379fafbc488800cd0']='index.php?option=com_sppagebuilder&Itemid=767&id=375&lang=hu&view=page#oktatas/aranyi-klaudia-tanfolyamok/aranyi-klaudia-kezdo-tanfolyam#1';
|
||||||
|
$this->_urlCache['0e6a51b24a8b2aa3ac9234586c99ebab']='index.php?option=com_sppagebuilder&Itemid=768&id=376&lang=hu&view=page#oktatas/aranyi-klaudia-tanfolyamok/aranyi-klaudia-halado-tanfolyam#0';
|
||||||
|
$this->_urlCache['20ab894ada18cb4133100432353d83c7']='index.php?option=com_sppagebuilder&Itemid=786&id=389&lang=hu&view=page#oktatas/aranyi-klaudia-tanfolyamok/aranyi-klaudia-kiviteli-terv-tanfolyam#0';
|
||||||
|
$this->_urlCache['9506eaabb6dc1bc6d2e344daf558cd46']='index.php?option=com_sppagebuilder&Itemid=769&id=377&lang=hu&view=page#oktatas/aranyi-klaudia-tanfolyamok/aranyi-klaudia-teto-es-lepcso-szerkesztes-tanfolyam#0';
|
||||||
|
$this->_urlCache['9be11022228b6f95ccfb718d3f846cd6']='index.php?option=com_sppagebuilder&Itemid=193&id=132&lang=hu&view=page#oktatas/vizsgák#1';
|
||||||
|
$this->_urlCache['76b160e1b9faf7bc4a4a98949e1654d9']='index.php?option=com_sppagebuilder&Itemid=347&id=99&lang=hu&view=page#oktatas/workshopok/esemenynaptar#0';
|
||||||
|
$this->_urlCache['798303c403f91401a750c7d3817a763e']='index.php?option=com_sppagebuilder&Itemid=433&id=128&lang=hu&view=page#oktatas/workshopok/alapfoku-vizsga#0';
|
||||||
|
$this->_urlCache['97fe969bcfa056aa48cae6428415e514']='index.php?option=com_sppagebuilder&Itemid=434&id=129&lang=hu&view=page#oktatas/workshopok/kozepfoku-vizsga#0';
|
||||||
|
$this->_urlCache['8350ff20eba2eba90d12fa289e9452e6']='index.php?option=com_sppagebuilder&Itemid=435&id=293&lang=hu&view=page#oktatas/workshopok/alapfoku-tanfolyam#0';
|
||||||
|
$this->_urlCache['b9b70c4478f44a38a47faf4198fcd728']='index.php?option=com_sppagebuilder&Itemid=549&id=203&lang=hu&view=page#oktatas/workshopok/alapfoku-hallgatoi-vizsga#0';
|
||||||
|
$this->_urlCache['84525d8b946004cd225e41158ce03355']='index.php?option=com_sppagebuilder&Itemid=550&id=204&lang=hu&view=page#oktatas/workshopok/kozepfoku-hallgatoi-vizsga#0';
|
||||||
|
$this->_urlCache['2d5f2b24c7e88899b5bc411f9730d954']='index.php?option=com_sppagebuilder&Itemid=589&id=238&lang=hu&view=page#oktatas/workshopok/lepcso-es-tetoter-szerkesztes#0';
|
||||||
|
$this->_urlCache['a1ec19bfdb334a6c33379e7c020c44d0']='index.php?option=com_sppagebuilder&Itemid=590&id=239&lang=hu&view=page#oktatas/workshopok/epiteszeti-tervfeldolgozas-lepcso-szerkesztes#0';
|
||||||
|
$this->_urlCache['9e3800b921f53d9bea2d80094a6509d9']='index.php?option=com_sppagebuilder&Itemid=595&id=246&lang=hu&view=page#oktatas/workshopok/felsofoku-tanfolyam#0';
|
||||||
|
$this->_urlCache['a27e3842e7ffc7f20c70a4a224380717']='index.php?option=com_sppagebuilder&Itemid=596&id=248&lang=hu&view=page#oktatas/workshopok/foliakezeles#0';
|
||||||
|
$this->_urlCache['9972607f1b48ab85fd23507dbd414b49']='index.php?option=com_sppagebuilder&Itemid=597&id=249&lang=hu&view=page#oktatas/workshopok/tervezesi-fazisok#0';
|
||||||
|
$this->_urlCache['b69a77c4c900375e0fac1443c0b8db92']='index.php?option=com_sppagebuilder&Itemid=599&id=257&lang=hu&view=page#oktatas/workshopok/felsofoku-vizsga#0';
|
||||||
|
$this->_urlCache['2cdaac839417170861549519c309a02d']='index.php?option=com_sppagebuilder&Itemid=600&id=250&lang=hu&view=page#oktatas/workshopok/nyilaszaro-keszitese#0';
|
||||||
|
$this->_urlCache['0cbd4a8079c19b85fb3ff9cfd1cd2800']='index.php?option=com_sppagebuilder&Itemid=601&id=251&lang=hu&view=page#oktatas/workshopok/csapatmunka#0';
|
||||||
|
$this->_urlCache['e9f70d7d1e130a7a321bb82a2fe30188']='index.php?option=com_sppagebuilder&Itemid=602&id=252&lang=hu&view=page#oktatas/workshopok/vilagitasi-terv#0';
|
||||||
|
$this->_urlCache['2a00c04e4db304161b41d24dbd4e9d45']='index.php?option=com_sppagebuilder&Itemid=603&id=253&lang=hu&view=page#oktatas/workshopok/almennyezet#0';
|
||||||
|
$this->_urlCache['75cffaf00395f818b19f6a6eaf4eb7fe']='index.php?option=com_sppagebuilder&Itemid=604&id=254&lang=hu&view=page#oktatas/workshopok/fuggonyfalak-es-uzleti-portalok#0';
|
||||||
|
$this->_urlCache['153085e6cda31f97c4625e11012af2ce']='index.php?option=com_sppagebuilder&Itemid=605&id=255&lang=hu&view=page#oktatas/workshopok/vazszerkezetes-falak#0';
|
||||||
|
$this->_urlCache['5536fabe02b9e38a32b81af01a1a7d81']='index.php?option=com_sppagebuilder&Itemid=606&id=258&lang=hu&view=page#oktatas/workshopok/epiteszeti-tanfolyam#0';
|
||||||
|
$this->_urlCache['8d00a8c4e6a4db083a7c5360a6e2ad28']='index.php?option=com_sppagebuilder&Itemid=649&id=280&lang=hu&view=page#oktatas/workshopok/alapfoku-hallgatoi-vizsga-2#0';
|
||||||
|
$this->_urlCache['d80d6e2432a7d102ec8ca05002ccbf4a']='index.php?option=com_sppagebuilder&Itemid=650&id=282&lang=hu&view=page#oktatas/workshopok/felsofoku-vizsga-oktatok-szamara#0';
|
||||||
|
$this->_urlCache['e1fb17d476090e2f3cedc6edebfdfac9']='index.php?option=com_sppagebuilder&Itemid=667&id=301&lang=hu&view=page#oktatas/workshopok/alapfoku-hallgatoi-vizsga-3#0';
|
||||||
|
$this->_urlCache['7b3f8cb75e9cdb6ec17688a6d7cbe652']='index.php?option=com_sppagebuilder&Itemid=684&id=307&lang=hu&view=page#oktatas/workshopok/kozepfoku-hallgatoi-vizsga-2#1';
|
||||||
|
$this->_urlCache['ac4ce1d984e0a4d1fcce24c20e6db9ea']='index.php?option=com_sppagebuilder&Itemid=685&id=308&lang=hu&view=page#oktatas/workshopok/alapfoku-hallgatoi-vizsga-4#1';
|
||||||
|
$this->_urlCache['89e056288321c2d105171932e78d5ab4']='index.php?option=com_sppagebuilder&Itemid=725&id=329&lang=hu&view=page#oktatas/workshopok/alapfoku-hallgatoi-vizsga-5#1';
|
||||||
|
$this->_urlCache['3a5d66db9c8ddd4c8cc09900e15a0313']='index.php?option=com_sppagebuilder&Itemid=746&id=349&lang=hu&view=page#oktatas/vizsgak/kozepfoku-hallgatoi-vizsga-3#0';
|
||||||
|
$this->_urlCache['d5ba183e74073eb3497f0236f4357ea1']='index.php?option=com_sppagebuilder&Itemid=747&id=350&lang=hu&view=page#oktatas/vizsgak/kozepfoku-hallgatoi-vizsga-4#0';
|
||||||
|
$this->_urlCache['b4c53e6c9ec367abdec70034ff2a9184']='index.php?option=com_sppagebuilder&Itemid=195&id=355&lang=hu&view=page#oktatas/iskolak#0';
|
||||||
|
$this->_urlCache['5f5803ad18dee3ee3c51f3fe271a2900']='index.php?option=com_sppagebuilder&Itemid=666&id=300&lang=hu&view=page#oktatas/iskolak/oktatoi-bonusz-vizsga#0';
|
||||||
|
$this->_urlCache['73580aef4c5e0bff6c33ca098b852d6e']='index.php?option=com_sppagebuilder&Itemid=210&id=356&lang=hu&view=page#oktatas/termektamogatas#0';
|
||||||
|
$this->_urlCache['d8b49855e54e627c375bd7009e8365b4']='index.php?option=com_sppagebuilder&Itemid=808&id=409&lang=hu&view=page#palyazatok/rendering-palyazat-2026-kiiras#1';
|
||||||
|
$this->_urlCache['32c0f01ec6599853c893fb55868d0d9e']='index.php?option=com_sppagebuilder&Itemid=810&id=411&lang=hu&view=page#palyazatok/rendering-palyazat-2026/archline-d5-render#0';
|
||||||
|
$this->_urlCache['75a1f32a11a4107e5e391d92dbb5a688']='index.php?option=com_sppagebuilder&Itemid=809&id=410&lang=hu&view=page#palyazatok/rendering-palyazat-2026/archline-render#0';
|
||||||
|
$this->_urlCache['c8dd70e5f2ed00166dabe9d7a3f1c532']='index.php?option=com_sppagebuilder&Itemid=805&id=406&lang=hu&view=page#palyazatok/losz-ev-lakberendezoje-2025-kulondijas#0';
|
||||||
|
$this->_urlCache['d1ad69282b16ae75b0525a8ad19d16b6']='index.php?option=com_sppagebuilder&Itemid=806&id=407&lang=hu&view=page#palyazatok/losz-ev-szobaja-2026-kulondijas#0';
|
||||||
|
$this->_urlCache['15aca545edec1eac6668ff069c377dd4']='index.php?option=com_sppagebuilder&Itemid=804&id=405&lang=hu&view=page#palyazatok/losz-ev-furdoszobaja-2026-palyazat-kulondij#0';
|
||||||
|
$this->_urlCache['df38419782873230fabd8924da66c195']='index.php?option=com_sppagebuilder&Itemid=798&id=400&lang=hu&view=page#palyazatok/losz-ev-lakberendezoje-2025-palyazat#0';
|
||||||
|
$this->_urlCache['9ff62a09b51c7cec6ed402564f38dc41']='index.php?option=com_sppagebuilder&Itemid=797&id=399&lang=hu&view=page#palyazatok/losz-ev-szobaja-2026-palyazat#0';
|
||||||
|
$this->_urlCache['1a735ea940bbec79a0a1da898b4eeea3']='index.php?option=com_sppagebuilder&Itemid=796&id=398&lang=hu&view=page#palyazatok/losz-ev-furdoszobaja-2026-palyazat#0';
|
||||||
|
$this->_urlCache['b363dea3dc42af8b5ffd4e5db79706ad']='index.php?option=com_sppagebuilder&Itemid=792&id=393&lang=hu&view=page#palyazatok/az-ev-legjobb-vizsgamunkaja-2025#0';
|
||||||
|
$this->_urlCache['f3a5a8ad3ac2e2ecfc8f9d5bfc4f46f8']='index.php?option=com_sppagebuilder&Itemid=794&id=396&lang=hu&view=page#palyazatok/az-ev-legjobb-vizsgamunkaja-2025-dijazottak#0';
|
||||||
|
$this->_urlCache['744fe6a72e9ea913868c2f3023fa6b2e']='index.php?option=com_sppagebuilder&Itemid=782&id=386&lang=hu&view=page#palyazatok/rendering-palyazat-2025-dijazottak#1';
|
||||||
|
$this->_urlCache['379dbdcc8551b3d963054d7810cea4ca']='index.php?option=com_sppagebuilder&Itemid=773&id=378&lang=hu&view=page#palyazatok/rendering-palyazat-2025#0';
|
||||||
|
$this->_urlCache['496c9d7a3ea6f01b3f375104db6edbca']='index.php?option=com_sppagebuilder&Itemid=761&id=368&lang=hu&view=page#palyazatok/losz-ev-furdoszobaja-2025-palyazat#0';
|
||||||
|
$this->_urlCache['05496e19f8bb0e8566c9efd95eaa75a5']='index.php?option=com_sppagebuilder&Itemid=762&id=334&lang=hu&view=page#palyazatok/losz-ev-szobaja-2025#0';
|
||||||
|
$this->_urlCache['614c917c9cef1cfb1fad3a05e0b10cd3']='index.php?option=com_sppagebuilder&Itemid=760&id=367&lang=hu&view=page#palyazatok/losz-ev-lakberendezoje-2024-palyazati-kiiras#1';
|
||||||
|
$this->_urlCache['c0a8fb6e8cbc07a75124e5dd208ebe64']='index.php?option=com_content&Itemid=176&id=21&lang=hu&layout=blog&view=category#palyazatok/ev-kepe/#0';
|
||||||
|
$this->_urlCache['a4f1e55ad5bfa923dc00f08b5f6e6a2e']='index.php?option=com_sppagebuilder&Itemid=724&id=327&lang=hu&view=page#palyazatok/blog-palyazati-felhivas#0';
|
||||||
|
$this->_urlCache['3eaa77bf995880825d27312f2ef7f57a']='index.php?option=com_sppagebuilder&Itemid=682&id=316&lang=hu&view=page#palyazatok/losz-ev-lakberendezoje-2022#0';
|
||||||
|
$this->_urlCache['19d4947520ec910cbf2dc21b4b8ae1a5']='index.php?option=com_sppagebuilder&Itemid=661&id=295&lang=hu&view=page#palyazatok/ev-lakberendezoje-2021-kulon-dij#0';
|
||||||
|
$this->_urlCache['cf10ba3bce389ab467789f43567ed4a8']='index.php?option=com_content&Itemid=790&id=1105&lang=hu&view=article#palyazatok/rendering-palyazat-2025-dijatado-kepek#0';
|
||||||
|
$this->_urlCache['4b0d2abc7c31c6fb508a63fac038f805']='index.php?option=com_sppagebuilder&Itemid=765&id=371&lang=hu&view=page#palyazatok/ev-lakberendezoje-2024#1';
|
||||||
|
$this->_urlCache['b2c391262d2d827f752fe494c2c52f02']='index.php?option=com_sppagebuilder&Itemid=774&id=380&lang=hu&view=page#palyazatok/losz-ev-szobaja-2025-kulondijas#0';
|
||||||
|
$this->_urlCache['8a606d6501544f55b353a566870f885f']='index.php?option=com_sppagebuilder&Itemid=772&id=379&lang=hu&view=page#palyazatok/ev-furdoszobaja-2025-kulondij#0';
|
||||||
|
$this->_urlCache['328330df20170514ca8b95542084ce48']='index.php?option=com_sppagebuilder&Itemid=756&id=364&lang=hu&view=page#palyazatok/rendering-palyazat-2024-dijazottak#0';
|
||||||
|
$this->_urlCache['19d12d45afbe0bb0a0b68f0e285fd338']='index.php?option=com_sppagebuilder&Itemid=745&id=347&lang=hu&view=page#palyazatok/ev-szobaja-2024-kulondij#0';
|
||||||
|
$this->_urlCache['a7059a01bb34dd9b351b39ef5e4c93fe']='index.php?option=com_sppagebuilder&Itemid=736&id=336&lang=hu&view=page#palyazatok/ev-furdoszobaja-2024-kulondij#0';
|
||||||
|
$this->_urlCache['4f1aad2a9b086d935c287c0396a333a2']='index.php?option=com_sppagebuilder&Itemid=733&id=332&lang=hu&view=page#palyazatok/losz-ev-lakberendezoje-2023-palyazat-kulondijas#0';
|
||||||
|
$this->_urlCache['a40af25b4a70cf31dba4bc7b5b083007']='index.php?option=com_content&Itemid=175&id=20&lang=hu&layout=blog&view=category#palyazatok/honap-kepe/#0';
|
||||||
|
$this->_urlCache['3aa5ad0716e8c0afc160a736c878ecf3']='index.php?option=com_sppagebuilder&Itemid=340&id=96&lang=hu&view=page#palyazatok/honap-kepe/palyazati-feltetelek#0';
|
||||||
|
$this->_urlCache['00507a3ce27bebbd52f07119812b9b60']='index.php?option=com_content&Itemid=795&id=1111&lang=hu&view=article#palyazatok/az-ev-legjobb-vizsgamunkaja-palyazat-2025-dijatado-kepek#0';
|
||||||
|
$this->_urlCache['de7cd00cebafc1aa226d530489d2e6f5']='index.php?option=com_sppagebuilder&Itemid=695&id=348&lang=hu&view=page#vasarlas#0';
|
||||||
|
$this->_urlCache['754843de3eb6903dc93e0740646b1e3a']='index.php?option=com_sppagebuilder&Itemid=696&id=383&lang=hu&view=page#vasarlas/frissites-karbantartas#1';
|
||||||
|
$this->_urlCache['004a6c9e46132205a9de68fb44afed66']='index.php?option=com_sppagebuilder&Itemid=788&id=391&lang=hu&view=page#vasarlas/airender#1';
|
||||||
|
$this->_urlCache['b38da2f93cf57d4cd07ae8010c18bc26']='index.php?option=com_sppagebuilder&Itemid=802&id=404&lang=hu&view=page#vasarlas/frissites-karbantartas-akcio-render#1';
|
||||||
|
$this->_urlCache['037a38660ebb7e7fb5508c3074f26847']='index.php?option=com_sppagebuilder&Itemid=575&id=93&lang=hu&view=page#letoltes/probaverzio#0';
|
||||||
|
$this->_urlCache['a7dfe20b2f3a0c88efc79059fa78c3e1']='index.php?option=com_sppagebuilder&Itemid=213&id=56&lang=hu&view=page#letoltes/letoltesikozpont#0';
|
||||||
|
$this->_urlCache['72c39ba18f2b9e247794d89f2f127909']='index.php?option=com_sppagebuilder&Itemid=214&id=61&lang=hu&view=page#letoltes/letoltesikozpont/letoltheto-projektek#0';
|
||||||
|
$this->_urlCache['a70c43a92e0060a6ab8a2aa684dab6aa']='index.php?option=com_sppagebuilder&Itemid=321&id=62&lang=hu&view=page#letoltes/letoltesikozpont/alkalmazasok/driverek#0';
|
||||||
|
$this->_urlCache['06b7f800c904a73c363d1a7e260f88d1']='index.php?option=com_sppagebuilder&Itemid=107&id=86&lang=hu&view=page#kapcsolat#0';
|
||||||
|
$this->_urlCache['0f83565cf4b46d7fa1bbb7e291623844']='index.php?option=com_sppagebuilder&Itemid=223&id=48&lang=hu&view=page#felhasznalo#0';
|
||||||
|
$this->_urlCache['f9268d4b97e91623bfe2d71778903a85']='index.php?option=com_sppagebuilder&Itemid=582&id=233&lang=hu&view=page#al-licences#0';
|
||||||
|
$this->_urlCache['ec8adbaa5a765c29de2e6343e24b7439']='index.php?option=com_sppagebuilder&Itemid=734&id=333&lang=hu&view=page#warehouse/felhasznalasi-feltetelek#1';
|
||||||
|
$this->_urlCache['ccc62de6038aeca9b3c824f1662d2c4e']='index.php?option=com_content&Itemid=395&id=586&lang=hu&view=article#jogi/cegismerteto#0';
|
||||||
|
$this->_urlCache['1aa0a0033d03efb56a85e0af6810a357']='index.php?option=com_sppagebuilder&Itemid=784&id=387&lang=hu&view=page#rendering-palyazat-2025-dijazottak-archline-render#0';
|
||||||
|
$this->_urlCache['7546471a4346bfc86f68071ba6af69c7']='index.php?option=com_sppagebuilder&Itemid=785&id=388&lang=hu&view=page#rendering-palyazat-2025-dijazottak-archline-d5-render#0';
|
||||||
|
$shURLCacheCreationDate=1777988529;
|
||||||
|
$this->_urlCache['b1885ac9f677daa139530cb67d53cac4']='index.php?option=com_sppagebuilder&id=100&lang=hu&view=page#hiba/404#1';
|
||||||
|
$shURLCacheCreationDate=1778663565;
|
||||||
|
$this->_urlCache['865a8654b37635c366760eba814fbb94']='index.php?option=com_sppagebuilder&Itemid=0&id=100&lang=hu&layout=edit&tmpl=component&view=form#100-404-error/edit#0';
|
||||||
|
$shURLCacheCreationDate=1778663566;
|
||||||
|
$this->_urlCache['ca586e40cbb4b4ed81ac15d75fedf3fb']='index.php?option=com_sppagebuilder&Itemid=811&id=412&lang=hu&view=page#oktatas/harosi-krisztina-tanfolyamok#0';
|
||||||
|
$shURLCacheCreationDate=1778752968;
|
||||||
|
$this->_urlCache['177223df7c0c3c2d60514d29d0b52a97']='index.php?option=com_jsn&Itemid=&id=12986&lang=hu&view=profile#erika.bogararchlinexp.com.html#0';
|
||||||
|
$this->_urlCache['15dbb326ceb5fe39e1c182e7b3809c2d']='index.php?option=com_jsn&Itemid=&id=42296&lang=hu&view=profile#renata.nagycadline.hu.html#0';
|
||||||
|
$this->_urlCache['f3a120e32d4c8fce0332ad28e3c5f8f4']='index.php?option=com_content&Itemid=366&catid=24&id=1135&lang=hu&view=article#blog/munkak-bemutatasa/a-ter-ami-egyutt-el-a-csaladdal#0';
|
||||||
|
$this->_urlCache['e88f278aa4a680522dd8db978b4e1da4']='index.php?option=com_content&Itemid=366&catid=24&id=1143&lang=hu&view=article#blog/munkak-bemutatasa/vizparti-nyaralo-ahol-a-design-a-termeszettel-rezonal#0';
|
||||||
|
$this->_urlCache['76d03a1e2d7388cee233c322e7453640']='index.php?option=com_content&Itemid=366&catid=24&id=1137&lang=hu&view=article#blog/munkak-bemutatasa/mely-tonusok-hivogato-otthon#0';
|
||||||
|
$this->_urlCache['e58a34ac30040f3f0ce7a255d0aa819c']='index.php?option=com_content&Itemid=366&catid=24&id=1134&lang=hu&view=article#blog/munkak-bemutatasa/smaragd-elegancia#0';
|
||||||
|
$this->_urlCache['cbe5b97dda859b3e61a7c066281e22a6']='index.php?option=com_content&Itemid=366&catid=24&id=1125&lang=hu&view=article#blog/munkak-bemutatasa/dr-forgo-brigitta-vizsgamunkaja-kiemelt-palyamunka#0';
|
||||||
|
$this->_urlCache['b35498ac8243a0c4d7f89ba2a2f46e36']='index.php?option=com_content&Itemid=366&catid=24&id=1121&lang=hu&view=article#blog/munkak-bemutatasa/salanki-jozipovics-timea-vizsgamunkaja-kiemelt-palyamunka#1';
|
||||||
|
$this->_urlCache['810a8956de89842c98b0b53e280d902d']='index.php?option=com_content&Itemid=366&catid=24&id=1120&lang=hu&view=article#blog/munkak-bemutatasa/sebestyen-bodrogi-anett-vizsgamunkaja-kiemelt-palyamunka#1';
|
||||||
|
$this->_urlCache['087b9a989e68b2384165c452c3908d91']='index.php?option=com_content&Itemid=366&catid=24&id=1119&lang=hu&view=article#blog/munkak-bemutatasa/puskas-laura-vizsgamunkaja-kiemelt-palyamunka#1';
|
||||||
|
$this->_urlCache['875d50148da231306c0f74ac6f4b6d36']='index.php?option=com_content&Itemid=366&catid=24&id=1118&lang=hu&view=article#blog/munkak-bemutatasa/palffy-katalin-vizsgamunkaja-kiemelt-palyamunka#1';
|
||||||
|
$this->_urlCache['c2f94bc12d0fa4dfe97a9afa61e466a0']='index.php?option=com_content&Itemid=366&catid=24&id=1117&lang=hu&view=article#blog/munkak-bemutatasa/filone-rozgonyi-nora-vizsgamunkaja-kiemelt-palyamunka#0';
|
||||||
|
$this->_urlCache['180d7017054ec8a476b66a40e55b3b6b']='index.php?option=com_content&Itemid=366&catid=24&id=1116&lang=hu&view=article#blog/munkak-bemutatasa/szeles-csenge-vizsgamunkaja-kiemelt-palyamunka#0';
|
||||||
|
$this->_urlCache['3a1b62664076454216cb1c942d235ccd']='index.php?option=com_content&Itemid=366&catid=24&id=1115&lang=hu&view=article#blog/munkak-bemutatasa/qerimi-nemeti-szilvia-vizsgamunkaja-szakmai-dij-harmadik-helyezett-2#0';
|
||||||
|
$this->_urlCache['eddd152d4d3f88bdfc599ffd97af3fe9']='index.php?option=com_content&Itemid=366&catid=24&id=1114&lang=hu&view=article#blog/munkak-bemutatasa/eke-ranga-zsofia-vizsgamunkaja-szakmai-dij-harmadik-helyezett#0';
|
||||||
|
$this->_urlCache['f4fed5423a66edba5bb565aa8d73b25a']='index.php?option=com_content&Itemid=366&catid=24&id=1113&lang=hu&view=article#blog/munkak-bemutatasa/tihany-tamara-vizsgamunkaja-szakmai-dij-masodik-helyezett#0';
|
||||||
|
$this->_urlCache['c6bf6ef639a9a29ee55dac82ea26ed63']='index.php?option=com_content&Itemid=366&catid=24&id=1112&lang=hu&view=article#blog/munkak-bemutatasa/pakodi-dorka-vizsgamunkaja-szakmai-fodij#0';
|
||||||
|
$this->_urlCache['742939bb87c7c9dbe082fe1b0db8b027']='index.php?option=com_content&Itemid=366&catid=24&id=1092&lang=hu&view=article#blog/munkak-bemutatasa/exkluziv-modern-furdoszoba#0';
|
||||||
|
$this->_urlCache['f18d65d0e243646703b816f96c2d7d71']='index.php?option=com_content&Itemid=366&catid=24&id=1096&lang=hu&view=article#blog/munkak-bemutatasa/kenyelem-es-stilus-harmoniaja-a-modern-furdoszobaban#0';
|
||||||
|
$this->_urlCache['292213d3567c7b5556f8af6f3c67ae04']='index.php?option=com_content&Itemid=366&catid=24&id=1085&lang=hu&view=article#blog/munkak-bemutatasa/bravur-15-negyzetmeteren-a-vizivarosban#0';
|
||||||
|
$this->_urlCache['520677bfd1e0976589819dc49051e92d']='index.php?option=com_content&Itemid=366&catid=24&id=1108&lang=hu&view=article#blog/munkak-bemutatasa/archlinexp-2025-d5-render-ferenczi-eva#0';
|
||||||
|
$this->_urlCache['1a8ac64c9466ff5f517c3fa8ca30a4a7']='index.php?option=com_content&Itemid=366&catid=24&id=1104&lang=hu&view=article#blog/munkak-bemutatasa/archline-xp-pillanatkepek#0';
|
||||||
|
$this->_urlCache['fd1d5ce0e01256045bb65c9d5dddd474']='index.php?option=com_content&Itemid=366&catid=24&id=1086&lang=hu&view=article#blog/munkak-bemutatasa/biborba-barsonyba-gyongyos-koszoruba#0';
|
||||||
|
$this->_urlCache['7903a279ca225dfb3d04e17ca35d7d1c']='index.php?option=com_content&Itemid=366&catid=24&id=1107&lang=hu&view=article#blog/munkak-bemutatasa/archlinexp-2025-ai-render-ferenczi-eva#0';
|
||||||
|
$this->_urlCache['e8a712e1dbd35b0f8d3e54f669fd7e71']='index.php?option=com_content&Itemid=366&catid=24&id=1106&lang=hu&view=article#blog/munkak-bemutatasa/archlinexp-2025-ai-render-aranyi-klaudia#0';
|
||||||
|
$this->_urlCache['69f28173b2bac2bee8e75ddca4e6c00c']='index.php?option=com_content&Itemid=366&catid=24&id=1098&lang=hu&view=article#blog/munkak-bemutatasa/termeszetes-elegancia-modern-kontosben#0';
|
||||||
|
$this->_urlCache['25632dfec33ceccafbf56b5a097549e0']='index.php?option=com_content&Itemid=366&catid=24&id=1099&lang=hu&view=article#blog/munkak-bemutatasa/otthon-a-szalon-felett#0';
|
||||||
|
$this->_urlCache['68da484980603d6c4a5f34d683b7cc9c']='index.php?option=com_content&Itemid=366&catid=24&id=1102&lang=hu&view=article#blog/munkak-bemutatasa/megtervezzuk-nok-lapja-2024-37-konyha-ujragondolva#0';
|
||||||
|
$this->_urlCache['7710319e7c01764593176add7de18e2d']='index.php?option=com_content&Itemid=366&catid=24&id=1097&lang=hu&view=article#blog/munkak-bemutatasa/tagas-es-vilagos-ter-harmoniaja#0';
|
||||||
|
$this->_urlCache['edddca21ac9934a311f0f5ff6d02fa83']='index.php?option=com_content&Itemid=366&catid=24&id=1095&lang=hu&view=article#blog/munkak-bemutatasa/bauhaus-es-industrial-stilusok-harmonikus-otvozete#0';
|
||||||
|
$this->_urlCache['869ea1514bda4d0e3307be2da4e5e6c4']='index.php?option=com_content&Itemid=366&catid=24&id=1094&lang=hu&view=article#blog/munkak-bemutatasa/casalines-ivek-es-vonalak-harmonikus-otthona#0';
|
||||||
|
$this->_urlCache['198d18b9227b66f21ec5e76e2e9ef201']='index.php?option=com_content&Itemid=366&catid=24&id=1083&lang=hu&view=article#blog/munkak-bemutatasa/megtervezzuk-nok-lapja-2024-32-szoba-konyha-luxus-kivitelben#0';
|
||||||
|
$this->_urlCache['861d334e2fe56b5447cf927d152176b6']='index.php?option=com_content&Itemid=366&catid=24&id=1079&lang=hu&view=article#blog/munkak-bemutatasa/deco-hostel#0';
|
||||||
|
$shURLCacheCreationDate=1778753975;
|
||||||
|
$this->_urlCache['650f3272da39d3c6a19e242500893bff']='index.php?option=com_sppagebuilder&Itemid=124&id=339&lang=hu&layout=edit&tmpl=component&view=form#edit/339#0';
|
||||||
|
$shURLCacheCreationDate=1778899498;
|
||||||
|
$this->_urlCache['650f3272da39d3c6a19e242500893bff']='index.php?option=com_sppagebuilder&Itemid=124&id=339&lang=hu&layout=edit&tmpl=component&view=form#edit/339#0';
|
||||||
|
$shURLCacheCreationDate=1778899499;
|
||||||
|
$this->_urlCache['128c1c1fc019cad927787613b07d5c54']='index.php?option=com_sppagebuilder&Itemid=811&id=412&lang=hu&layout=edit&tmpl=component&view=form#edit/412#0';
|
||||||
|
$shURLCacheCreationDate=1779957918;
|
||||||
|
$this->_urlCache['09df47014231eef0917c348837ba8b3d']='index.php?option=com_sppagebuilder&Itemid=812&id=413&lang=hu&view=page#palyazatok/rendering-palyazat-2026-dijazottak#0';
|
||||||
|
$this->_urlCache['6098827da78ebc23d67255e732a52b38']='index.php?option=com_content&Itemid=813&id=1146&lang=hu&view=article#palyazatok/rendering-palyazat-2026-dijatado-kepek#0';
|
||||||
|
$shURLCacheCreationDate=1781606018;
|
||||||
|
$this->_urlCache['0e7275cbd70734b65d441a756b525fe1']='index.php?option=com_sppagebuilder&Itemid=812&id=413&lang=hu&layout=edit&tmpl=component&view=form#edit/413#0';
|
||||||
|
$shURLCacheCreationDate=1781781483;
|
||||||
|
$this->_urlCache['73fbfcb68af2a7ae835edd6f7a5528b0']='index.php?option=com_content&Itemid=176&catid=21&id=982&lang=hu&view=article#palyazatok/ev-kepe/az-ev-kepe-2022#0';
|
||||||
|
$shURLCacheCreationDate=1782671030;
|
||||||
|
$this->_urlCache['73fbfcb68af2a7ae835edd6f7a5528b0']='index.php?option=com_content&Itemid=176&catid=21&id=982&lang=hu&view=article#palyazatok/ev-kepe/az-ev-kepe-2022#0';
|
||||||
|
$shURLCacheCreationDate=1782671031;
|
||||||
|
$this->_urlCache['3aebdb615c90eced3c9eb7bcac2b88c2']='index.php?option=com_content&Itemid=366&catid=24&id=1126&lang=hu&view=article#blog/munkak-bemutatasa/gal-orsolya-vizsgamunkaja-kiemelt-palyamunka#0';
|
||||||
|
$shURLCacheCreationDate=1783665252;
|
||||||
|
$this->_urlCache['4b179bfe2c918294dc49fe9e9347abf7']='index.php?option=com_content&Itemid=366&catid=24&id=1127&lang=hu&view=article#blog/munkak-bemutatasa/bognar-barabas-reka-vizsgamunkaja-kiemelt-palyamunka#0';
|
||||||
|
$shURLCacheCreationDate=1784107017;
|
||||||
|
$this->_urlCache['a39c813f7b5d6d803a8033d981998476']='index.php?option=com_sppagebuilder&Itemid=387&id=106&lang=hu&view=page#oktatas/iskolak/archline-konzultacio#0';
|
||||||
|
$shURLCacheCreationDate=1784147302;
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "4780",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:components/com_sh404sef/cache/shCacheContent.02d49a3aafc62f9ee0bccaa9e183178e.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/components/com_sh404sef/cache/shCacheContent.02d49a3aafc62f9ee0bccaa9e183178e.php)",
|
||||||
|
"original_sha256": "694daa999ab400060b090d8f0ecaa63b86e9a97bb3dcc9de43447cc6e8c948a7",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1784147302,
|
||||||
|
"size": 31758,
|
||||||
|
"uid": 20043
|
||||||
|
},
|
||||||
|
"rel_path": "components/com_sh404sef/cache/shCacheContent.02d49a3aafc62f9ee0bccaa9e183178e.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "4778",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:components/com_sh404sef/cache/shCacheContent.efec898659ae35934839e1b0fbdf1de7.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/components/com_sh404sef/cache/shCacheContent.efec898659ae35934839e1b0fbdf1de7.php)",
|
||||||
|
"original_sha256": "7004a39323bdce13e9e2056a54a3a4f25ca614750ee317d4395351e3ac4c0af3",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1784295381,
|
||||||
|
"size": 265419,
|
||||||
|
"uid": 20043
|
||||||
|
},
|
||||||
|
"rel_path": "components/com_sh404sef/cache/shCacheContent.efec898659ae35934839e1b0fbdf1de7.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
5
var/www/hosting/archline.hu/www/maintenance/.gitignore
vendored
Normal file
5
var/www/hosting/archline.hu/www/maintenance/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
serverAlive.txt
|
||||||
|
activateServer.txt
|
||||||
|
webform/airender
|
||||||
|
tests/images
|
||||||
|
serverAliveSecondary.txt
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6982",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/.gitignore -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/.gitignore)",
|
||||||
|
"original_sha256": "5acb091961b9d361c6dd356a85ff5175ede76c4c0428bfb28b83f1c973c758ab",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1760947920,
|
||||||
|
"size": 93,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/.gitignore",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
183
var/www/hosting/archline.hu/www/maintenance/.htaccess
Normal file
183
var/www/hosting/archline.hu/www/maintenance/.htaccess
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
##
|
||||||
|
# @package Joomla
|
||||||
|
# @copyright Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.
|
||||||
|
# @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
##
|
||||||
|
|
||||||
|
##
|
||||||
|
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
|
||||||
|
#
|
||||||
|
# The line just below this section: 'Options +FollowSymLinks' may cause problems
|
||||||
|
# with some server configurations. It is required for use of mod_rewrite, but may already
|
||||||
|
# be set by your server administrator in a way that dissallows changing it in
|
||||||
|
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
|
||||||
|
# beginning of line), reload your site in your browser and test your sef url's. If they work,
|
||||||
|
# it has been set by your server administrator and you do not need it set here.
|
||||||
|
##
|
||||||
|
|
||||||
|
## Can be commented out if causes errors, see notes above.
|
||||||
|
Options +FollowSymLinks
|
||||||
|
|
||||||
|
## Mod_rewrite in use.
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
RewriteCond %{HTTP_HOST} ^archlinexp.co.uk$ [OR]
|
||||||
|
RewriteCond %{HTTP_HOST} ^www.archlinexp.co.uk$
|
||||||
|
rewriterule (.*) http://www.archlinexp.com/ [r=301,nc,l]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^menu=tips(.*)&lang=(.*)&version=(.*)&session=(.*)$
|
||||||
|
RewriteRule ^index\.php$ /maintenance/tips\.php?lang=%2&version=%3&session=%4 [NC,R=302,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^menu=activate_90_days_active&lang=(.*)&ser=(.*)&pwd=(.*)$
|
||||||
|
RewriteRule ^index\.php$ /maintenance/activate_90_days_active\.php?ser=%2&pwd=%3 [NC,R=302,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^option=com_project&view=category&template=category$
|
||||||
|
RewriteRule ^index\.php$ http://www.archlinexp.com/index.php?option=com_project&view=category&template=category&lang=hun [NC,R=301,L]
|
||||||
|
rewriterule ^collection/category_archlinexp/Hun$ http://www.archlinexp.com/index.php?option=com_project&view=category&template=category&lang=hun [NC,r=301,l]
|
||||||
|
rewriterule ^collection/category_archlinexp/(.*)$ http://www.archlinexp.com/index.php?option=com_project&view=category&template=category&lang=eng [NC,r=301,l]
|
||||||
|
|
||||||
|
rewriterule ^collection/upload/(.*)/(.*)/(.*)$ /index.php?option=com_showroom&view=upload&template=blankframe&file=$1&type=$2&lang=$3 [r=302,nc,l]
|
||||||
|
rewriterule ^collection/uploadgroup/(.*)/(.*)/(.*)$ /index.php?option=com_showroom&view=uploadgroup&template=blankframe&file=$1&type=$2&lang=$3 [r=302,nc,l]
|
||||||
|
|
||||||
|
rewriterule ^version/warehousedownloadlink/(.*)/(.*)$ /maintenance/warehousedownloadlink.php?link=$1&archlineversion=$2 [nc,l]
|
||||||
|
rewriterule ^version/warehousedownloadlink/(.*)$ /maintenance/warehousedownloadlink.php?link=$1 [nc,l]
|
||||||
|
rewriterule ^version/warehouseparsesource/$ /maintenance/warehouseparsesource.php [nc,l]
|
||||||
|
rewriterule ^version/warehousegetfileformat/(.*)/(.*)$ /maintenance/warehousegetfileformat.php?link=$1&archlineversion=$2 [nc,l]
|
||||||
|
|
||||||
|
rewriterule ^version/geopluginlink/$ /maintenance/geopluginlink.php [nc,l]
|
||||||
|
|
||||||
|
rewriterule ^edit-user-details(.*)$ index.php?option=com_users&view=profile&layout=edit [nc,l]
|
||||||
|
rewriterule ^public/tcexam/(.*)$ http://tcexam.archline.hu/ [r=301,nc,l]
|
||||||
|
|
||||||
|
rewriterule ^download/(.*)/(.*)/index_CSH.htm(.*)$ /public/downloads/$1/$2/index_CSH.htm$3 [r=301,nc,l]
|
||||||
|
|
||||||
|
RewriteCond %{HTTP_HOST} ^www.archlinexp.com$
|
||||||
|
rewriterule ^rss$ /news/feed/rss [r=302,nc,l]
|
||||||
|
|
||||||
|
RewriteCond %{HTTP_HOST} ^www.archlinexp.com$
|
||||||
|
rewriterule ^school/(.*)$ /iskolak/$1 [nc,l]
|
||||||
|
rewriterule ^pro_live_bundle /maintenance/pro_live_bundle.php [nc,l]
|
||||||
|
|
||||||
|
rewriterule ^hu/collection2/index/(.*)/(.*)$ /index.php?option=com_showroom&template=blankframe&lang=hun&ver=$2 [r=301,nc,l]
|
||||||
|
rewriterule ^en/collection2/index/(.*)/(.*)$ /index.php?option=com_showroom&template=blankframe&lang=eng&ver=$2 [r=301,nc,l]
|
||||||
|
rewriterule ^es/collection2/index/(.*)/(.*)$ /index.php?option=com_showroom&template=blankframe&lang=eng&ver=$2 [r=301,nc,l]
|
||||||
|
rewriterule ^it/collection2/index/(.*)/(.*)$ /index.php?option=com_showroom&template=blankframe&lang=eng&ver=$2 [r=301,nc,l]
|
||||||
|
rewriterule ^de/collection2/index/(.*)/(.*)$ /index.php?option=com_showroom&template=blankframe&lang=eng&ver=$2 [r=301,nc,l]
|
||||||
|
rewriterule ^collection2/index/hun/(.*)$ /index.php?option=com_showroom&template=blankframe&lang=hun&ver=$1 [r=301,nc,l]
|
||||||
|
rewriterule ^collection2/index/(.*)/(.*)$ /index.php?option=com_showroom&template=blankframe&lang=eng&ver=$2 [r=301,nc,l]
|
||||||
|
|
||||||
|
RewriteCond %{HTTP_HOST} ^www.archlinexp.com$
|
||||||
|
rewriterule ^collection2$ /index.php?option=com_showroom&template=blankframe&lang=eng&ver=29 [r=301,nc,l]
|
||||||
|
RewriteRule ^enrollments/courses/([^/]*)/?([^/]*)?/?([^/]*)?$ /beiratkozas/tanfolyamok.php?url=$1&id=$2&lesson=$3 [nc,l]
|
||||||
|
|
||||||
|
RewriteCond %{HTTP_HOST} ^www.archline.hu$
|
||||||
|
rewriterule ^collection2$ /index.php?option=com_showroom&template=blankframe&lang=hun&ver=29 [r=301,nc,l]
|
||||||
|
RewriteRule ^beiratkozas/tanfolyamok/([^/]*)/?([^/]*)?/?([^/]*)?$ /beiratkozas/tanfolyamok.php?url=$1&id=$2&lesson=$3 [nc,l]
|
||||||
|
|
||||||
|
rewriterule ^projects/supportupload/(.*)/(.*)$ /maintenance/supportupload.php?sn=$1&guid=$2 [nc,l]
|
||||||
|
rewriterule ^crash/(.*)/(.*)/(.*)/(.*)$ /maintenance/crash.php?guid=$1&build=$2&lang=$3&serial=$4 [nc,l]
|
||||||
|
rewriterule ^crash/(.*)/(.*)/(.*)$ /maintenance/crash.php?guid=$1&build=$2&lang=$3 [nc,l]
|
||||||
|
rewriterule ^crash/(.*)/(.*)$ /maintenance/crash.php?guid=$1&build=$2 [nc,l]
|
||||||
|
rewriterule ^crash/(.*)$ /maintenance/crash.php?guid=$1 [nc,l]
|
||||||
|
rewriterule ^version/regisztracio/(.*)/(.*)/(.*)$ /maintenance/regisztracio.php?serial=$1&isid=$2&kod=$3 [nc,l]
|
||||||
|
rewriterule ^version/regisztracio/(.*)/(.*)$ /maintenance/regisztracio.php?serial=$1&isid=$2 [nc,l]
|
||||||
|
rewriterule ^version/unregister/(.*)/(.*)$ /maintenance/unregister.php?serial=$1&isid=$2 [nc,l]
|
||||||
|
rewriterule ^version/aktivalasikod/(.*)/(.*)/(.*)$ /maintenance/aktivalasikod.php?serial=$1&isid=$2&kod=$3 [nc,l]
|
||||||
|
rewriterule ^version/update/(.*)/(.*)/(.*)$ /maintenance/update.php?projectid=$1&pkgid=$2&serial=$3 [nc,l]
|
||||||
|
rewriterule ^version/elofizkarbxml/(.*)/(.*)$ /maintenance/elofizkarbxml.php?file=$1&lang=$2 [nc,l]
|
||||||
|
rewriterule ^version/elofizkarbxml/(.*)$ /maintenance/elofizkarbxml.php?file=$1 [nc,l]
|
||||||
|
rewriterule ^version/updatexml$ /maintenance/updatexml.php [nc,l]
|
||||||
|
rewriterule ^version/getserialanddaycode/(.*)/(.*)/(.*)/(.*)$ /maintenance/getserialanddaycode.php?serial=$1&ver=$2&isid=$3&npid=$4 [nc,l]
|
||||||
|
rewriterule ^cron/startchangedhardlock$ /maintenance/startchangedhardlock.php [nc,l]
|
||||||
|
rewriterule ^cron/hibasprograminditasok$ /maintenance/hibasprograminditasok.php [nc,l]
|
||||||
|
rewriterule ^cron/elofizurites$ /maintenance/elofizurites.php [nc,l]
|
||||||
|
rewriterule ^cron/elofizexcelcheck$ /maintenance/elofizexcelcheck.php [nc,l]
|
||||||
|
rewriterule ^other/viewerlejartaktorlese$ /maintenance/viewerlejartaktorlese.php [nc,l]
|
||||||
|
rewriterule ^unsubscribe/(.*)$ /maintenance/leiratkozas.php?email=$1 [nc,l]
|
||||||
|
rewriterule ^leiratkozas/(.*)$ /maintenance/leiratkozas.php?email=$1 [nc,l]
|
||||||
|
rewriterule ^events/newclick/(.*)/(.*) /maintenance/newclick.php?alias=$1&email=$2 [nc,qsa,l]
|
||||||
|
rewriterule ^crashadmin$ /maintenance/crashadmin.php [nc,l]
|
||||||
|
rewriterule ^crashadmin/(.*)$ /maintenance/crashadmin.php?guid=$1 [nc,l]
|
||||||
|
|
||||||
|
# 404-es oldalak atiranyitasa
|
||||||
|
rewriterule ^public/support/tips/(.*)/xml/settings.xml /maintenance/empty_result.xml [nc,l]
|
||||||
|
rewriterule ^public/support/commandtips/(.*)/xml/settings.xml /maintenance/empty_result.xml [nc,l]
|
||||||
|
|
||||||
|
#rewriterule ^business/activate_30/(.*)$ /cadline-kft [r=301,nc,l]
|
||||||
|
#rewriterule ^settings/lang/(.*)$ / [r=301,nc,l]
|
||||||
|
#RewriteRule ^public/hr/ARCHLINE_XP2015_64bit_setup.exe$ /public/downloads/eng/ARCHLINE_XP2015_64bit_setup.exe [r=302,NC,L]
|
||||||
|
#rewriterule ^azure/status/(.*)/(.*)/(.*)/(.*)/(.*)$ /maintenance/azure_vm_status.php?vmname=$1&lastactivity=$2&rdppart=$3&sessionid=$4&cpuusage=$5 [nc,l]
|
||||||
|
#rewriterule ^azure/status_test/(.*)$ /maintenance/azure_vm_status_test.php?stop=$1 [nc,l]
|
||||||
|
#rewriterule ^cron/messages_email$ /maintenance/messages_email.php [nc,l]
|
||||||
|
#rewriterule ^cron/downloademail$ /maintenance/downloademail.php [nc,l]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
rewriterule ^download/download-center/downloadable-projects https://www.archlinexp.com/education/workshops/workshop-application-preliminary [nc,l]
|
||||||
|
|
||||||
|
Redirect /blog/szakmai-cikkek/rendering-oktatasi-segedlet https://help.archlinexp.com/hc/hu-hu/articles/360019417997-Rendering-oktat%C3%A1si-seg%C3%A9dlet
|
||||||
|
Redirect /blog/professional-articles/rendering-tutorial https://help.archlinexp.com/hc/en-us/articles/360019417997-Rendering-Tutorial
|
||||||
|
Redirect /oktatas/rendszerkovetelmenyek https://help.archlinexp.com/hc/hu-hu/articles/360012845578-Rendszerk%C3%B6vetelm%C3%A9nyek
|
||||||
|
Redirect /education/system-requirements https://help.archlinexp.com/hc/en-us/articles/360012845578-System-requirements
|
||||||
|
Redirect /termekek/archline-xp-live/live-rendszerkovetelmenyek https://help.archlinexp.com/hc/hu-hu/articles/360012845578-Rendszerk%C3%B6vetelm%C3%A9nyek
|
||||||
|
Redirect /oktatas/faq https://help.archlinexp.com/hc/hu-hu/articles/360012793498-Mit-csin%C3%A1l-az-ARCHLine-XP-program
|
||||||
|
Redirect /education/faq https://help.archlinexp.com/hc/en-us/articles/360012793498-What-is-ARCHLine-XP-Professional-
|
||||||
|
|
||||||
|
## Begin - Tanfolyam oldalak atiranyitasa az uj oldalra.
|
||||||
|
#
|
||||||
|
Redirect /oktatas/workshopok/alapfoku-tanfolyam https://www.archline.hu/oktatas/workshopok
|
||||||
|
Redirect /oktatas/workshopok/kozepfoku-tanfolyam https://www.archline.hu/oktatas/workshopok
|
||||||
|
Redirect /oktatas/workshopok/felsofoku-tanfolyam https://www.archline.hu/oktatas/workshopok
|
||||||
|
Redirect /oktatas/workshopok/epiteszeti-tanfolyam https://www.archline.hu/oktatas/workshopok
|
||||||
|
#
|
||||||
|
## End - Tanfolyam oldalak atiranyitasa az uj oldalra.
|
||||||
|
|
||||||
|
## Begin - Rewrite rules to block out some common exploits.
|
||||||
|
# If you experience problems on your site block out the operations listed below
|
||||||
|
# This attempts to block the most common type of exploit `attempts` to Joomla!
|
||||||
|
#
|
||||||
|
# Block out any script trying to base64_encode data within the URL.
|
||||||
|
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
|
||||||
|
# Block out any script that includes a <script> tag in URL.
|
||||||
|
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
|
||||||
|
# Block out any script trying to set a PHP GLOBALS variable via URL.
|
||||||
|
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
|
||||||
|
# Block out any script trying to modify a _REQUEST variable via URL.
|
||||||
|
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
|
||||||
|
# Return 403 Forbidden header and show the content of the root homepage
|
||||||
|
RewriteRule .* index.php [F]
|
||||||
|
#
|
||||||
|
## End - Rewrite rules to block out some common exploits.
|
||||||
|
|
||||||
|
## Begin - Custom redirects
|
||||||
|
#
|
||||||
|
# If you need to redirect some pages, or set a canonical non-www to
|
||||||
|
# www redirect (or vice versa), place that code here. Ensure those
|
||||||
|
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
|
||||||
|
#
|
||||||
|
## End - Custom redirects
|
||||||
|
|
||||||
|
##
|
||||||
|
# Uncomment following line if your webserver's URL
|
||||||
|
# is not directly related to physical file paths.
|
||||||
|
# Update Your Joomla! Directory (just / for root).
|
||||||
|
##
|
||||||
|
|
||||||
|
# RewriteBase /
|
||||||
|
|
||||||
|
## Begin - Joomla! core SEF Section.
|
||||||
|
#
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
#
|
||||||
|
# If the requested path and file is not /index.php and the request
|
||||||
|
# has not already been internally rewritten to the index.php script
|
||||||
|
RewriteCond %{REQUEST_URI} !^/index\.php
|
||||||
|
# and the requested path and file doesn't directly match a physical file
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
# and the requested path and file doesn't directly match a physical folder
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
# internally rewrite the request to the index.php script
|
||||||
|
RewriteRule .* index.php [L]
|
||||||
|
#
|
||||||
|
## End - Joomla! core SEF Section.
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6964",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/.htaccess -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/.htaccess)",
|
||||||
|
"original_sha256": "fc175d344b413e625f5ee2358c739218865cdc00a5db5a3e7448480e6bbfd382",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1749559514,
|
||||||
|
"size": 11440,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/.htaccess",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,284 @@
|
|||||||
|
<?php
|
||||||
|
$doc = (trim($_SERVER['DOCUMENT_ROOT']) > '' ? trim($_SERVER['DOCUMENT_ROOT']) : '..');
|
||||||
|
if (!isset($config)) require_once('common_cadline_libraries/crm_config.db.php');
|
||||||
|
|
||||||
|
if (!defined('_DB_HOST') && isset($config['db_host'])) define('_DB_HOST', $config['db_host']);
|
||||||
|
if (!defined('_DB_NAME') && isset($config['db_user'])) define('_DB_NAME', $config['db_user']);
|
||||||
|
if (!defined('_DB_USER') && isset($config['db_user'])) define('_DB_USER', $config['db_user']);
|
||||||
|
if (!defined('_DB_PASS') && isset($config['db_pass'])) define('_DB_PASS', $config['db_pass']);
|
||||||
|
|
||||||
|
class MySqlHelper
|
||||||
|
{
|
||||||
|
public static $msh;
|
||||||
|
public $writelog;
|
||||||
|
|
||||||
|
|
||||||
|
private $host;
|
||||||
|
private $name;
|
||||||
|
private $user;
|
||||||
|
private $pass;
|
||||||
|
|
||||||
|
private $connection;
|
||||||
|
|
||||||
|
private $queryString;
|
||||||
|
private $queryResult;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->connection = false;
|
||||||
|
$this->host = '';
|
||||||
|
$this->user = '';
|
||||||
|
$this->pass = '';
|
||||||
|
$this->name = '';
|
||||||
|
$this->writelog = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the instance
|
||||||
|
*
|
||||||
|
* @return MySqlHelper
|
||||||
|
*/
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$msh)) return self::$msh;
|
||||||
|
self::$msh = new MySqlHelper();
|
||||||
|
self::$msh->init();
|
||||||
|
return self::$msh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function escapeString($str = "")
|
||||||
|
{
|
||||||
|
$ret = mysqli_real_escape_string($this->connection, $str);
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function init($host = _DB_HOST, $name = _DB_NAME, $user = _DB_USER, $pass = _DB_PASS)
|
||||||
|
{
|
||||||
|
$this->host = $host;
|
||||||
|
$this->name = $name;
|
||||||
|
$this->user = $user;
|
||||||
|
$this->pass = $pass;
|
||||||
|
}
|
||||||
|
|
||||||
|
private function connect()
|
||||||
|
{
|
||||||
|
if ($this->connection) return;
|
||||||
|
|
||||||
|
$this->connection = mysqli_connect($this->host, $this->user, $this->pass);
|
||||||
|
|
||||||
|
if (false === $this->connection) throw new Exception('Can\'t connect to db');
|
||||||
|
|
||||||
|
mysqli_select_db($this->connection, $this->name);
|
||||||
|
mysqli_query($this->connection, 'SET CHARACTER SET UTF8');
|
||||||
|
mysqli_query($this->connection, 'SET NAMES \'UTF8\' ');
|
||||||
|
mysqli_set_charset($this->connection, 'utf8');
|
||||||
|
|
||||||
|
if (mysqli_error($this->connection)) throw new Exception(mysqli_error($this->connection));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function query($query)
|
||||||
|
{
|
||||||
|
$this->connect();
|
||||||
|
$this->queryString = $query;
|
||||||
|
|
||||||
|
if ($this->is_write_type($query) === TRUE) {
|
||||||
|
$boolWrite = TRUE;
|
||||||
|
$arrSkip = array('h_aktivalas_infok', 'h_history', 'u_history', 'u_userstatus_history', 'cl_hlusers.userstats2013', 'cl_hlusers.switch', 'cl_hlusers.writelog');
|
||||||
|
foreach ($arrSkip as $tabla) {
|
||||||
|
if (strpos($query, $tabla)) {
|
||||||
|
$boolWrite = FALSE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($boolWrite == TRUE) {
|
||||||
|
mysqli_query($this->connection, "INSERT INTO `cl_hlusers`.`writelog` (`user`,`datum`,`ip`,`url`,`func`,`sql`) VALUES (
|
||||||
|
'" . (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'www.archlinexp.com') . "',
|
||||||
|
'" . date("Y-m-d H:i:s", time()) . "',
|
||||||
|
'" . (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '127.0.0.1') . "',
|
||||||
|
'" . (isset($_SERVER['SERVER_NAME']) ? addslashes($_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']) : '') . "',
|
||||||
|
'" . addslashes("function: " . __FUNCTION__ . " method: " . __METHOD__) . "','" . addslashes($query) . "');");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->queryResult = mysqli_query($this->connection, $query);
|
||||||
|
if (mysqli_error($this->connection)) throw new Exception(mysqli_error($this->connection) . ' Query: ' . $this->queryString);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function fetchNext()
|
||||||
|
{
|
||||||
|
$back = array();
|
||||||
|
if ($row = mysqli_fetch_assoc($this->queryResult)) {
|
||||||
|
foreach ($row as $key => $value) {
|
||||||
|
$row[$key] = stripslashes($value);
|
||||||
|
}
|
||||||
|
$back = $row;
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function fetchAssoc()
|
||||||
|
{
|
||||||
|
$back = array();
|
||||||
|
while ($row = mysqli_fetch_assoc($this->queryResult)) {
|
||||||
|
foreach ($row as $key => $value) {
|
||||||
|
$row[$key] = stripslashes($value);
|
||||||
|
}
|
||||||
|
$back[] = $row;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getInsertedId()
|
||||||
|
{
|
||||||
|
return mysqli_insert_id($this->connection);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function select($table, $where = false, $offset = false, $limit = false, $order = false)
|
||||||
|
{
|
||||||
|
$whereStr = '';
|
||||||
|
$limitStr = '';
|
||||||
|
$orderStr = '';
|
||||||
|
|
||||||
|
if (is_array($where)) $whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
elseif ($where) $whereStr = 'WHERE ' . $where;
|
||||||
|
|
||||||
|
if (($offset !== false and $offset !== null) && ($limit !== false and $limit !== null)) {
|
||||||
|
$limitStr = 'LIMIT ' . $offset . ', ' . $limit;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_array($order)) {
|
||||||
|
$orderStr = 'ORDER BY ';
|
||||||
|
foreach ($order as $key => $value) {
|
||||||
|
$orderStr .= $key . ' ' . $value . ' ';
|
||||||
|
}
|
||||||
|
} elseif ($order) $orderStr = 'ORDER BY ' . $order;
|
||||||
|
|
||||||
|
return $this->query('SELECT * FROM ' . $table . ' ' . $whereStr . ' ' . $orderStr . ' ' . $limitStr);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getProp($table, $func, $field, $where = false)
|
||||||
|
{
|
||||||
|
$whereStr = '';
|
||||||
|
if (is_array($where)) $whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
elseif ($where) $whereStr = 'WHERE ' . $where;
|
||||||
|
|
||||||
|
$this->query('SELECT ' . $func . '(' . $field . ') as p FROM ' . $table . ' ' . $whereStr);
|
||||||
|
|
||||||
|
$arr = $this->fetchAssoc();
|
||||||
|
|
||||||
|
return $arr[0]['p'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getCount($table, $field = 'id', $where = false)
|
||||||
|
{
|
||||||
|
return $this->getProp($table, 'COUNT', $field, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getSum($table, $field = 'id', $where = false)
|
||||||
|
{
|
||||||
|
return $this->getProp($table, 'SUM', $field, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getAvg($table, $field = 'id', $where = false)
|
||||||
|
{
|
||||||
|
return $this->getProp($table, 'AVG', $field, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function delete($table, $where = false)
|
||||||
|
{
|
||||||
|
$whereStr = '';
|
||||||
|
if (is_array($where)) $whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
elseif ($where) $whereStr = 'WHERE ' . $where;
|
||||||
|
|
||||||
|
return $this->query('DELETE FROM ' . $table . ' ' . $whereStr);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function update($table, $infoArr, $where = false)
|
||||||
|
{
|
||||||
|
if (!is_array($infoArr)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$whereStr = '';
|
||||||
|
$dataArr = array();
|
||||||
|
$data = '';
|
||||||
|
if (is_array($where)) $whereStr = 'WHERE ' . $this->whereMakerPriv($where);
|
||||||
|
elseif ($where) $whereStr = 'WHERE ' . $where;
|
||||||
|
|
||||||
|
foreach ($infoArr as $key => $value) {
|
||||||
|
$dataArr[] = '`' . $key . '`="' . mysqli_real_escape_string($this->connection, $value) . '" ';
|
||||||
|
}
|
||||||
|
$data = implode(',', $dataArr);
|
||||||
|
|
||||||
|
return $this->query('UPDATE ' . $table . ' SET ' . $data . ' ' . $whereStr);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function insert($table, $infoArr)
|
||||||
|
{
|
||||||
|
$this->connect();
|
||||||
|
$columArr = array();
|
||||||
|
$valueArr = array();
|
||||||
|
$colums = '';
|
||||||
|
$values = '';
|
||||||
|
|
||||||
|
foreach ($infoArr as $key => $value) {
|
||||||
|
$columArr[] = '`' . $key . '`';
|
||||||
|
$valueArr[] = '"' . mysqli_real_escape_string($this->connection, $value) . '"';
|
||||||
|
}
|
||||||
|
|
||||||
|
$colums = implode(',', $columArr);
|
||||||
|
$values = implode(',', $valueArr);
|
||||||
|
|
||||||
|
return $this->query('INSERT INTO ' . $table . ' (' . $colums . ') VALUES (' . $values . ');');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function affectedRows()
|
||||||
|
{
|
||||||
|
return mysqli_affected_rows($this->connection);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function whereMakerPriv($where)
|
||||||
|
{
|
||||||
|
if (!is_array($where)) return 1;
|
||||||
|
$this->connect();
|
||||||
|
$back = '1 ';
|
||||||
|
foreach ($where as $key => $value) {
|
||||||
|
if (is_array($value)) $back .= 'AND `' . $key . '`' . $value[0] . '"' . $value[1] . '" ';
|
||||||
|
else $back .= 'AND `' . $key . '`="' . mysqli_real_escape_string($this->connection, $value) . '" ';
|
||||||
|
}
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function whereMaker($where)
|
||||||
|
{
|
||||||
|
if (!is_array($where)) return 1;
|
||||||
|
$back = '1 ';
|
||||||
|
foreach ($where as $key => $value) {
|
||||||
|
if (is_array($value)) $back .= 'AND `' . $key . '`' . $value[0] . '"' . $value[1] . '" ';
|
||||||
|
else $back .= 'AND `' . $key . '`="' . $value . '" ';
|
||||||
|
}
|
||||||
|
return $back;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function is_write_type($sql)
|
||||||
|
{
|
||||||
|
if (!preg_match('/^\s*"?(SET|INSERT|UPDATE|DELETE|REPLACE|CREATE|DROP|TRUNCATE|LOAD DATA|COPY|ALTER|GRANT|REVOKE|LOCK|UNLOCK)\s+/i', $sql)) {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getConnection()
|
||||||
|
{
|
||||||
|
return ($this->connection);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setConnect()
|
||||||
|
{
|
||||||
|
$this->connect();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7030",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/MySqlHelper.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/MySqlHelper.class.php)",
|
||||||
|
"original_sha256": "b998beed6ec9f9dc24f664e422709eed79cc5887681a0cbb2be2d483f87e9870",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1747828859,
|
||||||
|
"size": 8076,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/MySqlHelper.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
230
var/www/hosting/archline.hu/www/maintenance/PasswordHash.php
Normal file
230
var/www/hosting/archline.hu/www/maintenance/PasswordHash.php
Normal file
@ -0,0 +1,230 @@
|
|||||||
|
<?php
|
||||||
|
#
|
||||||
|
# Portable PHP password hashing framework.
|
||||||
|
#
|
||||||
|
# Version 0.5 / genuine.
|
||||||
|
#
|
||||||
|
# Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in
|
||||||
|
# the public domain. Revised in subsequent years, still public domain.
|
||||||
|
#
|
||||||
|
# There's absolutely no warranty.
|
||||||
|
#
|
||||||
|
# The homepage URL for this framework is:
|
||||||
|
#
|
||||||
|
# http://www.openwall.com/phpass/
|
||||||
|
#
|
||||||
|
# Please be sure to update the Version line if you edit this file in any way.
|
||||||
|
# It is suggested that you leave the main version number intact, but indicate
|
||||||
|
# your project name (after the slash) and add your own revision information.
|
||||||
|
#
|
||||||
|
# Please do not change the "private" password hashing method implemented in
|
||||||
|
# here, thereby making your hashes incompatible. However, if you must, please
|
||||||
|
# change the hash type identifier (the "$P$") to something different.
|
||||||
|
#
|
||||||
|
# Obviously, since this code is in the public domain, the above are not
|
||||||
|
# requirements (there can be none), but merely suggestions.
|
||||||
|
#
|
||||||
|
class PasswordHash
|
||||||
|
{
|
||||||
|
var $itoa64;
|
||||||
|
var $iteration_count_log2;
|
||||||
|
var $portable_hashes;
|
||||||
|
var $random_state;
|
||||||
|
|
||||||
|
function __construct($iteration_count_log2, $portable_hashes)
|
||||||
|
{
|
||||||
|
$this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
|
||||||
|
|
||||||
|
if ($iteration_count_log2 < 4 || $iteration_count_log2 > 31)
|
||||||
|
$iteration_count_log2 = 8;
|
||||||
|
$this->iteration_count_log2 = $iteration_count_log2;
|
||||||
|
|
||||||
|
$this->portable_hashes = $portable_hashes;
|
||||||
|
|
||||||
|
$this->random_state = microtime();
|
||||||
|
if (function_exists('getmypid'))
|
||||||
|
$this->random_state .= getmypid();
|
||||||
|
}
|
||||||
|
|
||||||
|
function PasswordHash($iteration_count_log2, $portable_hashes)
|
||||||
|
{
|
||||||
|
self::__construct($iteration_count_log2, $portable_hashes);
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_random_bytes($count)
|
||||||
|
{
|
||||||
|
$output = '';
|
||||||
|
if (
|
||||||
|
@is_readable('/dev/urandom') &&
|
||||||
|
($fh = @fopen('/dev/urandom', 'rb'))
|
||||||
|
) {
|
||||||
|
$output = fread($fh, $count);
|
||||||
|
fclose($fh);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strlen($output) < $count) {
|
||||||
|
$output = '';
|
||||||
|
for ($i = 0; $i < $count; $i += 16) {
|
||||||
|
$this->random_state =
|
||||||
|
md5(microtime() . $this->random_state);
|
||||||
|
$output .= md5($this->random_state, TRUE);
|
||||||
|
}
|
||||||
|
$output = substr($output, 0, $count);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
|
||||||
|
function encode64($input, $count)
|
||||||
|
{
|
||||||
|
$output = '';
|
||||||
|
$i = 0;
|
||||||
|
do {
|
||||||
|
$value = ord($input[$i++]);
|
||||||
|
$output .= $this->itoa64[$value & 0x3f];
|
||||||
|
if ($i < $count)
|
||||||
|
$value |= ord($input[$i]) << 8;
|
||||||
|
$output .= $this->itoa64[($value >> 6) & 0x3f];
|
||||||
|
if ($i++ >= $count)
|
||||||
|
break;
|
||||||
|
if ($i < $count)
|
||||||
|
$value |= ord($input[$i]) << 16;
|
||||||
|
$output .= $this->itoa64[($value >> 12) & 0x3f];
|
||||||
|
if ($i++ >= $count)
|
||||||
|
break;
|
||||||
|
$output .= $this->itoa64[($value >> 18) & 0x3f];
|
||||||
|
} while ($i < $count);
|
||||||
|
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
|
||||||
|
function gensalt_private($input)
|
||||||
|
{
|
||||||
|
$output = '$P$';
|
||||||
|
$output .= $this->itoa64[min($this->iteration_count_log2 +
|
||||||
|
((PHP_VERSION >= '5') ? 5 : 3), 30)];
|
||||||
|
$output .= $this->encode64($input, 6);
|
||||||
|
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
|
||||||
|
function crypt_private($password, $setting)
|
||||||
|
{
|
||||||
|
$output = '*0';
|
||||||
|
if (substr($setting, 0, 2) === $output)
|
||||||
|
$output = '*1';
|
||||||
|
|
||||||
|
$id = substr($setting, 0, 3);
|
||||||
|
# We use "$P$", phpBB3 uses "$H$" for the same thing
|
||||||
|
if ($id !== '$P$' && $id !== '$H$')
|
||||||
|
return $output;
|
||||||
|
|
||||||
|
$count_log2 = strpos($this->itoa64, $setting[3]);
|
||||||
|
if ($count_log2 < 7 || $count_log2 > 30)
|
||||||
|
return $output;
|
||||||
|
|
||||||
|
$count = 1 << $count_log2;
|
||||||
|
|
||||||
|
$salt = substr($setting, 4, 8);
|
||||||
|
if (strlen($salt) !== 8)
|
||||||
|
return $output;
|
||||||
|
|
||||||
|
# We were kind of forced to use MD5 here since it's the only
|
||||||
|
# cryptographic primitive that was available in all versions
|
||||||
|
# of PHP in use. To implement our own low-level crypto in PHP
|
||||||
|
# would have resulted in much worse performance and
|
||||||
|
# consequently in lower iteration counts and hashes that are
|
||||||
|
# quicker to crack (by non-PHP code).
|
||||||
|
$hash = md5($salt . $password, TRUE);
|
||||||
|
do {
|
||||||
|
$hash = md5($hash . $password, TRUE);
|
||||||
|
} while (--$count);
|
||||||
|
|
||||||
|
$output = substr($setting, 0, 12);
|
||||||
|
$output .= $this->encode64($hash, 16);
|
||||||
|
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
|
||||||
|
function gensalt_blowfish($input)
|
||||||
|
{
|
||||||
|
# This one needs to use a different order of characters and a
|
||||||
|
# different encoding scheme from the one in encode64() above.
|
||||||
|
# We care because the last character in our encoded string will
|
||||||
|
# only represent 2 bits. While two known implementations of
|
||||||
|
# bcrypt will happily accept and correct a salt string which
|
||||||
|
# has the 4 unused bits set to non-zero, we do not want to take
|
||||||
|
# chances and we also do not want to waste an additional byte
|
||||||
|
# of entropy.
|
||||||
|
$itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
||||||
|
|
||||||
|
$output = '$2a$';
|
||||||
|
$output .= chr(ord('0') + $this->iteration_count_log2 / 10);
|
||||||
|
$output .= chr(ord('0') + $this->iteration_count_log2 % 10);
|
||||||
|
$output .= '$';
|
||||||
|
|
||||||
|
$i = 0;
|
||||||
|
do {
|
||||||
|
$c1 = ord($input[$i++]);
|
||||||
|
$output .= $itoa64[$c1 >> 2];
|
||||||
|
$c1 = ($c1 & 0x03) << 4;
|
||||||
|
if ($i >= 16) {
|
||||||
|
$output .= $itoa64[$c1];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
$c2 = ord($input[$i++]);
|
||||||
|
$c1 |= $c2 >> 4;
|
||||||
|
$output .= $itoa64[$c1];
|
||||||
|
$c1 = ($c2 & 0x0f) << 2;
|
||||||
|
|
||||||
|
$c2 = ord($input[$i++]);
|
||||||
|
$c1 |= $c2 >> 6;
|
||||||
|
$output .= $itoa64[$c1];
|
||||||
|
$output .= $itoa64[$c2 & 0x3f];
|
||||||
|
} while (1);
|
||||||
|
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
|
||||||
|
function HashPassword($password)
|
||||||
|
{
|
||||||
|
$random = '';
|
||||||
|
|
||||||
|
if (CRYPT_BLOWFISH === 1 && !$this->portable_hashes) {
|
||||||
|
$random = $this->get_random_bytes(16);
|
||||||
|
$hash =
|
||||||
|
crypt($password, $this->gensalt_blowfish($random));
|
||||||
|
if (strlen($hash) === 60)
|
||||||
|
return $hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strlen($random) < 6)
|
||||||
|
$random = $this->get_random_bytes(6);
|
||||||
|
$hash =
|
||||||
|
$this->crypt_private(
|
||||||
|
$password,
|
||||||
|
$this->gensalt_private($random)
|
||||||
|
);
|
||||||
|
if (strlen($hash) === 34)
|
||||||
|
return $hash;
|
||||||
|
|
||||||
|
# Returning '*' on error is safe here, but would _not_ be safe
|
||||||
|
# in a crypt(3)-like function used _both_ for generating new
|
||||||
|
# hashes and for validating passwords against existing hashes.
|
||||||
|
return '*';
|
||||||
|
}
|
||||||
|
|
||||||
|
function CheckPassword($password, $stored_hash)
|
||||||
|
{
|
||||||
|
$hash = $this->crypt_private($password, $stored_hash);
|
||||||
|
if ($hash[0] === '*')
|
||||||
|
$hash = crypt($password, $stored_hash);
|
||||||
|
|
||||||
|
# This is not constant-time. In order to keep the code simple,
|
||||||
|
# for timing safety we currently rely on the salts being
|
||||||
|
# unpredictable, which they are at least in the non-fallback
|
||||||
|
# cases (that is, when we use /dev/urandom and bcrypt).
|
||||||
|
return $hash === $stored_hash;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6979",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/PasswordHash.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/PasswordHash.php)",
|
||||||
|
"original_sha256": "747736c194e97ee2cb28a2927954d462126efabbde1e09f11f2a3a08ee51e2f3",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 6492,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/PasswordHash.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
201
var/www/hosting/archline.hu/www/maintenance/ProjectStart.html
Normal file
201
var/www/hosting/archline.hu/www/maintenance/ProjectStart.html
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>ARCHLine.XP</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="public/css/smoothDivScroll.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="public/css/style.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="public/css/jquery-ui.css">
|
||||||
|
|
||||||
|
<script type="text/javascript" src="public/js/jquery-1.12.4.min.js"></script>
|
||||||
|
<script type="text/javascript" src="public/js/jquery-ui-1.12.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="public/js/jquery.mousewheel.min.js" ></script>
|
||||||
|
<script type="text/javascript" src="public/js/jquery.smoothdivscroll-1.3-min.js"></script>
|
||||||
|
<script type="text/javascript" src="public/js/8132d19a66.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="pattern">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="row header h66">
|
||||||
|
<div style="display:inline-block;width:66%;"> <!--class="col col-8"-->
|
||||||
|
<img src="public/img/logo.png" class="img-responsive left" />
|
||||||
|
</div>
|
||||||
|
<div class="align-items-center t_social" style="display:inline-block;width:33%;height:66px;vertical-align:top;"> <!--col col-4 -->
|
||||||
|
<ul class="none right">
|
||||||
|
<li><a href="*DLGSTR8438*" class="fa fa-facebook" title="Facebook" alt="Facebook" target="_blank"></a></li>
|
||||||
|
<li><a href="*DLGSTR8437*" class="fa fa-twitter" title="Twitter" alt="Twitter" target="_blank"></a></li>
|
||||||
|
<li><a href="*DLGSTR8436*" class="fa fa-youtube" title="YouTube" alt="YouTube" target="_blank"></a></li>
|
||||||
|
<li><a href="https://www.linkedin.com/company/cadline-network-ltd" class="fa fa-linkedin" title="LinkedIn" alt="LinkedIn" target="_blank"></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row justify-content-between header">
|
||||||
|
<div class="t_menu" style="display:inline-block;width:50%;"> <!--class="col col-4"-->
|
||||||
|
<ul class="none">
|
||||||
|
<li><a href="?NEW">*DLGSTR7201*</a></li>
|
||||||
|
<li><a href="?OPE">*DLGSTR7202*</a></li>
|
||||||
|
<li><a href="?EXI">*DLGSTR7206*</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="t_menu" style="display:inline-block;width:49%;"> <!--class="col col-4"-->
|
||||||
|
<ul class="right none pr40">
|
||||||
|
<li><a href="?SCH">*DLGSTR7205*</a></li>
|
||||||
|
<li><a href="http://www.archlinexp.com/education/video-tutorials/foundation" target="_blank">*DLGSTR3252*</a></li>
|
||||||
|
<li><a href="http://www.archlinexp.com/archline-xp/download-center/downloadable-projects" target="_blank">*DLGSTR3253*</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row"><div class="col col-12"><p class="uppercase bold ml20">*DLGSTR3250*</p></div></div>
|
||||||
|
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col col-12">
|
||||||
|
<div id="makeMeScrollable">
|
||||||
|
|
||||||
|
<!--kiemelt projektek blokkja-->
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*: *DLGSTR7214*: *DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--kiemelt projektek blokkja-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row"><div class="col col-12"><hr /></div></div>
|
||||||
|
|
||||||
|
<div class="row"><div class="col col-12"><p class="uppercase bold ml20">*DLGSTR3251*</p></div></div>
|
||||||
|
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col col-11">
|
||||||
|
<div class="lastProjectsContainer">
|
||||||
|
|
||||||
|
<!--utolso projektek blokkja-->
|
||||||
|
<div class="projectContainer" id="" >
|
||||||
|
<div class="shadow">
|
||||||
|
<a href="?GID=123456"><img src="public/img/project.jpg" class="projectImg" title="*DLGSTR7213*:
|
||||||
|
*DLGSTR7214*:
|
||||||
|
*DLGSTR7215*: " /></a>
|
||||||
|
<a href="?REM"><span class="fa fa-minus"></span></a>
|
||||||
|
<a href="?FAV=0"><span class="fa fa-star-o"></span></a>
|
||||||
|
<p><a href="?GID=123456">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--utolso projektek blokkja-->
|
||||||
|
|
||||||
|
<p class="center">*DLGSTR3262*</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row footer">
|
||||||
|
<div class="buildinfo right">*BUILD*</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--ha nincs internetkapcsolat vagy le van tiltva, akkor ez a blokk nem kell-->
|
||||||
|
<div class="row align-items-end footer">
|
||||||
|
<div class="align-top">
|
||||||
|
<iframe src="https://www.archline.hu/maintenance/banner.php?serial=MzYwNzAwODM0MDg0MDIzOQ==&build=Mjcz" scrolling="no"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--/ha nincs internetkapcsolat vagy le van tiltva, akkor ez a blokk nem kell-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
jQuery(document).ready(function () {
|
||||||
|
jQuery('.projectContainer').hover(
|
||||||
|
function() {
|
||||||
|
jQuery(this).children('div').children('a').children('.fa-star').fadeIn("fast");
|
||||||
|
jQuery(this).children('div').children('a').children('.fa-star-o').fadeIn("fast");
|
||||||
|
jQuery(this).children('div').children('a').children('.fa-minus').fadeIn("fast");
|
||||||
|
},
|
||||||
|
function() {
|
||||||
|
jQuery(this).children('div').children('a').children('.fa-star').fadeOut("fast");
|
||||||
|
jQuery(this).children('div').children('a').children('.fa-star-o').fadeOut("fast");
|
||||||
|
jQuery(this).children('div').children('a').children('.fa-minus').fadeOut("fast");
|
||||||
|
});
|
||||||
|
|
||||||
|
jQuery("div#makeMeScrollable").smoothDivScroll({
|
||||||
|
mousewheelScrolling: "allDirections",
|
||||||
|
manualContinuousScrolling: false,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
jQuery(window).resize(function() {
|
||||||
|
jQuery('.lastProjectsContainer').height(jQuery(window).height() - 435);
|
||||||
|
});
|
||||||
|
jQuery(window).trigger('resize');
|
||||||
|
|
||||||
|
jQuery( function() {
|
||||||
|
jQuery( document ).tooltip({ track: true });
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6990",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/ProjectStart.html -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/ProjectStart.html)",
|
||||||
|
"original_sha256": "064abd01b0fbb0c6e6373f227fc42c19d89a0209002410361165bd78d9dbcc87",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 10476,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/ProjectStart.html",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,84 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* eredeti url: http://www.archlinexp.com/index.php?menu=activate_90_days_active&lang=eng&ser=3977898330182471&pwd=ita
|
||||||
|
******************************************************************************/
|
||||||
|
include("config.php");
|
||||||
|
|
||||||
|
$ser = $_GET['ser'];
|
||||||
|
$pwd = $_GET['pwd'];
|
||||||
|
|
||||||
|
//mysql_query("insert into activations2 (act_ser, act_pwd, act_version, act_date, act_host) values ('$ser','$pwd','full','".time()."','".gethostbyaddr($_SERVER["REMOTE_ADDR"])."')");
|
||||||
|
|
||||||
|
switch (substr($ser, 0, 2)) {
|
||||||
|
case 99: {
|
||||||
|
break;
|
||||||
|
} // Szandekosan nincs atallitas
|
||||||
|
case 98: {
|
||||||
|
break;
|
||||||
|
} // Szandekosan nincs atallitas
|
||||||
|
case 30: {
|
||||||
|
header("Location:http://www.archlinexp.cc/?474&ser=" . $ser);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- gorog
|
||||||
|
case 42: {
|
||||||
|
break;
|
||||||
|
} //- cseh
|
||||||
|
case 31: {
|
||||||
|
header("Location:http://www.archlinexp.cc/?474&ser=" . $ser);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- holland
|
||||||
|
case 43: {
|
||||||
|
header("Location:http://www.archlinexp.cc/index.php?id=177&ser=" . $ser);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- austria
|
||||||
|
case 41: {
|
||||||
|
header("Location:http://www.archlinexp.cc/index.php?id=177&ser=" . $ser);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- austria dealer ger:
|
||||||
|
case 49: {
|
||||||
|
header("Location:http://www.archlinexp.cc/index.php?id=177&ser=" . $ser);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- nemet
|
||||||
|
case 39: {
|
||||||
|
header("Location:http://www.cadlinesw.com/web/servizi/supporto-utenti/richiesta-codici-archline-xp.html/?&ser=" . $ser . "&pwd=" . $pwd);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- olasz
|
||||||
|
case 36: //- magyar
|
||||||
|
{
|
||||||
|
session_start();
|
||||||
|
$_SESSION['serial'] = $ser;
|
||||||
|
$_SESSION['request'] = $pwd;
|
||||||
|
$_SESSION['out'] = '1';
|
||||||
|
header("Location: /business/activate/" . $ser . '/' . $pwd);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 34: {
|
||||||
|
header("Location: http://www.archlinexp.cc/es/servicecenter/ser/" . $ser);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- spanyol
|
||||||
|
case 52: {
|
||||||
|
header("Location: http://www.archlinexp.cc/es/servicecenter/ser/" . $ser);
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
} //- mexiko
|
||||||
|
case 82: {
|
||||||
|
break;
|
||||||
|
} //- korea
|
||||||
|
case 81: {
|
||||||
|
break;
|
||||||
|
} //- japan
|
||||||
|
default: {
|
||||||
|
session_start();
|
||||||
|
header("Location: /business/activate/" . $ser . '/' . $pwd);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6948",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/activate_90_days_active.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/activate_90_days_active.php)",
|
||||||
|
"original_sha256": "1af9df1f0430aacb03ef509bca3eac7a0a333fee3854fd18f51ea96f3b8c61a0",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 2444,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/activate_90_days_active.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
<?php
|
||||||
|
$http_origin = $_SERVER['HTTP_ORIGIN'];
|
||||||
|
|
||||||
|
if ($http_origin == "https://crm.cadline.hu" || $http_origin == "https://www.archline.hu" || $http_origin == "https://secondary.cadline.hu") {
|
||||||
|
header("Access-Control-Allow-Origin: $http_origin");
|
||||||
|
} else {
|
||||||
|
header('Access-Control-Allow-Origin: https://www.archline.hu');
|
||||||
|
}
|
||||||
|
|
||||||
|
header('Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept');
|
||||||
|
|
||||||
|
$name = $_POST['name'];
|
||||||
|
$serverName = $_SERVER['SERVER_NAME'];
|
||||||
|
$primaryServers = array('secondary.dev.cadline.hu', 'www.archline.hu', 'www.archlinexp.com');
|
||||||
|
$secServers = array('secondary.cadline.hu');
|
||||||
|
$txtResult = '';
|
||||||
|
|
||||||
|
switch ($name) {
|
||||||
|
case 'activateSecondary':
|
||||||
|
if (in_array($serverName, $primaryServers))
|
||||||
|
$txtResult = 'Inactive';
|
||||||
|
|
||||||
|
if (in_array($serverName, $secServers))
|
||||||
|
$txtResult = 'Active';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'activatePrimary':
|
||||||
|
if (in_array($serverName, $primaryServers))
|
||||||
|
$txtResult = 'Active';
|
||||||
|
|
||||||
|
if (in_array($serverName, $secServers))
|
||||||
|
$txtResult = 'Inactive';
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
die();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($txtResult == '')
|
||||||
|
die();
|
||||||
|
|
||||||
|
$txtString = 'Success';
|
||||||
|
|
||||||
|
$filename = $_SERVER['DOCUMENT_ROOT'] . "/activateServer.txt";
|
||||||
|
$closed = file_put_contents($filename, $txtResult);
|
||||||
|
|
||||||
|
$i = 0;
|
||||||
|
|
||||||
|
while (!$closed && $i < 10) {
|
||||||
|
$closed = file_put_contents($filename, $txtResult);
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$closed)
|
||||||
|
$txtString = 'Failed';
|
||||||
|
|
||||||
|
$result = new stdClass();
|
||||||
|
$result->message = $txtString;
|
||||||
|
|
||||||
|
echo json_encode($result);
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6989",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/activate_server.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/activate_server.php)",
|
||||||
|
"original_sha256": "921806babfc456ebe18c76d4266b3425a9d0065c3ed8d93b32784e017f1d81e0",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1758707102,
|
||||||
|
"size": 1621,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/activate_server.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* eredeti url: http://www.archline.hu/version/aktivalasikod/SERIALNUMBER/ISID/IDOKOD
|
||||||
|
******************************************************************************/
|
||||||
|
error_reporting(E_ERROR | E_PARSE);
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
|
||||||
|
$serial = $_GET['serial']; // segment(3);
|
||||||
|
$isid = $_GET['isid']; // segment(4);
|
||||||
|
$kod = $_GET['kod']; // segment(5);
|
||||||
|
|
||||||
|
crm_hardlock::correctIsid($isid);
|
||||||
|
$aktkod = crm_hardlock::GetOrGenerateTimeCode($serial, $isid, $kod);
|
||||||
|
crm_hardlock::_Hibajelento("aktivalasikod", substr($serial, 0, 6), "valasz: " . $aktkod);
|
||||||
|
|
||||||
|
print $aktkod;
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6995",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/aktivalasikod.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/aktivalasikod.php)",
|
||||||
|
"original_sha256": "f7646ed8e67f8e60967395d123d1ed1b659e4b6b25cd33c28499e8e210e7346e",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1689589294,
|
||||||
|
"size": 735,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/aktivalasikod.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
155
var/www/hosting/archline.hu/www/maintenance/al.php
Normal file
155
var/www/hosting/archline.hu/www/maintenance/al.php
Normal file
@ -0,0 +1,155 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* bejelentkezes: www.archlinexp.com/maintenance/al.php?action=login&lang=hun|eng|ger|...
|
||||||
|
* selectprogram: www.archlinexp.com/maintenance/al.php?action=selectprogram&lang=hun|eng|ger|...
|
||||||
|
* selectprogramdialog: www.archlinexp.com/maintenance/al.php?action=selectprogramdialog&lang=hun|eng|ger|...
|
||||||
|
******************************************************************************/
|
||||||
|
error_reporting(E_ERROR | E_PARSE);
|
||||||
|
require_once('config.php');
|
||||||
|
require_once('libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
|
||||||
|
$action = trim(strtolower($_GET['action']));
|
||||||
|
$lang = trim(strtolower($_GET['lang']));
|
||||||
|
|
||||||
|
switch ($action) {
|
||||||
|
case 'login': {
|
||||||
|
header("Location: https://www." . ($lang == 'hun' ? 'archline.hu/maintenance/al_login.php' : 'archlinexp.com/user'));
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'selectprogram': // xml output
|
||||||
|
{
|
||||||
|
require_once("class/selectprogram.class.php");
|
||||||
|
$sp = new SelectProgram();
|
||||||
|
$namirialNonProfit = false;
|
||||||
|
$BIMLadderNonProfit = false;
|
||||||
|
if (isset($_GET['parnterID']) && $_GET['parnterID'] == '2nt')
|
||||||
|
$namirialNonProfit = true;
|
||||||
|
else if (isset($_GET['parnterID']) && $_GET['parnterID'] == 'kbl')
|
||||||
|
$BIMLadderNonProfit = true;
|
||||||
|
$sp->getXML($_GET['pwd'], $_GET['npid'], $_GET['isid'], $namirialNonProfit, $BIMLadderNonProfit, $_GET['userid'], $_GET['commercial']);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'selectprogramdialog': // html output
|
||||||
|
{
|
||||||
|
/*require_once("class/selectprogramdialog.class.php");
|
||||||
|
$spd = new SelectProgramDialog();
|
||||||
|
$spd->getPrograms($_GET['pwd'], $_GET['userid']);*/
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'checknonprofitexists': // xml output
|
||||||
|
{
|
||||||
|
require_once("class/selectprogram.class.php");
|
||||||
|
$sp = new SelectProgram();
|
||||||
|
$sp->checkNonProfitExists($_GET['npid'], $_GET['isid']);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'email': {
|
||||||
|
if (isset($_GET["name"]) && isset($_GET["email"]) && isset($_GET["telephone"]) && isset($_GET["company"]) && isset($_GET["nonprofit"])) {
|
||||||
|
|
||||||
|
$isEmailForNamirial = true;
|
||||||
|
if (isset($_GET["parnterID"])) {
|
||||||
|
if ($_GET["parnterID"] == "2nt")
|
||||||
|
$isEmailForNamirial = true;
|
||||||
|
else if ($_GET["parnterID"] == "kbl")
|
||||||
|
$isEmailForNamirial = false;
|
||||||
|
}
|
||||||
|
$nev = base64_decode($_GET["name"]);
|
||||||
|
$email = base64_decode($_GET["email"]);
|
||||||
|
$phone = base64_decode($_GET["telephone"]);
|
||||||
|
$company = base64_decode($_GET["company"]);
|
||||||
|
$nonprofit = base64_decode($_GET["nonprofit"]);
|
||||||
|
$year = isset($_GET["year"]) ? base64_decode($_GET["year"]) : "2018";
|
||||||
|
$date = date('Y-m-d H:i:s', time());
|
||||||
|
|
||||||
|
if ($nonprofit == 0) {
|
||||||
|
if ($isEmailForNamirial)
|
||||||
|
$message = "ARCHLine.XP NamirialBIM: New trial user\n";
|
||||||
|
else
|
||||||
|
$message = "ARCHLine.XP BIMLadder: New trial user\n";
|
||||||
|
} else {
|
||||||
|
if ($isEmailForNamirial)
|
||||||
|
$message = "ARCHLine.XP NamirialBIM: New registered user\n";
|
||||||
|
else
|
||||||
|
$message = "ARCHLine.XP BIMLadder: New registered user\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
$message .= $nev;
|
||||||
|
$message .= "\n";
|
||||||
|
$message .= $email;
|
||||||
|
$message .= "\n";
|
||||||
|
$message .= $phone;
|
||||||
|
$message .= "\n";
|
||||||
|
$message .= $company;
|
||||||
|
$message .= "\n";
|
||||||
|
|
||||||
|
$mail = new PHPMailer;
|
||||||
|
$mail->isSMTP();
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
$mail->SMTPSecure = $mailconfig['SMTPSecure'];
|
||||||
|
$mail->Port = $mailconfig['Port'];
|
||||||
|
$mail->isHTML(TRUE);
|
||||||
|
$mail->setFrom(DEFAULT_EMAIL);
|
||||||
|
$mail->addAddress('support@cadline.hu');
|
||||||
|
if ($isEmailForNamirial) {
|
||||||
|
$mail->addBCC('register.archline@edilizianamirial.it');
|
||||||
|
$mail->addBCC('info@cadlinesw.com');
|
||||||
|
} else {
|
||||||
|
//ba biztonsagi okokbol, hogy a kesobbiekben is vissza tudjuk keresni
|
||||||
|
$mail->addCC('cadalog@gmail.com');
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($nonprofit == 0) {
|
||||||
|
if ($isEmailForNamirial)
|
||||||
|
$mail->Subject = 'ARCHLine.XP NamirialBIM ' . $year . ' user registration - trial mode';
|
||||||
|
else
|
||||||
|
$mail->Subject = 'ARCHLine.XP BIMLadder ' . $year . ' user registration - trial mode';
|
||||||
|
} else {
|
||||||
|
if ($isEmailForNamirial)
|
||||||
|
$mail->Subject = 'ARCHLine.XP NamirialBIM ' . $year . ' user registration - registered mode';
|
||||||
|
else
|
||||||
|
$mail->Subject = 'ARCHLine.XP BIMLadder ' . $year . ' user registration - registered mode';
|
||||||
|
}
|
||||||
|
|
||||||
|
$mail->msgHTML($message);
|
||||||
|
$mail->AltBody = strip_tags($message);
|
||||||
|
|
||||||
|
if ($mail->send()) {
|
||||||
|
if (!$isEmailForNamirial)
|
||||||
|
print 'Sent'; //ba namirial eseten kesobb jon egy header, nem szabad kiirni semmit, kulonben nem mukodik!
|
||||||
|
}
|
||||||
|
unset($mail);
|
||||||
|
|
||||||
|
if ($isEmailForNamirial) {
|
||||||
|
$namirialAction = $nonprofit == 0 ? 'trial-version' : 'registered-version';
|
||||||
|
|
||||||
|
$url = 'https://manager.cadlinesw.com/cadline-data/';
|
||||||
|
$url .= '?msg=NamirialBIM';
|
||||||
|
$url .= '&email=' . urlencode($email);
|
||||||
|
$url .= '&name=' . urlencode($nev);
|
||||||
|
$url .= '&phone=' . urlencode($phone);
|
||||||
|
$url .= '&action=' . urlencode($namirialAction);
|
||||||
|
$url .= '&business=' . urlencode($company);
|
||||||
|
$url .= '&year=' . urlencode($year);
|
||||||
|
|
||||||
|
$ch = curl_init();
|
||||||
|
$timeout = 10;
|
||||||
|
curl_setopt($ch, CURLOPT_URL, $url);
|
||||||
|
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
|
||||||
|
$data = curl_exec($ch);
|
||||||
|
curl_close($ch);
|
||||||
|
print "Sent";
|
||||||
|
//header("Location: ".$url);
|
||||||
|
//exit;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$txt = "Időpont: " . date('Y-m-d H:i:s', time()) . " IP: " . $_SERVER['REMOTE_ADDR'] . "\n";
|
||||||
|
error_log($txt, 3, "../tmp/al_log.txt");
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6983",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/al.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/al.php)",
|
||||||
|
"original_sha256": "3ccbc4486079f49118b1c90b3a2a895f8e54d909733fcdf6425b4c936219db9e",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1705326963,
|
||||||
|
"size": 6162,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/al.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
10
var/www/hosting/archline.hu/www/maintenance/alprograms.php
Normal file
10
var/www/hosting/archline.hu/www/maintenance/alprograms.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
|
||||||
|
/*$actualPrograms = crm_hardlock::GetAllPrograms(25407, 1, 19);
|
||||||
|
//echo $actualPrograms[0]["prHlNum"];
|
||||||
|
echo '<ul>';
|
||||||
|
foreach ($actualPrograms as $result){
|
||||||
|
echo "<li>".$result["prHlNum"]."</li>";
|
||||||
|
}
|
||||||
|
echo '</ul>';*/
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7005",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/alprograms.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/alprograms.php)",
|
||||||
|
"original_sha256": "bfa6d119232f74c70e577cb2ecf3dbb14a8537d216eb9cfbbd05cb948ba75688",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1689589294,
|
||||||
|
"size": 332,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/alprograms.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
120
var/www/hosting/archline.hu/www/maintenance/banner.php
Normal file
120
var/www/hosting/archline.hu/www/maintenance/banner.php
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<?php
|
||||||
|
// https://www.archline.hu/maintenance/banner.php?serial=MzYwNzAwODM0MDEyMzQ1Ng==&build=MjM0&lang=eng|hun|ger
|
||||||
|
require('config.php');
|
||||||
|
|
||||||
|
$serial = base64_decode(str_replace(" ", "+", $_GET['serial']));
|
||||||
|
$build = base64_decode(str_replace(" ", "+", $_GET['build']));
|
||||||
|
$ctrCode = substr($serial, 0, 2);
|
||||||
|
$prgType = substr($serial, 6, 1);
|
||||||
|
$prgCode = substr($serial, 7, 2);
|
||||||
|
$bldCode = (int)$build;
|
||||||
|
$lngCode = (isset($_GET['lang']) ? trim(addslashes(strtolower($_GET['lang']))) : NULL);
|
||||||
|
$hlNum = substr($serial, 0, 6);
|
||||||
|
$id = (isset($_GET['bid']) && (int)base64_decode(str_replace(" ", "+", $_GET['bid'])) > 0 ? (int)base64_decode(str_replace(" ", "+", $_GET['bid'])) : NULL);
|
||||||
|
|
||||||
|
if ($id > 0) {
|
||||||
|
$sql = "SELECT * FROM `albanner` WHERE id=" . $id;
|
||||||
|
} else {
|
||||||
|
if (strpos($hlNum, "x") === FALSE) // normál ág
|
||||||
|
{
|
||||||
|
$sql = "SELECT * FROM `www_archline_hu`.`albanner` WHERE
|
||||||
|
" . ($lngCode > '' ? " `lang`='" . $lngCode . "' AND " : "") . "
|
||||||
|
" . ($bldCode > 0 ? " (`build`=" . $bldCode . " OR `build`=0 OR `build` IS NULL) AND " : "") . "
|
||||||
|
`from_datetime`<=CURRENT_TIMESTAMP AND
|
||||||
|
`end_datetime`>CURRENT_TIMESTAMP AND
|
||||||
|
`published`='Y' AND
|
||||||
|
(substring(`pattern`,1,6)='" . $ctrCode . "xxxx' OR substring(`pattern`,1,6)='xxxxxx') AND
|
||||||
|
(substring(`pattern`,7,1)='" . $prgType . "' OR substring(`pattern`,7,1)='x') AND
|
||||||
|
(substring(`pattern`,8,2)='" . $prgCode . "' OR substring(`pattern`,8,2)='xx')
|
||||||
|
ORDER BY `priority` DESC, `add_datetime` DESC
|
||||||
|
LIMIT 10;";
|
||||||
|
} else // teszteléshez!
|
||||||
|
{
|
||||||
|
$sql = "SELECT * FROM `www_archline_hu`.`albanner` WHERE
|
||||||
|
" . ($lngCode > '' ? " `lang`='" . $lngCode . "' AND " : "") . "
|
||||||
|
" . ($bldCode > 0 ? " (`build`=" . $bldCode . " OR `build`=0 OR `build` IS NULL) AND " : "") . "
|
||||||
|
`from_datetime`<=CURRENT_TIMESTAMP AND
|
||||||
|
`end_datetime`>CURRENT_TIMESTAMP AND
|
||||||
|
`published`='Y' AND
|
||||||
|
(substring(`pattern`,1,6)='" . $ctrCode . "xxxx' OR substring(`pattern`,1,6)='xxxxxx') AND
|
||||||
|
(substring(`pattern`,7,1)='" . $prgType . "' OR substring(`pattern`,7,1)='x') AND
|
||||||
|
(substring(`pattern`,8,2)='" . $prgCode . "' OR substring(`pattern`,8,2)='xx')
|
||||||
|
ORDER BY `priority` DESC, `add_datetime` DESC
|
||||||
|
LIMIT 10;";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$msh2->query($sql);
|
||||||
|
$res = $msh2->fetchAssoc();
|
||||||
|
|
||||||
|
if ($_SERVER['REMOTE_ADDR'] == '188.6.239.155' && isset($_GET['test'])) {
|
||||||
|
print "serial: " . $serial . " build: " . $bldCode . " result: " . count($res) . "<br />" . $sql;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
<!doctype html>
|
||||||
|
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
|
<title>ARCHLine.XP banner</title>
|
||||||
|
<meta name="description" content="ARCHLine.XP banner">
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/ticker-style.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||||
|
|
||||||
|
<script src="js/jquery.min.js" type="text/javascript"></script>
|
||||||
|
<script src="js/jquery.ticker.js" type="text/javascript"></script>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
body {
|
||||||
|
color: #000000;
|
||||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<ul id="js-news" class="js-hidden">
|
||||||
|
<?php foreach ($res as $row) : ?>
|
||||||
|
<?php if ($row['link'] > '') : ?>
|
||||||
|
<li class="news-item"><a href="<?= $row['link'] ?>" target="_blank"><?= strip_tags($row['message'], '<i><b><strong>') ?></a></li>
|
||||||
|
<?php else : ?>
|
||||||
|
<li class="news-item"><?= strip_tags($row['message'], '<i><u><b><strong>') ?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
jQuery(function() {
|
||||||
|
jQuery('#js-news').ticker({
|
||||||
|
speed: 0.10, // The speed of the reveal
|
||||||
|
ajaxFeed: false, // Populate jQuery News Ticker via a feed
|
||||||
|
feedUrl: false, // The URL of the feed
|
||||||
|
// MUST BE ON THE SAME DOMAIN AS THE TICKER
|
||||||
|
feedType: 'xml', // Currently only XML
|
||||||
|
htmlFeed: true, // Populate jQuery News Ticker via HTML
|
||||||
|
debugMode: false, // Show some helpful errors in the console or as alerts. SHOULD BE SET TO FALSE FOR PRODUCTION SITES!
|
||||||
|
controls: false, // Whether or not to show the jQuery News Ticker controls
|
||||||
|
titleText: '', // To remove the title set this to an empty String
|
||||||
|
displayType: 'fade', // Animation type - current options are 'reveal' or 'fade'
|
||||||
|
direction: 'ltr', // Ticker direction - current options are 'ltr' or 'rtl'
|
||||||
|
pauseOnItems: <?= (count($res) > 1 ? 4000 : 600000) ?>, // The pause on a news item before being replaced
|
||||||
|
fadeInSpeed: 300, // Speed of fade in animation
|
||||||
|
fadeOutSpeed: 300 // Speed of fade out animation
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6941",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/banner.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/banner.php)",
|
||||||
|
"original_sha256": "c2926bd9c052e3077f2cd674ac9e45dfc42f6e024b5de0b3bfaaf1ed9fceb695",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 5171,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/banner.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
95
var/www/hosting/archline.hu/www/maintenance/beolvas2.php
Normal file
95
var/www/hosting/archline.hu/www/maintenance/beolvas2.php
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
<?php
|
||||||
|
if ($_SERVER['REMOTE_ADDR'] != '188.6.239.155') {
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
die();
|
||||||
|
|
||||||
|
mb_internal_encoding("UTF-8");
|
||||||
|
|
||||||
|
include("config.php");
|
||||||
|
|
||||||
|
$time = time();
|
||||||
|
$nManagerID = 54;
|
||||||
|
$arrFiles = array("leads/leads_imported.csv");
|
||||||
|
|
||||||
|
foreach ($arrFiles as $file) {
|
||||||
|
foreach (file($file) as $k => $sor) {
|
||||||
|
$mezo = explode(";", $sor);
|
||||||
|
|
||||||
|
if ($k == 0) continue;
|
||||||
|
if (trim($mezo[3]) == '') continue;
|
||||||
|
|
||||||
|
$emails = explode(",", strtolower(trim(utf8_decode(str_replace("'", "", $mezo[3])))));
|
||||||
|
|
||||||
|
$user = array(
|
||||||
|
"strInfo" => utf8_decode(trim($mezo[0]) . ', ' . trim($mezo[1])),
|
||||||
|
"strName" => ucwords(trim(strtolower(utf8_decode($mezo[2])))),
|
||||||
|
"strEMail" => $emails[0],
|
||||||
|
"strTel" => trim(utf8_decode($mezo[4])),
|
||||||
|
"nCtrID" => ((int)$mezo[5] > 0 ? (int)$mezo[5] : NULL),
|
||||||
|
"strZip" => strtoupper(trim(utf8_decode($mezo[6]))),
|
||||||
|
"strCity" => ucwords(trim(strtolower(utf8_decode($mezo[7])))),
|
||||||
|
"strStreet" => trim(utf8_decode($mezo[8])),
|
||||||
|
"strCompany" => ucwords(trim(strtolower(utf8_decode($mezo[9])))),
|
||||||
|
"strWeb" => strtolower(trim(utf8_decode($mezo[10]))),
|
||||||
|
"nManagerID" => $nManagerID,
|
||||||
|
"nUserStatus" => 0,
|
||||||
|
"nIsCommendatory" => 0,
|
||||||
|
"nUserType" => 0,
|
||||||
|
"nUserDebt" => 0,
|
||||||
|
"nEsely" => 0,
|
||||||
|
"dateInsert" => $time,
|
||||||
|
"deleted" => 0,
|
||||||
|
"old_db" => "clusers_eng",
|
||||||
|
);
|
||||||
|
|
||||||
|
//print_r($user); print "<br />";
|
||||||
|
|
||||||
|
$nUserID = 0;
|
||||||
|
$exist = FALSE;
|
||||||
|
|
||||||
|
foreach ($emails as $email) {
|
||||||
|
$res = array();
|
||||||
|
$msh->query("SELECT * FROM " . CRMADATBAZIS . ".u_emails WHERE LOWER(email)='" . strtolower(trim($email)) . "' LIMIT 1;");
|
||||||
|
$res = $msh->fetchAssoc();
|
||||||
|
if (!empty($res)) {
|
||||||
|
$exist = TRUE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($exist) {
|
||||||
|
$nUserID = $res[0]['nUserID'];
|
||||||
|
print "exist: {$nUserID}<br />\n";
|
||||||
|
} else {
|
||||||
|
$msh->insert(CRMADATBAZIS . ".`users`", $user);
|
||||||
|
$nUserID = $msh->getInsertedId();
|
||||||
|
|
||||||
|
foreach ($emails as $e => $email) {
|
||||||
|
$msh->query("SELECT * FROM " . CRMADATBAZIS . ".u_emails WHERE LOWER(email)='" . strtolower(trim($email)) . "' LIMIT 1;");
|
||||||
|
$res = $msh->fetchAssoc();
|
||||||
|
if (empty($res)) {
|
||||||
|
$msh->insert(CRMADATBAZIS . ".`u_emails`", array(
|
||||||
|
'email' => strtolower(trim($email)),
|
||||||
|
'nUserID' => $nUserID,
|
||||||
|
'default' => ($e == 0 ? 1 : 0),
|
||||||
|
'active' => 1,
|
||||||
|
'deleted' => 0,
|
||||||
|
'newsletter' => 1
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$msh->insert(CRMADATBAZIS . ".`u_history`", array(
|
||||||
|
'nUserID' => $nUserID,
|
||||||
|
'nTopicID' => 339,
|
||||||
|
'dateEvent' => date("Y-m-d", $time),
|
||||||
|
'strPlace' => '',
|
||||||
|
'strInfo' => 'Tóth Zoli (Partnering) adatbázis',
|
||||||
|
'nManagerID' => $nManagerID,
|
||||||
|
'insertDate' => date("Y-m-d H:i:s", $time),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6978",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/beolvas2.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/beolvas2.php)",
|
||||||
|
"original_sha256": "cca186573879cd37437211d7324b0355c33630cdd17c407f454d4abf7467dc4c",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 2917,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/beolvas2.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,468 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* test old url (session has 6 parts): https://www.archlinexp.com/maintenance/al.php?action=actcode&lang=hun&version=2&session=OTA0NkEzMTlBMDcwQTE3NkE4NzRBMzc1QTc3NkEwNzJBNTc0Q0Y3NUE3NzdBMjdGQTc3RUE4NzJBNDcwQTgxOUNGNzVDRjc3QTA3NkEyNzdBMzZCQTM3MEJENzVBNTA3QkQ3MkEwN0ZBMDAzQTYxOUEyNjhBOTY4QTA3NEJFNzZCRTc3RTIyMUY1MjNCRTI4QTE3N0E4NzE=
|
||||||
|
* test new url (session has 12 parts): https://www.archlinexp.com/maintenance/al.php?action=actcode&lang=eng&version=3&session=MDA1MjM5MEQzMDY0MzA2MjM4NjMzNTYxMzM2MjM1NkIzMTY3NUY2NDMxN0YzMzY2MzE2NzM5NjczMTYyNUY2QjM1NjE1RjY3NUY2MzMwNjIzMTYyNDM3RjQ1NkIyRDEwMzYxMzJENjIzNjY1MzA2NjM2MEQzMjdDMzk3QzMwNjAyRTYyMkU2MzcyMzU2NTM3MkUzQzM4NjAzNjY3NUYwRDVGMEQzNTMwMzk2NzYyMzA2MjZBMzQ3RjY2NjQyRDYyMzY2NjY0MzczODdGNjQzMTJENjczNDZBMzM2MjM2NjE2MTZCMzc2MzM1NjYzMjBENzQzQw==
|
||||||
|
* $arrSess[empty, pwd, compID, build, ctrID, idokod, osdata, usGCMan, usGCType, usGCDriverVer, npID, partnerID]
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
class ActCode
|
||||||
|
{
|
||||||
|
public static $arrEnabledLangs = array('hun', 'eng', 'jap');
|
||||||
|
public static $arrNamirialRange = array('min' => 940001, 'max' => 949999);
|
||||||
|
public static $arrBIMLadderRange = array('min' => 920001, 'max' => 929999);
|
||||||
|
private static $noAnswer = "(( nem kapott valaszt ))";
|
||||||
|
private static $arrCodeReplyEnabled = array(30, 34, 36, 38, 40, 41, 42, 43, 44, 47, 48, 49, 82, 88, 91, 92, 93, 94, 95, 97, 98, 99);
|
||||||
|
|
||||||
|
function ActCode()
|
||||||
|
{
|
||||||
|
if (!class_exists('MySqlHelper')) require_once("MySqlHelper.class.php");
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getActCode($lang, $version, $session)
|
||||||
|
{
|
||||||
|
if (!is_numeric($version)) {
|
||||||
|
die('Invalid version id sent: ' . $version);
|
||||||
|
}
|
||||||
|
|
||||||
|
$ctrName = IpToCountryHelper::getInstance()->getCountryName();
|
||||||
|
$arrSess = self::decodeSessionString($session);
|
||||||
|
|
||||||
|
if ($lang && is_array($arrSess) && count($arrSess)) {
|
||||||
|
if (isset($arrSess['npID']) && $arrSess['npID'] > '' && isset($arrSess['partnerID']) && $arrSess['partnerID'] == '2nt' && isset($arrSess['idokod']) && $arrSess['idokod'] > '' && isset($arrSess['pwd']) && $arrSess['pwd'] > '') {
|
||||||
|
self::namirialProcess($arrSess['npID'], $arrSess['partnerID'], $arrSess['idokod'], $arrSess['pwd']);
|
||||||
|
} else if (isset($arrSess['npID']) && $arrSess['npID'] > '' && isset($arrSess['partnerID']) && $arrSess['partnerID'] == 'kbl' && isset($arrSess['idokod']) && $arrSess['idokod'] > '' && isset($arrSess['pwd']) && $arrSess['pwd'] > '') {
|
||||||
|
self::bimLadderProcess($arrSess['npID'], $arrSess['partnerID'], $arrSess['idokod'], $arrSess['pwd']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// $pass=&$arrSess['pwd'];
|
||||||
|
$pass = '9908258340388286';
|
||||||
|
$kulcs = HardlockHelper::getHardlock(substr($pass, 0, 6));
|
||||||
|
$prog = ProgramHelper::getProgram($pass);
|
||||||
|
$isid = ProgramHelper::getIsidFromPass($pass, $prog['prActCode']);
|
||||||
|
$aktivalokod = CodeGenHelper::generateTimeCode($pass, $isid, 600); // ???
|
||||||
|
$tomb = array_merge($arrSess, array('lang' => $lang, 'ctrname' => $ctrName, 'aktivalokod' => $aktivalokod, 'valasz' => (trim($aktivalokod) > "" ? trim($aktivalokod) : self::$noAnswer)));
|
||||||
|
|
||||||
|
$newUsID = self::insertUserStats($tomb); // ???
|
||||||
|
self::insertAktivalasInfok(array_merge($tomb, array('usID' => $newUsID, 'isid' => $isid)));
|
||||||
|
self::xmlOutput($kulcs['hlStat'], $prog['prLogFilter'], $aktivalokod, $newUsID); // ???
|
||||||
|
|
||||||
|
|
||||||
|
if (substr($pass, 7, 2) > 29 && substr($pass, 0, 2) != '96') // ???
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
$version->ujaktivalasikod2($pass,$isid,$arrSess['idokod']);
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
self::insertError("Valami hianyzik:\nlang: " . $lang . "\nverzio: " . $version . "\nssID: " . $session . "\ndecoded session: " . print_r($arrSess, TRUE), __FUNCTION__);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static function getAnswer($pass, $isid, $idokod)
|
||||||
|
{
|
||||||
|
if (self::isCodeReplyEnabled($pass) === TRUE) {
|
||||||
|
$prog = ProgramHelper::getPrograms($pass); // a LAN-osok miatt több rekordot is visszaadhat
|
||||||
|
if (!$prog) {
|
||||||
|
return "error: nincs ilyen password";
|
||||||
|
}
|
||||||
|
|
||||||
|
$kulcs = HardlockHelper::getHardlock((int)substr($pass, 0, 6));
|
||||||
|
if (!$kulcs) {
|
||||||
|
return "error: nincs ilyen hardlock";
|
||||||
|
}
|
||||||
|
if ($kulcs['hlStat'] != 1) {
|
||||||
|
return "error: nem aktiv a program";
|
||||||
|
}
|
||||||
|
|
||||||
|
$szoftveres = CodeGenHelper::isSoftwareKey($pass);
|
||||||
|
if ($szoftveres === FALSE) {
|
||||||
|
return $prog[0]['prActCode'];
|
||||||
|
} // hardveres kulcs esetén egyből visszaadja az aktuális aktiválási kód
|
||||||
|
/*
|
||||||
|
????????????????????????????????????????????????????????????????????????????????
|
||||||
|
*/
|
||||||
|
$voltures = false;
|
||||||
|
foreach ($prog as $program) {
|
||||||
|
if ($program['prActCode'] != "") // neki megfelelő aktiválási kód
|
||||||
|
{
|
||||||
|
$this->win10creator_old_isid = substr($program['prActCode'], 5, 4);
|
||||||
|
|
||||||
|
$isidOK = (substr($program['prActCode'], 5, 4) == $isid);
|
||||||
|
if ($isidOK) {
|
||||||
|
$valasz = $program['prActCode'];
|
||||||
|
break;
|
||||||
|
} // aktuális aktiválási kód ????
|
||||||
|
|
||||||
|
if (!$isidOK && substr($program['prActCode'], 7, 2) == substr($isid, 2, 2)) {
|
||||||
|
$elteltnapok = 0;
|
||||||
|
sscanf(substr($idokod, 11, 2), '%02x', $elteltnapok);
|
||||||
|
$elteltnapok += $this->convert(substr($idokod, 10, 1)) * 256;
|
||||||
|
|
||||||
|
$engedelyezettnapok = 0;
|
||||||
|
sscanf(substr($program['prActCode'], 11, 2), '%02x', $engedelyezettnapok);
|
||||||
|
$engedelyezettnapok += $this->convert(substr($program['prActCode'], 10, 1)) * 256;
|
||||||
|
|
||||||
|
if ($engedelyezettnapok > $elteltnapok) {
|
||||||
|
$valasz = "error: win10 creator";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ($isidOK) {
|
||||||
|
$valasz = $program['prActCode']; // aktuális aktiválási kód ???
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
$valasz = 'error: masik gep van regisztralva';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$valasz = "error: hianyzo kod"; // nincs beirva a kod
|
||||||
|
$voltures = TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($voltures === TRUE && $valasz == "error: masik gep van regisztralva") // LAN-os szoftver kulcsos liszensznél ha ezt a liszenszt nem találtuk de volt üres liszensz, akkor csinálja ezt
|
||||||
|
{
|
||||||
|
$valasz = "error: hianyzo kod";
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
????????????????????????????????????????????????????????????????????????????????
|
||||||
|
*/
|
||||||
|
return $valasz;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function bimLadderProcess($npID = '', $partnerID = '', $idokod = '', $pwd = '')
|
||||||
|
{
|
||||||
|
if ($npID == '' || $partnerID != 'kbl' || $idokod == '' || $pwd == '') {
|
||||||
|
die('Missing parameters: |' . $npID . '|' . $partnerID . '|' . $idokod . '|' . $pwd . '|');
|
||||||
|
}
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$res4 = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res4)) {
|
||||||
|
$comp = array(
|
||||||
|
'computer_id' => $npID,
|
||||||
|
'last_mod' => date('Y-m-d', time())
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`computers`", $comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$compid = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE computer_id='" . $compid[0]['id'] . "' AND partnerID = 'kbl' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res)) {
|
||||||
|
$time = time();
|
||||||
|
$hlNum = crm_hardlock::GetTheFirstNotUsedHlNumFromInterval(self::$arrBIMLadderRange['min'], self::$arrBIMLadderRange['max']);
|
||||||
|
$arrIdokod = explode("-", $idokod);
|
||||||
|
$isid = $arrIdokod[1];
|
||||||
|
$type = substr($pwd, 6, 1);
|
||||||
|
$verid = substr($pwd, 7, 2);
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`p_versions` WHERE `verPassword8and9`='" . $verid . "' LIMIT 1;");
|
||||||
|
$ver = $msh->fetchAssoc();
|
||||||
|
$ver = $ret[0];
|
||||||
|
|
||||||
|
$interval = date_diff(date_create(date('Y-m-d', $time)), date_create((string)((int)date('Y', $time) + 1) . '-12-31'));
|
||||||
|
$pass = CodeGenHelper::generatePassword($hlNum, 0, $type, $ver['verCode']); // hlNum,lan,type=8,75=2018
|
||||||
|
$aktKod = CodeGenHelper::generateTimeCode($pass, $isid, $interval->days); // pass,isid,numOfDays
|
||||||
|
|
||||||
|
$msh->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE computer_id='" . $npID . "' LIMIT 1;");
|
||||||
|
$res = $msh->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res)) {
|
||||||
|
$comp = array(
|
||||||
|
'computer_id' => $npID,
|
||||||
|
'last_mod' => date('Y-m-d', time())
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`computers`", $comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$compid = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
$nonprofit = array(
|
||||||
|
'isid' => $isid,
|
||||||
|
'verid' => $verid,
|
||||||
|
'hlID' => $hlNum,
|
||||||
|
'nUserID' => 62103, //ba ez invalid! namirialnal is! nem egy Namirial usernek az idje kene hogy itt legyen? Ami most 63051..
|
||||||
|
'add_datetime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'expire_datetime' => (string)((int)date('Y', $time) + 1) . '-12-31 23:59:59',
|
||||||
|
'activation_datetime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'old_db' => 'clusers_eng',
|
||||||
|
'partnerID' => $partnerID,
|
||||||
|
'enabled' => 'Y',
|
||||||
|
'computer_id' => $compid[0]['id']
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`nonprofit`", $nonprofit);
|
||||||
|
|
||||||
|
$hardlock = array(
|
||||||
|
'hlNum' => $hlNum,
|
||||||
|
'hlCtrID' => 82,
|
||||||
|
'hlLan' => 0,
|
||||||
|
'hlStat' => 1,
|
||||||
|
'hlDateIssue' => date('Y-m-d', $time),
|
||||||
|
'hlManID' => 36,
|
||||||
|
'hlTime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'hlUser' => 62103, //ba ez invalid! namirialnal is! nem egy Namirial usernek az idje kene hogy itt legyen? Ami most 63051..
|
||||||
|
'hlDealer' => 62103, //ba ez invalid! namirialnal is! nem egy Namirial usernek az idje kene hogy itt legyen? Ami most 63051..
|
||||||
|
'bUjithato' => 1,
|
||||||
|
'old_db' => 'clusers_eng'
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`hardlock`", $hardlock);
|
||||||
|
|
||||||
|
$program = array(
|
||||||
|
'prTypeID' => $type,
|
||||||
|
'prVerID' => $ver['verID'],
|
||||||
|
'prLan' => 0,
|
||||||
|
'prPass' => trim($pass),
|
||||||
|
'prSellDate' => date('Y-m-d', $time),
|
||||||
|
'prActDate' => (string)((int)date('Y', $time) + 1) . '-12-31',
|
||||||
|
'prFizetve' => (string)((int)date('Y', $time) + 1) . '-12-31',
|
||||||
|
'prActCode' => trim($aktKod),
|
||||||
|
'prTime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'prLastMod' => date('Y-m-d H:i:s', $time),
|
||||||
|
'prContact' => 9,
|
||||||
|
'prHlNum' => $hlNum, // 99xxxx
|
||||||
|
'prManID' => 36, // web
|
||||||
|
'prStat' => 0,
|
||||||
|
'prHiType' => 1, // 1 Rendelés | 2 Típus Váltás | 3 Frissítés | 4 Auto Friss.
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`h_programs`", $program);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function namirialProcess($npID = '', $partnerID = '', $idokod = '', $pwd = '')
|
||||||
|
{
|
||||||
|
if ($npID == '' || $partnerID != '2nt' || $idokod == '' || $pwd == '') {
|
||||||
|
die('Missing parameters: |' . $npID . '|' . $partnerID . '|' . $idokod . '|' . $pwd . '|');
|
||||||
|
}
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$res4 = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res4)) {
|
||||||
|
$comp = array(
|
||||||
|
'computer_id' => $npID,
|
||||||
|
'last_mod' => date('Y-m-d', time())
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`computers`", $comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$compid = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE computer_id='" . $compid[0]['id'] . "' AND partnerID = '2nt' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
if (empty($res)) {
|
||||||
|
$time = time();
|
||||||
|
$hlNum = crm_hardlock::GetTheFirstNotUsedHlNumFromInterval(self::$arrNamirialRange['min'], self::$arrNamirialRange['max']);
|
||||||
|
$arrIdokod = explode("-", $idokod);
|
||||||
|
$isid = $arrIdokod[1];
|
||||||
|
$type = substr($pwd, 6, 1);
|
||||||
|
$verid = substr($pwd, 7, 2);
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`p_versions` WHERE `verPassword8and9`='" . $verid . "' LIMIT 1;");
|
||||||
|
$ver = $msh->fetchAssoc();
|
||||||
|
$ver = $ret[0];
|
||||||
|
|
||||||
|
$interval = date_diff(date_create(date('Y-m-d', $time)), date_create((string)((int)date('Y', $time) + 1) . '-12-31'));
|
||||||
|
$pass = CodeGenHelper::generatePassword($hlNum, 0, $type, $ver['verCode']); // hlNum,lan,type=8,75=2018
|
||||||
|
$aktKod = CodeGenHelper::generateTimeCode($pass, $isid, $interval->days); // pass,isid,numOfDays
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$compid = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
$nonprofit = array(
|
||||||
|
'isid' => $isid,
|
||||||
|
'verid' => $verid,
|
||||||
|
'hlID' => $hlNum,
|
||||||
|
'nUserID' => 62103, //ba ez invalid! namirialnal is! nem egy Namirial usernek az idje kene hogy itt legyen? Ami most 63051..
|
||||||
|
'add_datetime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'expire_datetime' => (string)((int)date('Y', $time) + 1) . '-12-31 23:59:59',
|
||||||
|
'activation_datetime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'old_db' => 'clusers_eng',
|
||||||
|
'partnerID' => $partnerID,
|
||||||
|
'enabled' => 'Y',
|
||||||
|
'computer_id' => $compid[0]['id']
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`nonprofit`", $nonprofit);
|
||||||
|
|
||||||
|
$hardlock = array(
|
||||||
|
'hlNum' => $hlNum,
|
||||||
|
'hlCtrID' => 39,
|
||||||
|
'hlLan' => 0,
|
||||||
|
'hlStat' => 1,
|
||||||
|
'hlDateIssue' => date('Y-m-d', $time),
|
||||||
|
'hlManID' => 36,
|
||||||
|
'hlTime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'hlUser' => 62103, //ba ez invalid! namirialnal is! nem egy Namirial usernek az idje kene hogy itt legyen? Ami most 63051..
|
||||||
|
'hlDealer' => 62103, //ba ez invalid! namirialnal is! nem egy Namirial usernek az idje kene hogy itt legyen? Ami most 63051..
|
||||||
|
'bUjithato' => 1,
|
||||||
|
'old_db' => 'clusers_eng'
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`hardlock`", $hardlock);
|
||||||
|
|
||||||
|
$program = array(
|
||||||
|
'prTypeID' => $type,
|
||||||
|
'prVerID' => $ver['verID'],
|
||||||
|
'prLan' => 0,
|
||||||
|
'prPass' => trim($pass),
|
||||||
|
'prSellDate' => date('Y-m-d', $time),
|
||||||
|
'prActDate' => (string)((int)date('Y', $time) + 1) . '-12-31',
|
||||||
|
'prFizetve' => (string)((int)date('Y', $time) + 1) . '-12-31',
|
||||||
|
'prActCode' => trim($aktKod),
|
||||||
|
'prTime' => date('Y-m-d H:i:s', $time),
|
||||||
|
'prLastMod' => date('Y-m-d H:i:s', $time),
|
||||||
|
'prContact' => 8, // Non-profit
|
||||||
|
'prHlNum' => $hlNum, // 99xxxx
|
||||||
|
'prManID' => 36, // web
|
||||||
|
'prStat' => 0,
|
||||||
|
'prHiType' => 1, // 1 Rendelés | 2 Típus Váltás | 3 Frissítés | 4 Auto Friss.
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`h_programs`", $program);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function decodeSessionString($str = "")
|
||||||
|
{
|
||||||
|
if ($str == "") {
|
||||||
|
die("Missing session string!");
|
||||||
|
}
|
||||||
|
|
||||||
|
$str_decoded = base64_decode($str); //decode the session string
|
||||||
|
|
||||||
|
sscanf(substr($str_decoded, 0, 4), '%04x', $keyDec);
|
||||||
|
$encoded = str_split(substr($str_decoded, 4), 4);
|
||||||
|
$decoded = '';
|
||||||
|
|
||||||
|
foreach ($encoded as $e) {
|
||||||
|
sscanf($e, '%04x', $temp);
|
||||||
|
if (strlen(substr(sprintf('%x', $temp ^ $keyDec), 2)) > 0) {
|
||||||
|
$decoded .= chr(hexdec(substr(sprintf('%04x', $temp ^ $keyDec), 2)));
|
||||||
|
$decoded .= chr(hexdec(substr(sprintf('%04x', $temp ^ $keyDec), 0, 2)));
|
||||||
|
} else {
|
||||||
|
$decoded .= chr(hexdec(substr(sprintf('%04x', $temp ^ $keyDec), 2)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$parts = explode('_', $decoded);
|
||||||
|
|
||||||
|
$arrSess['empty'] = $parts[0];
|
||||||
|
$arrSess['pwd'] = $parts[1];
|
||||||
|
$arrSess['compID'] = $parts[2];
|
||||||
|
$arrSess['build'] = $parts[3];
|
||||||
|
$arrSess['ctrID'] = $parts[4];
|
||||||
|
$arrSess['idokod'] = $parts[5];
|
||||||
|
if (count($parts) > 6) {
|
||||||
|
if (isset($parts[6]) && trim($parts[6]) > '') $arrSess['osdata'] = $parts[6];
|
||||||
|
if (isset($parts[7]) && trim($parts[7]) > '') $arrSess['usGCMan'] = $parts[7];
|
||||||
|
if (isset($parts[8]) && trim($parts[8]) > '') $arrSess['usGCType'] = $parts[8];
|
||||||
|
if (isset($parts[9]) && trim($parts[9]) > '') $arrSess['usGCDriverVer'] = $parts[9];
|
||||||
|
if (isset($parts[10]) && trim($parts[10]) > '') $arrSess['npID'] = $parts[10];
|
||||||
|
if (isset($parts[11]) && trim($parts[11]) > '') $arrSess['partnerID'] = $parts[11];
|
||||||
|
}
|
||||||
|
|
||||||
|
return ($arrSess);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function isCodeReplyEnabled($pass = '')
|
||||||
|
{
|
||||||
|
if ($pass == '') return (FALSE);
|
||||||
|
$ret = (in_array((int)substr($pass, 0, 2), self::$arrCodeReplyEnabled) ? TRUE : FALSE);
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static function insertUserStats($tomb = array())
|
||||||
|
{
|
||||||
|
if (empty($tomb)) return (FALSE);
|
||||||
|
|
||||||
|
$stats = array(
|
||||||
|
'usLang' => $tomb['lang'],
|
||||||
|
'usDate' => time(),
|
||||||
|
'usPwd' => $tomb['pwd'],
|
||||||
|
'usVer' => substr($tomb['pwd'], 7, 2),
|
||||||
|
'usCompID' => $tomb['compID'],
|
||||||
|
'usCtrID' => $tomb['ctrID'],
|
||||||
|
'usBuild' => $tomb['build'],
|
||||||
|
'usCtrName' => $tomb['ctrname'],
|
||||||
|
'usIP' => $_SERVER['REMOTE_ADDR'],
|
||||||
|
'usOSData' => $tomb['osdata'],
|
||||||
|
);
|
||||||
|
|
||||||
|
if (isset($tomb['usGCMan']) && trim($tomb['usGCMan']) > '' && isset($tomb['usGCType']) && trim($tomb['usGCType']) > '' && isset($tomb['usGCDriverVer']) && trim($tomb['usGCDriverVer']) > '') {
|
||||||
|
$stats['usGCMan'] = $tomb['usGCMan'];
|
||||||
|
$stats['usGCType'] = $tomb['usGCType'];
|
||||||
|
$stats['usGCDriverVer'] = $tomb['usGCDriverVer'];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (substr($tomb['pwd'], 0, 1) == '9') {
|
||||||
|
if (in_array(substr($pwd, 0, 2), array('99', '98', '95'))) {
|
||||||
|
$hlRec = HardlockHelper::getHardlock(substr($pwd, 0, 6));
|
||||||
|
if (isset($hlRec['hlCtrID'])) $stats['usHlCtrID'] = $hlRec['hlCtrID'];
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$stats['usHlCtrID'] = substr($tomb['pwd'], 0, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CodeGenHelper::isSoftwareKey($tomb['pwd']) === TRUE) $stats['usISID'] = substr($tomb['idokod'], 5, 4);
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->insert("`cl_hlusers`.`userstats2013`", $stats);
|
||||||
|
$newID = MySqlHelper::getInstance()->getInsertedId();
|
||||||
|
return ($newID);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function insertAktivalasInfok($tomb = array())
|
||||||
|
{
|
||||||
|
if (empty($tomb)) return (FALSE);
|
||||||
|
|
||||||
|
$info = array(
|
||||||
|
"kulcs" => substr($tomb['pwd'], 0, 6),
|
||||||
|
"datum" => date('Y-m-d H:i:s', time()),
|
||||||
|
"ip" => $_SERVER['REMOTE_ADDR'],
|
||||||
|
"kuldo" => "tips",
|
||||||
|
"leiras" => "programinditas - pw: " . $tomb['pwd'] . ", build: " . $tomb['build'] . ", isid: " . $tomb['isid'] . ", időkód: " . $tomb['idokod'] . ", valasz: " . $tomb['valasz'],
|
||||||
|
"statusz" => "uj",
|
||||||
|
"usGCMan" => (isset($tomb['usGCMan']) && trim($tomb['usGCMan']) ? trim($tomb['usGCMan']) : NULL),
|
||||||
|
"usGCType" => (isset($tomb['usGCType']) && trim($tomb['usGCType']) ? trim($tomb['usGCType']) : NULL),
|
||||||
|
"usGCDriverVer" => (isset($tomb['usGCDriverVer']) && trim($tomb['usGCDriverVer']) ? trim($tomb['usGCDriverVer']) : NULL),
|
||||||
|
"usID" => (isset($tomb['usID']) && trim($tomb['usID']) ? trim($tomb['usID']) : NULL),
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert('`' . CRMADATBAZIS . '`.`h_aktivalas_infok`', $info);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function insertError($str = '', $fv = '')
|
||||||
|
{
|
||||||
|
if (trim($str) > '') {
|
||||||
|
MySqlHelper::getInstance()->insert("`" . JMLADATBAZIS . "`.`a_hibak`", array(
|
||||||
|
'osztaly' => __CLASS__,
|
||||||
|
'fv' => trim($fv),
|
||||||
|
'hiba' => trim($str),
|
||||||
|
'datum' => date('Y-m-d H:i:s', time()),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getEnabledLang($lang = "")
|
||||||
|
{
|
||||||
|
return (in_array(strtolower($lang), self::$arrEnabledLangs) ? strtolower($lang) : 'eng');
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function xmlOutput($hlStat, $prLogFilter, $aktivalokod, $newUsID)
|
||||||
|
{
|
||||||
|
header('Content-Type: text/xml; charset=utf-8');
|
||||||
|
header('Content-Disposition: inline; filename=response.xml');
|
||||||
|
|
||||||
|
print '<' . '?' . 'xml version="1.0" encoding="UTF-8" standalone="yes"' . '?' . '><ActCode>' .
|
||||||
|
'<actcode>' . ((isset($aktivalokod) && $aktivalokod > '') ? $aktivalokod : self::$noAnswer) . '</actcode>' . // aktivalo kod
|
||||||
|
'<Virtualization>' . ((isset($hlStat) && (int)$hlStat == 2) ? 'false' : 'true') . '</Virtualization>' . // letiltott kulcs visszajelzése a programnak
|
||||||
|
((isset($newUsID) && (int)$newUsID > 0) ? '<actid>' . (int)$newUsID . '</actid>' : '') . // userstats tabla rekord azonosito, amit a telemetria tabla is megkap, hogy ossze lehessen kapcsolni
|
||||||
|
'<logfilter>' . ((isset($prLogFilter) && (int)$prLogFilter > 0) ? $prLogFilter : 0) . '</logfilter>' . // user programjan tavolrol be lehet kapcsolni a logolast
|
||||||
|
'<loginEnabled>' . ($_SERVER['REMOTE_ADDR'] = '46.139.14.111' ? 'true' : 'false') . '</loginEnabled>' .
|
||||||
|
'</ActCode>';
|
||||||
|
}
|
||||||
|
} // end of class
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7086",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/actcode.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/actcode.class.php)",
|
||||||
|
"original_sha256": "6d9596e1e2f22c8fb0a0ec1735ad15608caef4cdb892c2a8f3a18558482b4f7d",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1689589294,
|
||||||
|
"size": 21858,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/actcode.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,79 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class CodeGenHelper
|
||||||
|
{
|
||||||
|
public static $cg;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$cg)) return self::$cg;
|
||||||
|
self::$cg = new CodeGenHelper();
|
||||||
|
return self::$cg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function generatePassword($hlNum, $lan, $type, $version = 64)
|
||||||
|
{
|
||||||
|
$country = substr($hlNum, 0, 2);
|
||||||
|
$number = substr($hlNum, 2, 4);
|
||||||
|
$type = (int)substr($type, 0, 1);
|
||||||
|
|
||||||
|
$command = PATH_CODEGEN . " -Password " . $country . $number . $version . $lan . $type;
|
||||||
|
$ph = popen($command, "r") or die("A 'codegen' paranccsal nem veheto fel kapcsolat");
|
||||||
|
$password = fgets($ph, 1024);
|
||||||
|
pclose($ph);
|
||||||
|
return ($password);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function generateTimeCode($pass, $isid, $numOfDays)
|
||||||
|
{
|
||||||
|
$command = PATH_CODEGEN . " -GenerateTimeCode " . $pass . " " . $isid . " " . $numOfDays;
|
||||||
|
$ph = popen($command, "r") or die("A 'codegen' paranccsal nem veheto fel kapcsolat");
|
||||||
|
$aktkod = fgets($ph, 1024);
|
||||||
|
pclose($ph);
|
||||||
|
return ($aktkod);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function generateTimeCodeForSoftwareKey($pass, $isid, $numOfDays)
|
||||||
|
{
|
||||||
|
$ret = generateTimeCode($pass, $isid, $numOfDays);
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function generateTimeCodeForHardwareKey($pass, $numOfDays)
|
||||||
|
{
|
||||||
|
$isid = substr($pass, 0, 2) . substr($pass, 7, 2);
|
||||||
|
$ret = generateTimeCode($pass, $isid, $numOfDays);
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function isSoftwareKey($pass)
|
||||||
|
{
|
||||||
|
$command = PATH_CODEGEN . " -IsSoftwareKey " . $pass;
|
||||||
|
$ph = popen($command, "r") or die("A 'codegen' paranccsal nem veheto fel kapcsolat");
|
||||||
|
$ret = fgets($ph, 1024);
|
||||||
|
pclose($ph);
|
||||||
|
return ($ret == "true" ? TRUE : FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function parseTimeCode($idokod)
|
||||||
|
{
|
||||||
|
$command = PATH_CODEGEN . " -ParseTimeCode " . $idokod;
|
||||||
|
$ph = popen($command, "r");
|
||||||
|
$elteltnap = (int)fgets($ph, 1024);
|
||||||
|
pclose($ph);
|
||||||
|
return ($elteltnap);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function diffDay($dateFrom, $dateTo)
|
||||||
|
{
|
||||||
|
$command = PATH_CODEGEN . " -DiffDay " . $dateFrom . " " . $dateTo;
|
||||||
|
$ph = popen($command, "r") or die("A 'codegen' paranccsal nem veheto fel kapcsolat");
|
||||||
|
$napok = fgets($ph, 1024);
|
||||||
|
pclose($ph);
|
||||||
|
return ($napok);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7087",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/codegen.helper.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/codegen.helper.class.php)",
|
||||||
|
"original_sha256": "f239d9f966a090f5abf13dd4e05c53b5024736e3705396f093432b53d68f4283",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 2307,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/codegen.helper.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,206 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class crmHelper
|
||||||
|
{
|
||||||
|
public static $ch;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$ch)) return self::$ch;
|
||||||
|
self::$ch = new HardlockHelper();
|
||||||
|
return self::$ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function AddOrUpdateComputer($npID)
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res)) {
|
||||||
|
$comp = array(
|
||||||
|
'computer_id' => $npID,
|
||||||
|
'last_mod' => date('Y-m-d', time())
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`cl_hlusers`.`computers`", $comp);
|
||||||
|
} else {
|
||||||
|
MySqlHelper::getInstance()->update("`cl_hlusers`.`computers`", array('last_mod' => date('Y-m-d', time())), array('computer_id' => $npID));
|
||||||
|
}
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`computers` WHERE `computer_id`='" . $npID . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
return $res[0]['id'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function GetAllPrograms($nUserID, $product_id, $verid)
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->query("SELECT h_programs.prPass AS prHlNum, h_programs.prActCode AS prActCode, h_programs.prTypeID AS prTypeID, h_programs.prVerID AS prVerID, h_programs.prLan AS prLan
|
||||||
|
FROM `cl_hlusers`.`hardlock`
|
||||||
|
INNER JOIN `cl_hlusers`.`h_programs` ON h_programs.prHlNum = hardlock.hlNum
|
||||||
|
WHERE (hardlock.hlUser='" . $nUserID . "' OR hardlock.borrow='" . $nUserID . "') AND hardlock.product_id='" . $product_id . "' AND hardlock.hlStat!='0' AND h_programs.prVerID='" . $verid . "'");
|
||||||
|
$res2 = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
return $res2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function GetVerIDFromPassword($pwd)
|
||||||
|
{
|
||||||
|
$ver = substr($pwd, 7, 2);
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`p_versions` WHERE `verPassword8and9`='" . $ver . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
return $res[0]['verID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function encode($privateKey, $publicKey, $data)
|
||||||
|
{
|
||||||
|
$key = self::CalcKey($privateKey, $publicKey);
|
||||||
|
$strLen = strlen($data);
|
||||||
|
$keyLen = strlen($key);
|
||||||
|
for ($i = 0; $i < $strLen; $i++) {
|
||||||
|
$ordStr = ord(substr($data, $i, 1));
|
||||||
|
if ($j == $keyLen) {
|
||||||
|
$j = 0;
|
||||||
|
}
|
||||||
|
$ordKey = ord(substr($key, $j, 1));
|
||||||
|
$j++;
|
||||||
|
$hash .= strrev(base_convert(dechex($ordStr + $ordKey), 16, 36));
|
||||||
|
}
|
||||||
|
return $hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function CalcKey($privateKey, $publicKey)
|
||||||
|
{
|
||||||
|
$privateKeyLength = strlen($privateKey);
|
||||||
|
$publicKeyLength = strlen($publicKey);
|
||||||
|
|
||||||
|
if ($privateKeyLength > $publicKeyLength) {
|
||||||
|
$result = $privateKey;
|
||||||
|
for ($i = 1; $i < $publicKeyLength; $i += 2) {
|
||||||
|
$result[$i] = $publicKey[$i];
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$result = $publicKey;
|
||||||
|
for ($i = 0; $i < $privateKeyLength; $i += 2) {
|
||||||
|
$result[$i] = $privateKey[$i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return sha1($result);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function decode($privateKey, $publicKey, $data)
|
||||||
|
{
|
||||||
|
$key = self::CalcKey($privateKey, $publicKey);
|
||||||
|
$strLen = strlen($data);
|
||||||
|
$keyLen = strlen($key);
|
||||||
|
for ($i = 0; $i < $strLen; $i += 2) {
|
||||||
|
$ordStr = hexdec(base_convert(strrev(substr($data, $i, 2)), 36, 16));
|
||||||
|
if ($j == $keyLen) {
|
||||||
|
$j = 0;
|
||||||
|
}
|
||||||
|
$ordKey = ord(substr($key, $j, 1));
|
||||||
|
$j++;
|
||||||
|
$hash .= chr($ordStr - $ordKey);
|
||||||
|
}
|
||||||
|
return $hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function decode2($string, $key)
|
||||||
|
{
|
||||||
|
$key = sha1($key);
|
||||||
|
$strLen = strlen($string);
|
||||||
|
$keyLen = strlen($key);
|
||||||
|
for ($i = 0; $i < $strLen; $i += 2) {
|
||||||
|
$ordStr = hexdec(base_convert(strrev(substr($string, $i, 2)), 36, 16));
|
||||||
|
if ($j == $keyLen) {
|
||||||
|
$j = 0;
|
||||||
|
}
|
||||||
|
$ordKey = ord(substr($key, $j, 1));
|
||||||
|
$j++;
|
||||||
|
$hash .= chr($ordStr - $ordKey);
|
||||||
|
}
|
||||||
|
return $hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function GetVerName($verid)
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`p_versions` WHERE `verID`='" . $verid . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
return $res[0]['verName'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function GetTypeName($typeid)
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`p_types` WHERE `typeCode`='" . $typeid . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
return $res[0]['typeName'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function GetActCode($serial)
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`h_programs` WHERE `prPass`='" . $serial . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
return $res[0]['prActCode'];
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function GetWebformPrivateKey()
|
||||||
|
{
|
||||||
|
return "3BjGQ6fzMtHupM5V8U3l_u";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function SetWebformResult($session, $result, $encodedResult)
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`webform_results` WHERE `session_id`='" . $session . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res)) {
|
||||||
|
$sess = array(
|
||||||
|
'session_id' => $session,
|
||||||
|
'result' => $result . '=' . $encodedResult,
|
||||||
|
'insertDate' => date("Y-m-d")
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`cl_hlusers`.`webform_results`", $sess);
|
||||||
|
} else {
|
||||||
|
MySqlHelper::getInstance()->update("`cl_hlusers`.`webform_results`", array('result' => $result . '=' . $encodedResult, 'insertDate' => date("Y-m-d")), array('session_id' => $session));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function SetWebformResource($session, $hint, $buttontext)
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `cl_hlusers`.`webform_results` WHERE `session_id`='" . $session . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res)) {
|
||||||
|
$sess = array(
|
||||||
|
'session_id' => $session,
|
||||||
|
'insertDate' => date("Y-m-d"),
|
||||||
|
'message' => $hint,
|
||||||
|
'button' => $buttontext
|
||||||
|
);
|
||||||
|
MySqlHelper::getInstance()->insert("`cl_hlusers`.`webform_results`", $sess);
|
||||||
|
} else {
|
||||||
|
MySqlHelper::getInstance()->update("`cl_hlusers`.`webform_results`", array('insertDate' => date("Y-m-d"), 'message' => $hint, 'button' => $buttontext), array('session_id' => $session));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function get_valueFromStringUrl($url, $parameter_name)
|
||||||
|
{
|
||||||
|
$parts = parse_url($url);
|
||||||
|
if (isset($parts['query'])) {
|
||||||
|
parse_str($parts['query'], $query);
|
||||||
|
if (isset($query[$parameter_name]))
|
||||||
|
return $query[$parameter_name];
|
||||||
|
else
|
||||||
|
return null;
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7083",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/crmHelper.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/crmHelper.class.php)",
|
||||||
|
"original_sha256": "d8de79930605acc0b90e6a1485418fc33e3ca2bd121abbc63a517b7125352e82",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 7572,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/crmHelper.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class HardlockHelper
|
||||||
|
{
|
||||||
|
public static $hh;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$hh)) return self::$hh;
|
||||||
|
self::$hh = new HardlockHelper();
|
||||||
|
return self::$hh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getHardlock($hlNum = 0)
|
||||||
|
{
|
||||||
|
if ((int)$hlNum == 0) return (FALSE);
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlNum='" . (int)$hlNum . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
return (empty($res) ? FALSE : $res[0]);
|
||||||
|
}
|
||||||
|
} // end of class
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7085",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/hardlock.helper.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/hardlock.helper.class.php)",
|
||||||
|
"original_sha256": "bc301f22d565574d79942a0b23b09a44f2011e9666863d05edb7d980bb47eedc",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 594,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/hardlock.helper.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,73 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class IpToCountryHelper
|
||||||
|
{
|
||||||
|
public static $ic;
|
||||||
|
public static $deprecated = 15; // days
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$ic)) return self::$ic;
|
||||||
|
self::$ic = new IpToCountryHelper();
|
||||||
|
return self::$ic;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getValues($ip = "")
|
||||||
|
{
|
||||||
|
if ($ip == "") $ip = $_SERVER['REMOTE_ADDR'];
|
||||||
|
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`iptocountry` WHERE IP='" . $ip . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
if (empty($res)) // ha nincs rekord, akkor insert-el egy uj rekordot
|
||||||
|
{
|
||||||
|
$tomb = self::downloadValues($ip);
|
||||||
|
self::saveRecord($tomb);
|
||||||
|
} else // ha van rekord
|
||||||
|
{
|
||||||
|
$res = $res[0];
|
||||||
|
if (substr($res['AddDateTime'], 0, 10) < date('Y-m-d', time() - 86400 * self::$deprecated)) // es elevult a rekord, akkor torli a regit es insert-el egy uj rekordot
|
||||||
|
{
|
||||||
|
self::delOldRecords();
|
||||||
|
$tomb = self::downloadValues($ip);
|
||||||
|
self::saveRecord($tomb);
|
||||||
|
} else // es nem evult el a rekord, akkor az adatbazisbol adja vissza
|
||||||
|
{
|
||||||
|
$tomb = $res;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ($tomb);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static function downloadValues($ip = "")
|
||||||
|
{
|
||||||
|
if ($ip == "") $ip = $_SERVER['REMOTE_ADDR'];
|
||||||
|
$locale = @file_get_contents("http://freegeoip.net/xml/" . $ip, FALSE, stream_context_create(array('http' => array('timeout' => 2))));
|
||||||
|
$tomb = json_decode(json_encode(simplexml_load_string($locale)), TRUE);
|
||||||
|
return ($tomb);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function saveRecord($tomb = array())
|
||||||
|
{
|
||||||
|
$tomb['AddDateTime'] = date('Y-m-d H:i:s', time());
|
||||||
|
MySqlHelper::getInstance()->insert("`" . CRMADATBAZIS . "`.`iptocountry`", $tomb);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function delOldRecords()
|
||||||
|
{
|
||||||
|
MySqlHelper::getInstance()->delete("`" . CRMADATBAZIS . "`.`iptocountry`", "DATE(`AddDateTime`)<'" . date('Y-m-d', time() - 86400 * self::$deprecated) . "'");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static function getCountryName($ip = "")
|
||||||
|
{
|
||||||
|
if ($ip == "") $ip = $_SERVER['REMOTE_ADDR'];
|
||||||
|
$ret = self::getValues($ip);
|
||||||
|
if (!isset($ret["CountryName"]) || trim($ret["CountryName"]) == '') $ret["CountryName"] = 'unknown';
|
||||||
|
return (trim($ret["CountryName"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7082",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/iptocountry.helper.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/iptocountry.helper.class.php)",
|
||||||
|
"original_sha256": "01f57cd33b36499e203a3cbd5ae6beb5e7a7eab57cdb6005396015d1b7d90066",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 2335,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/iptocountry.helper.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,51 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class ProgramHelper
|
||||||
|
{
|
||||||
|
public static $ph;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getInstance()
|
||||||
|
{
|
||||||
|
if (!empty(self::$ph)) return self::$ph;
|
||||||
|
self::$ph = new ProgramHelper();
|
||||||
|
return self::$ph;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getProgram($pass = '')
|
||||||
|
{
|
||||||
|
if ($pass == '') return (FALSE);
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass='" . $pass . "' LIMIT 1;");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
return (empty($res) ? FALSE : $res[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getPrograms($pass = '')
|
||||||
|
{
|
||||||
|
if ($pass == '') return (FALSE);
|
||||||
|
MySqlHelper::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass='" . $pass . "';");
|
||||||
|
$res = MySqlHelper::getInstance()->fetchAssoc();
|
||||||
|
return (empty($res) ? FALSE : $res);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getIsidFromPass($pass = '', $actcode = '')
|
||||||
|
{
|
||||||
|
if ($pass == '') return (FALSE);
|
||||||
|
|
||||||
|
if (substr($pass, 0, 1) == '9') {
|
||||||
|
if (trim($actcode) > '') {
|
||||||
|
$isid = (substr($actcode, 5, 4) > '' ? substr($actcode, 5, 4) : FALSE);
|
||||||
|
} else {
|
||||||
|
$prg = self::getProgram($pass);
|
||||||
|
$isid = ($prg ? substr($prg['prActCode'], 5, 4) : FALSE);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$isid = substr($pass, 0, 2) . substr($pass, 7, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
return ($isid);
|
||||||
|
}
|
||||||
|
} // end of class
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7081",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/program.helper.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/program.helper.class.php)",
|
||||||
|
"original_sha256": "6c5800864fe4e2f457fa51a000ed629b02c689b48aed59118b0043909374883c",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 1436,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/program.helper.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
if (isset($_POST['prgrm'])) {
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
|
||||||
|
$actcode = crm_hardlock::GetActCode($_POST['prgrm']);
|
||||||
|
$resultXml = '<' . '?' . 'xml version="1.0"' . '?' . '><SelectedProgram>';
|
||||||
|
$resultXml .= '<Password>' . $_POST['prgrm'] . '</Password><DayCode>' . $actcode . '</DayCode>';
|
||||||
|
$resultXml .= '</SelectedProgram>';
|
||||||
|
header('Content-Type: text/xml; charset=utf-8');
|
||||||
|
header('Content-Disposition: inline; filename=response.xml');
|
||||||
|
|
||||||
|
echo $resultXml;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7084",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/selectedprogram.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/selectedprogram.php)",
|
||||||
|
"original_sha256": "745ade6bf18e5b757611dd106000a971caf88ffc859043475398a7e9acb1264b",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1689589294,
|
||||||
|
"size": 581,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/selectedprogram.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,92 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* test url: www.archline.hu/maintenance/al.php?action=selectprogram&npid=b559bb8b-46f0-46ed-8cd5-8403369a1745&pwd=9600018350430116&isid=C9EB
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
class SelectProgram
|
||||||
|
{
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function getXML($pwd = '', $npid = '', $isid = '', $namirialNonProfit = false, $BIMLadderNonProfit = false, $userid = '', $commercial = false)
|
||||||
|
{
|
||||||
|
$multiple = false;
|
||||||
|
//$resultXml = '<'.'?'.'xml version="1.0"'.'?'.'><SelectProgramResult>';
|
||||||
|
if ($pwd == '' || $npid == '' || $isid == '') return (void);
|
||||||
|
|
||||||
|
crm_database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npid . "' LIMIT 1;");
|
||||||
|
$res2 = crm_database::getInstance()->fetchNext();
|
||||||
|
if (empty($res2))
|
||||||
|
$compid = crm_hardlock::AddOrUpdateComputer($npid, '');
|
||||||
|
else
|
||||||
|
$compid = $res2['id'];
|
||||||
|
|
||||||
|
$password = '';
|
||||||
|
$actcode = '';
|
||||||
|
if ($commercial) {
|
||||||
|
//ba figyelem, teszteletlen ag!!!
|
||||||
|
if (substr($pwd, 6, 1) == 'L') {
|
||||||
|
$actualPrograms = crm_hardlock::GetAllPrograms($nUserID, 2, $verid);
|
||||||
|
} else {
|
||||||
|
$actualPrograms = crm_hardlock::GetAllPrograms($nUserID, 1, $verid);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (count($actualPrograms) > 1) {
|
||||||
|
$password = $actualPrograms[0]['prHlNum'];
|
||||||
|
$actcode = $actualPrograms[0]['prActCode'];
|
||||||
|
//$resultXml .= '<Password>'.$actualPrograms[0]['prHlNum'].'</Password><DayCode>'.$actualPrograms[0]['prActCode'].'</DayCode>';
|
||||||
|
} else if (count($actualPrograms) == 1) {
|
||||||
|
$password = $actualPrograms[0]['prHlNum'];
|
||||||
|
$actcode = $actualPrograms[0]['prActCode'];
|
||||||
|
//$resultXml .= '<Password>'.$actualPrograms[0]['prHlNum'].'</Password><DayCode>'.$actualPrograms[0]['prActCode'].'</DayCode>';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (!$namirialNonProfit && !$BIMLadderNonProfit)
|
||||||
|
$queryString = "SELECT * FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE `computer_id`='" . $compid . "' AND `isid`='" . $isid . "' AND partnerID is null LIMIT 1;";
|
||||||
|
else if ($namirialNonProfit)
|
||||||
|
$queryString = "SELECT * FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE `computer_id`='" . $compid . "' AND `isid`='" . $isid . "' AND partnerID = '2nt' LIMIT 1;";
|
||||||
|
else if ($BIMLadderNonProfit)
|
||||||
|
$queryString = "SELECT * FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE `computer_id`='" . $compid . "' AND `isid`='" . $isid . "' AND partnerID = 'kbl' LIMIT 1;";
|
||||||
|
crm_database::getInstance()->query($queryString);
|
||||||
|
$res = crm_database::getInstance()->fetchNext();
|
||||||
|
|
||||||
|
$multiple = true;
|
||||||
|
if (count($res)) {
|
||||||
|
crm_database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`p_versions` WHERE `verPassword8and9`='" . $res['verid'] . "' LIMIT 1;");
|
||||||
|
$ver = crm_database::getInstance()->fetchNext();
|
||||||
|
crm_database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE `prHlNum`='" . $res['hlID'] . "' AND `prVerID`='" . $ver['verID'] . "' LIMIT 1;");
|
||||||
|
$res = crm_database::getInstance()->fetchNext();
|
||||||
|
$password = $res['prPass'];
|
||||||
|
$actcode = $res['prActCode'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
header('Content-Type: text/xml; charset=utf-8');
|
||||||
|
header('Content-Disposition: inline; filename=response.xml');
|
||||||
|
echo '<' . '?' . 'xml version="1.0"' . '?' . '><SelectProgramResult><Password>' . $password . '</Password><DayCode>' . $actcode . '</DayCode><MultiplePrograms>false</MultiplePrograms></SelectProgramResult>';
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function checkNonProfitExists($npid = '', $isid = '')
|
||||||
|
{
|
||||||
|
if ($npid == '' || $isid == '') return (void);
|
||||||
|
|
||||||
|
crm_database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`computers` WHERE `computer_id`='" . $npid . "' LIMIT 1;");
|
||||||
|
$res2 = crm_database::getInstance()->fetchNext();
|
||||||
|
$compid = $res2['id'];
|
||||||
|
|
||||||
|
crm_database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE `computer_id`='" . $compid . "' AND `isid`='" . $isid . "' LIMIT 1;");
|
||||||
|
$res = crm_database::getInstance()->fetchNext();
|
||||||
|
|
||||||
|
if (!empty($res)) {
|
||||||
|
$user = $res['nUserID'];
|
||||||
|
crm_database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`users` WHERE `nUserID`=" . $user . " LIMIT 1;");
|
||||||
|
$res = crm_database::getInstance()->fetchNext();
|
||||||
|
|
||||||
|
header('Content-Type: text/xml; charset=utf-8');
|
||||||
|
header('Content-Disposition: inline; filename=response.xml');
|
||||||
|
echo '<' . '?' . 'xml version="1.0"' . '?' . '><NonProfitDatabaseResult><Name>' . $res['strName'] . '</Name><Email>' . $res['strEMail'] . '</Email><Telephone>' . $res['strTel'] . '</Telephone><Company>' . $res['strCompany'] . '</Company></NonProfitDatabaseResult>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7088",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/class/selectprogram.class.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/class/selectprogram.class.php)",
|
||||||
|
"original_sha256": "fc2e60a4c02d8902f2e0588d29397971b03c3362e5da5aed93c9fa826ecdbce7",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1689589294,
|
||||||
|
"size": 5394,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/class/selectprogram.class.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
1
var/www/hosting/archline.hu/www/maintenance/clusers.php
Normal file
1
var/www/hosting/archline.hu/www/maintenance/clusers.php
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6988",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/clusers.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/clusers.php)",
|
||||||
|
"original_sha256": "bad973163f0cfc180e058ecc776649cfd0610988cea2dbd5ad92ab24e78d164b",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 7,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/clusers.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,41 @@
|
|||||||
|
<?php
|
||||||
|
define("_MAX_COMPUTERSTATION_", 3);
|
||||||
|
define("_PLACE_", 'web');
|
||||||
|
define("_MANAGER_", 36);
|
||||||
|
define("_LEASE_VALID_DAYS_", 60);
|
||||||
|
define("_RESIGN_DAYS_", 3);
|
||||||
|
define("_WORKSHOP_CRM_", 123);
|
||||||
|
define("_WORKSHOP_PRICE_", 352);
|
||||||
|
define("_COURSE_PRICE_PRELIMINARY_", 342);
|
||||||
|
define("_COURSE_PRICE_INTERMEDIATE_", 343);
|
||||||
|
define("_COURSE_EXAM_PRICE_PRELIMINARY_", 350);
|
||||||
|
define("_COURSE_EXAM_PRICE_INTERMEDIATE_", 351);
|
||||||
|
define("_TUTOR_EXAM_PRICE_", 347);
|
||||||
|
define("_TUTOR_EXAM_", 85);
|
||||||
|
define("_TUTOR_EXAM_FAIL_", 353);
|
||||||
|
define("_EXAM_PRELIMINARY_", 294);
|
||||||
|
define("_EXAM_INTERMEDIATE_", 344);
|
||||||
|
define("_EXAM_FAIL_PRELIMINARY_", 348);
|
||||||
|
define("_EXAM_FAIL_INTERMEDIATE_", 349);
|
||||||
|
define("_EXAM_APPLICATION_", 359);
|
||||||
|
define("_EXAM_APPLICATION_CANCELLED_", 360);
|
||||||
|
define("_EXAM_RETRY_", 3);
|
||||||
|
define("_EXPIRE_TIME_MINUTES_", 60);
|
||||||
|
|
||||||
|
define("_DIPLOMA_PRELIMINARY_", 354);
|
||||||
|
define("_DIPLOMA_INTERMEDIATE_", 355);
|
||||||
|
|
||||||
|
define("_LECTURER_APPLICATION_", 288);
|
||||||
|
define("_CLUB_WAITING_LIST_", 4);
|
||||||
|
define("_CLUB_APPLICATION_", 5); // ezt ne használd, inkabb az _ARCHLINE_KLUB_ -ot
|
||||||
|
define("_CALL_TO_WORKSHOP_", 122);
|
||||||
|
define("_WORKSHOP_APPLICATION_", 123);
|
||||||
|
|
||||||
|
define("_WEBINAR_HUNGARIAN_", 336);
|
||||||
|
define("_WEBINAR_ENGLISH_", 333);
|
||||||
|
define("_ARCHLINE_KLUB_", 5);
|
||||||
|
define("_EVENT_REGISTRATION_", 358);
|
||||||
|
|
||||||
|
|
||||||
|
define("_DAYS_", 7);
|
||||||
|
define("_TIME_", time());
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6981",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/config.course.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/config.course.php)",
|
||||||
|
"original_sha256": "5e185d6773305cce1baa1411f3fc7128289e0456593a3f239c33e0bb78cca4c2",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 1335,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/config.course.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
29
var/www/hosting/archline.hu/www/maintenance/config.crm.php
Normal file
29
var/www/hosting/archline.hu/www/maintenance/config.crm.php
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('Constants')) require_once("common_cadline_libraries/constants.php");
|
||||||
|
|
||||||
|
$dbCRM = array();
|
||||||
|
$dbCRM['driver'] = 'mysql';
|
||||||
|
$dbCRM['prefix'] = '';
|
||||||
|
|
||||||
|
|
||||||
|
if ($_SERVER['SERVER_NAME'] == 'www.archline.hu' || $_SERVER['SERVER_NAME'] == 'www.archlinexp.com') {
|
||||||
|
$dbCRM['host'] = Constants::DB_HOST;
|
||||||
|
$dbCRM['user'] = Constants::DB_USER;
|
||||||
|
$dbCRM['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbCRM['database'] = Constants::DB_NAME;
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'secondary.dev.cadline.hu') {
|
||||||
|
$dbCRM['host'] = Constants::DB_HOST;
|
||||||
|
$dbCRM['user'] = Constants::DB_USER;
|
||||||
|
$dbCRM['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbCRM['database'] = Constants::DB_NAME;
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'crm.cadline.hu') {
|
||||||
|
$dbCRM['host'] = Constants::DB_HOST;
|
||||||
|
$dbCRM['user'] = Constants::DB_USER;
|
||||||
|
$dbCRM['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbCRM['database'] = Constants::DB_NAME;
|
||||||
|
} else {
|
||||||
|
$dbCRM['host'] = Constants::DB_HOST;
|
||||||
|
$dbCRM['user'] = Constants::DB_USER;
|
||||||
|
$dbCRM['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbCRM['database'] = Constants::DB_NAME;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6994",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/config.crm.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/config.crm.php)",
|
||||||
|
"original_sha256": "bce678d953dd6bbf8130478255f1f3c26925447b6fe1645db516640fb9298159",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1772623552,
|
||||||
|
"size": 1173,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/config.crm.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
25
var/www/hosting/archline.hu/www/maintenance/config.db.php
Normal file
25
var/www/hosting/archline.hu/www/maintenance/config.db.php
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('Constants')) require_once("common_cadline_libraries/constants.php");
|
||||||
|
|
||||||
|
// DB config
|
||||||
|
if ($_SERVER['SERVER_NAME'] == 'www.archline.hu' || $_SERVER['SERVER_NAME'] == 'www.archlinexp.com') {
|
||||||
|
$config['db_host'] = Constants::DB_HOST;
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'secondary.dev.cadline.hu') {
|
||||||
|
$config['db_host'] = Constants::DB_HOST;
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'crm.cadline.hu') {
|
||||||
|
$config['db_host'] = Constants::DB_HOST;
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
} else {
|
||||||
|
$config['db_host'] = Constants::DB_HOST;
|
||||||
|
$config['db_user'] = Constants::DB_USER;
|
||||||
|
$config['db_pass'] = Constants::DB_PASSWORD;
|
||||||
|
$config['db_name'] = Constants::DB_NAME;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6972",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/config.db.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/config.db.php)",
|
||||||
|
"original_sha256": "48aec825d9859299bc60dfd6aad949281b2ba3a32a76bcdb6e5aed18e83f763d",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1772623554,
|
||||||
|
"size": 1107,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/config.db.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
$mailconfig['Host'] = 'localhost';
|
||||||
|
$mailconfig['Username'] = 'www.smtp@cadline.hu';
|
||||||
|
$mailconfig['Password'] = 'Chieng0t';
|
||||||
|
$mailconfig['SMTPSecure'] = 'none';
|
||||||
|
$mailconfig['Port'] = '25';
|
||||||
|
$mailconfig['from_hu'] = 'info@cadline.hu';
|
||||||
|
$mailconfig['from_com'] = 'info@archlinexp.com';
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6961",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/config.mail.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/config.mail.php)",
|
||||||
|
"original_sha256": "b4a7a41e85919efa523901833360ef3e0c6a656c14a6c5cecf4684d3d5343d5a",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 293,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/config.mail.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
91
var/www/hosting/archline.hu/www/maintenance/config.php
Normal file
91
var/www/hosting/archline.hu/www/maintenance/config.php
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
<?php
|
||||||
|
if (isset($_SERVER['HTTP_HOST'])) {
|
||||||
|
switch ($_SERVER['HTTP_HOST']) {
|
||||||
|
case 'archline.hu':
|
||||||
|
case 'www.archline.hu': {
|
||||||
|
define('ELES', TRUE);
|
||||||
|
define('LANG', 'hun');
|
||||||
|
define('PREFIX', 'lakber_');
|
||||||
|
define('JMLADATBAZIS', "www_archline_hu");
|
||||||
|
define('PATH_CODEGEN', "/usr/local/sbin/codegen");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'archlinexp.com':
|
||||||
|
case 'www.archlinexp.com': {
|
||||||
|
define('ELES', TRUE);
|
||||||
|
define('LANG', 'eng');
|
||||||
|
define('PREFIX', 'eng_');
|
||||||
|
define('JMLADATBAZIS', "www_archline_hu");
|
||||||
|
define('PATH_CODEGEN', "/usr/local/sbin/codegen");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'cadline.hu':
|
||||||
|
case 'www.cadline.hu': {
|
||||||
|
define('ELES', TRUE);
|
||||||
|
define('LANG', 'hun');
|
||||||
|
define('PREFIX', 'lakber_');
|
||||||
|
define('JMLADATBAZIS', "www_archline_hu");
|
||||||
|
define('PATH_CODEGEN', "/usr/local/sbin/codegen");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'dev.cadline.hu': {
|
||||||
|
define('ELES', FALSE);
|
||||||
|
define('LANG', 'hun');
|
||||||
|
define('PREFIX', 'jml_');
|
||||||
|
define('JMLADATBAZIS', "dev_cadline_hu");
|
||||||
|
define('PATH_CODEGEN', "/var/www/tamas/codegen");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'dev.archlinexp.com': {
|
||||||
|
define('ELES', FALSE);
|
||||||
|
define('LANG', 'eng');
|
||||||
|
define('PREFIX', 'eng_');
|
||||||
|
define('JMLADATBAZIS', "dev_cadline_hu");
|
||||||
|
define('PATH_CODEGEN', "/var/www/tamas/codegen");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
define('ELES', TRUE);
|
||||||
|
define('LANG', 'hun');
|
||||||
|
define('PREFIX', 'lakber_');
|
||||||
|
define('JMLADATBAZIS', "www_archline_hu");
|
||||||
|
define('PATH_CODEGEN', "/usr/local/sbin/codegen");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
define('ELES', TRUE);
|
||||||
|
define('LANG', 'hun');
|
||||||
|
define('PREFIX', 'lakber_');
|
||||||
|
define('JMLADATBAZIS', "www_archline_hu");
|
||||||
|
define('PATH_CODEGEN', "/usr/local/sbin/codegen");
|
||||||
|
}
|
||||||
|
|
||||||
|
$folder = (trim($_SERVER['DOCUMENT_ROOT']) > '' ? trim($_SERVER['DOCUMENT_ROOT']) : $_SERVER['DOCUMENT_ROOT']); // cron-ból futtatva a DOCUMENT_ROOT-nak nincs értéke!!!
|
||||||
|
require_once('config.mail.php');
|
||||||
|
|
||||||
|
if (class_exists('MySqlHelper') === FALSE)
|
||||||
|
require_once('MySqlHelper.class.php');
|
||||||
|
|
||||||
|
define('CRMADATBAZIS', "cl_hlusers");
|
||||||
|
define('ACT_VERSION_ID', 1182);
|
||||||
|
define('DOMAIN', 'www.archline.hu');
|
||||||
|
define('DEFAULT_EMAIL', 'info@cadline.hu');
|
||||||
|
define('DEFAULT_EMAIL_ENG', 'info@archlinexp.com');
|
||||||
|
|
||||||
|
$config['db_host'] = 'localhost'; // 217.116.46.39
|
||||||
|
$config['db_user'] = 'cadline'; //'mycadline';
|
||||||
|
$config['db_pass'] = 'Shea6hoo'; //'uf1Ohpee';
|
||||||
|
$config['db_name'] = 'cl_hlusers';
|
||||||
|
|
||||||
|
$config2['db_host'] = 'localhost'; // tanis 2 - 185.43.206.63
|
||||||
|
$config2['db_user'] = 'mycadline';
|
||||||
|
$config2['db_pass'] = 'Shea6hoo';
|
||||||
|
$config2['db_name'] = 'www_archline_hu';
|
||||||
|
|
||||||
|
$msh = new MySQLHelper(); // tanis
|
||||||
|
$msh->init($config['db_host'], $config['db_name'], $config['db_user'], $config['db_pass']);
|
||||||
|
$msh->writelog = TRUE;
|
||||||
|
|
||||||
|
$msh2 = new MySQLHelper(); // tanis 2
|
||||||
|
$msh2->init($config2['db_host'], $config2['db_name'], $config2['db_user'], $config2['db_pass']);
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6949",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/config.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/config.php)",
|
||||||
|
"original_sha256": "873c21b6d13927af7a8bf5ee8a69b7fd6bc3f039fae44e8487d7b850f67c4ea4",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 3127,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/config.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
34
var/www/hosting/archline.hu/www/maintenance/config.tce.php
Normal file
34
var/www/hosting/archline.hu/www/maintenance/config.tce.php
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('Constants')) require_once("common_cadline_libraries/constants.php");
|
||||||
|
|
||||||
|
$dbTCE = array();
|
||||||
|
$dbTCE['driver'] = 'mysql';
|
||||||
|
$dbTCE['prefix'] = '';
|
||||||
|
|
||||||
|
|
||||||
|
$dbCRM = array();
|
||||||
|
$dbTCE['driver'] = 'mysql';
|
||||||
|
$dbTCE['prefix'] = '';
|
||||||
|
|
||||||
|
|
||||||
|
if ($_SERVER['SERVER_NAME'] == 'www.archline.hu' || $_SERVER['SERVER_NAME'] == 'www.archlinexp.com') {
|
||||||
|
$dbTCE['host'] = Constants::DB_HOST;
|
||||||
|
$dbTCE['user'] = Constants::DB_USER;
|
||||||
|
$dbTCE['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbTCE['database'] = 'tcexam';
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'secondary.dev.cadline.hu') {
|
||||||
|
$dbTCE['host'] = Constants::DB_HOST;
|
||||||
|
$dbTCE['user'] = Constants::DB_USER;
|
||||||
|
$dbTCE['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbTCE['database'] = 'tcexam';
|
||||||
|
} elseif ($_SERVER['SERVER_NAME'] == 'crm.cadline.hu') {
|
||||||
|
$dbTCE['host'] = Constants::DB_HOST;
|
||||||
|
$dbTCE['user'] = Constants::DB_USER;
|
||||||
|
$dbTCE['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbTCE['database'] = 'tcexam';
|
||||||
|
} else {
|
||||||
|
$dbTCE['host'] = Constants::DB_HOST;
|
||||||
|
$dbTCE['user'] = Constants::DB_USER;
|
||||||
|
$dbTCE['password'] = Constants::DB_PASSWORD;
|
||||||
|
$dbTCE['database'] = 'tcexam';
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6984",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/config.tce.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/config.tce.php)",
|
||||||
|
"original_sha256": "487d642ce9294e720e02beaf803b75fe2683092cb7885381c65494382e9d4314",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1772623556,
|
||||||
|
"size": 1213,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/config.tce.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
500
var/www/hosting/archline.hu/www/maintenance/crash.php
Normal file
500
var/www/hosting/archline.hu/www/maintenance/crash.php
Normal file
@ -0,0 +1,500 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* eredeti url: http://www.archline.hu/crash/66556465465
|
||||||
|
******************************************************************************/
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
|
||||||
|
if (isset($_POST) && !empty($_POST)) {
|
||||||
|
$guid = $_POST["guid"];
|
||||||
|
$id = (int)$_POST["newid"];
|
||||||
|
$lang = $_POST["language"];
|
||||||
|
$email = (trim($_POST['email']) > '' ? trim($_POST["email"]) : trim($_POST['email2']));
|
||||||
|
$info = ' ' . $_POST["info"];
|
||||||
|
$serial = isset($_POST['serial']) ? $_POST['serial'] : '';
|
||||||
|
$rgn = isset($_POST['rgn']) ? strtolower($_POST['rgn']) : 'int';
|
||||||
|
$match = $rgn == 'cn' && preg_match('/^[A-Z0-9]{4}(?:-[A-Z0-9]{4}){7}$/', $serial);
|
||||||
|
|
||||||
|
if (Codegen::IsValidPassword($serial) == false && $serial != 'no_serial') {
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
|
||||||
|
$query = "SELECT * FROM www_archline_hu.crash WHERE guid = ? AND id = ? AND deleted = ?;";
|
||||||
|
Database::getInstance()->query($query, array('sii', $guid, $id, 0));
|
||||||
|
$res = Database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (!empty($res)) {
|
||||||
|
$updateQuery = "UPDATE www_archline_hu.crash SET email = ?, info = ? WHERE guid = ? AND id = ? AND deleted = ? LIMIT 1;";
|
||||||
|
Database::getInstance()->query($updateQuery, array('sssii', $email, $res[0]['info'] . $info, $guid, $id, 0));
|
||||||
|
}
|
||||||
|
|
||||||
|
header('Content-Type: text/html; charset=utf-8');
|
||||||
|
|
||||||
|
//default is english
|
||||||
|
$text1 = utf8_encode("Thank you!");
|
||||||
|
$text2 = utf8_encode("The report of this issue is now delivered and awaiting processing.");
|
||||||
|
$text3 = utf8_encode("If you provided your e-mail address, we will send you a message when there is new information about this issue.");
|
||||||
|
$text4 = utf8_encode("Best regards");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
if ('hun' == $lang) {
|
||||||
|
$text1 = utf8_encode("Köszönjük!");
|
||||||
|
$text2 = utf8_encode("A hibajelentést kézbesítettük és jelenleg feldolgozásra vár.");
|
||||||
|
$text3 = utf8_encode("Amennyiben megadta e-mail címét értesítést küldünk a jelenséget érintő bárminemű fejlemény esetén.");
|
||||||
|
$text4 = utf8_encode("Tisztelettel");
|
||||||
|
$text5 = utf8_encode("A CADLine Kft. csapata");
|
||||||
|
} else if ('ita' == $lang) {
|
||||||
|
$text1 = utf8_encode("Grazie!");
|
||||||
|
$text2 = utf8_encode("Il report verrà ora inviato, attendere il completamento.");
|
||||||
|
$text3 = utf8_encode("Se avete fornito l'indirizzo e-mail, riceverete un messaggio di conferma.");
|
||||||
|
$text4 = utf8_encode("Distinti saluti");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
} else if ('esp' == $lang) {
|
||||||
|
} else if ('ger' == $lang || 'de-DE' == $lang || 'de-AT' == $lang) {
|
||||||
|
$text1 = utf8_encode("Herzlichen Dank!");
|
||||||
|
$text2 = utf8_encode("Der Report wird nun weitergeleitet und demnächst bearbeitet.");
|
||||||
|
$text3 = utf8_encode("Wenn Sie uns eine Email Adresse bekannt gegeben haben, werden wir Sie auf diesem Wege auf dem Laufenden halten.");
|
||||||
|
$text4 = utf8_encode("Mit freundlichen Grüßen");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
} else if ('gre' == $lang) {
|
||||||
|
$text1 = utf8_encode("Ευχαριστώ!");
|
||||||
|
$text2 = utf8_encode("Η αναφορά του αιτήματος αυτού παραδίδεται τώρα και αναμένεται επεξεργασία.");
|
||||||
|
$text3 = utf8_encode("Αν δώσατε τη διεύθυνση email σας, θα σας στείλουμε ένα μήνυμα μόλις υπάρξουν νέες πληροφορίες σχετικά με αυτό το θέμα.");
|
||||||
|
$text4 = utf8_encode("Με φιλικούς χαιρετισμούς");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
} else if ('cz' == $lang) {
|
||||||
|
$text1 = utf8_encode("Děkujeme!");
|
||||||
|
$text2 = utf8_encode("Zpráva o tomto problému je nyní předána a čeká na zpracování.");
|
||||||
|
$text3 = utf8_encode("Pokud jste poskytli svou e-mailovou adresu, pošleme vám zprávu s novými informacemi o tomto problému.");
|
||||||
|
$text4 = utf8_encode("S pozdravem");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
} else if ('pol' == $lang) {
|
||||||
|
} else if ('cr' == $lang) {
|
||||||
|
$text1 = utf8_encode("Hvala Vam!");
|
||||||
|
$text2 = utf8_encode("Izvještaj ovog problema je poslan i čeka na obradu.");
|
||||||
|
$text3 = utf8_encode("Ako ste naveli Vašu e-mail adresu, poslat ćemo Vam poruku kada ćemo imati nove informacije vezane uz ovaj problem.");
|
||||||
|
$text4 = utf8_encode("Srdačan pozdrav,");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
} else if ('nl' == $lang) {
|
||||||
|
} else if ('kor' == $lang) {
|
||||||
|
$text1 = utf8_encode("감사합니다.");
|
||||||
|
$text2 = utf8_encode("이 문제에 대한 보고서가 전달되어 처리를 기다리고 있습니다.");
|
||||||
|
$text3 = utf8_encode("전자 메일 주소를 제공 한 경우이 문제에 대한 새로운 정보가있을 때 메시지가 전송됩니다.");
|
||||||
|
$text4 = utf8_encode("감사합니다.");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
} else if ('chn' == $lang) {
|
||||||
|
$text1 = "感谢您!";
|
||||||
|
$text2 = "此问题报告现已提交并等待处理。";
|
||||||
|
$text3 = "如果您提供了电子邮件地址,当有关于此问题的新信息时,我们会给您发送消息。";
|
||||||
|
$text4 = "致以最诚挚的问候";
|
||||||
|
$text5 = "苏州浩辰软件股份有限公司";
|
||||||
|
} else if ('por' == $lang) {
|
||||||
|
} else if ('nor' == $lang) {
|
||||||
|
$text1 = utf8_encode("Takk!");
|
||||||
|
$text2 = utf8_encode("Rapporten er levert og avventer behandling.");
|
||||||
|
$text3 = utf8_encode("Hvis du har oppgitt din e-post adresse vil vi sende deg mail når det er nytt om saken.");
|
||||||
|
$text4 = utf8_encode("Med vennlig hilsen");
|
||||||
|
$text5 = utf8_encode("CadLine Network Ltd.");
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
|
||||||
|
<script type="text/javascript" src="/public/js/jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="/public/js/jquery_ui.js"></script>
|
||||||
|
<link href="/public/css/jquery.ui.css" rel="stylesheet" type="text/css" />
|
||||||
|
<style type="text/css">
|
||||||
|
.gomb {
|
||||||
|
width: 177px;
|
||||||
|
height: 40px;
|
||||||
|
padding-bottom: 1px;
|
||||||
|
font-size: 1.1em;
|
||||||
|
border: 0px;
|
||||||
|
float: right;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: -15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div style="width: 694px; font-family: Arial,Helvetica,sans-serif; font-size: 16px;">
|
||||||
|
<div style="background: url('/public/img/bg/crash/box_main_top.png') no-repeat; width: 100%; height: 14px;"></div>
|
||||||
|
<div style="background: url('/public/img/bg/crash/box_main_repeat.png') repeat-y; width: 644px; padding: 0 30px 0 20px;">
|
||||||
|
<h1 style="margin: 0px;"><?= $text1 ?></h1>
|
||||||
|
<p style="margin-bottom: 0px;"><?= $text2 ?><br /><br /></p>
|
||||||
|
<p style="margin-bottom: 0px;"><?= $text3 ?><br /><br /></p>
|
||||||
|
<p style="margin-bottom: 0px;"><?= $text4 ?><br /></p>
|
||||||
|
<p style="margin-bottom: 0px;"><?= $text5 ?><br /><br /></p>
|
||||||
|
</div>
|
||||||
|
<div style="background: url('/public/img/bg/crash/box_main_bottom.png') no-repeat; width: 100%; height: 14px;"></div>
|
||||||
|
<img src="/public/img/bg/crash/logo.png" style="margin: 5px 15px;" />
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
<?php
|
||||||
|
} else {
|
||||||
|
$info = "";
|
||||||
|
$guid = $_GET['guid'];
|
||||||
|
$build = (isset($_GET['build']) ? $_GET['build'] : NULL);
|
||||||
|
$lang = (isset($_GET['lang']) ? $_GET['lang'] : NULL);
|
||||||
|
$rgn = (isset($_GET['rgn']) ? strtolower($_GET['rgn']) : 'int');
|
||||||
|
$prod = (isset($_GET['prod']) ? $_GET['prod'] : '');
|
||||||
|
$year = (isset($_GET['year']) ? $_GET['year'] : '');
|
||||||
|
if (NULL == $lang)
|
||||||
|
$lang = 'eng';
|
||||||
|
|
||||||
|
$serial = (isset($_GET['serial']) ? $_GET['serial'] : NULL);
|
||||||
|
$error = false;
|
||||||
|
$match = $rgn == 'cn' && preg_match('/^[A-Z0-9]{4}(?:-[A-Z0-9]{4}){7}$/', $serial);
|
||||||
|
|
||||||
|
if (Codegen::IsValidPassword($serial) == false && $serial != 'no_serial' && !$match) {
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($year != '') {
|
||||||
|
$info .= $year . " ";
|
||||||
|
} elseif ($serial) {
|
||||||
|
$year = substr($serial, 7, 2);
|
||||||
|
if ($year == "34")
|
||||||
|
$info .= "2017 ";
|
||||||
|
else if ($year == "35")
|
||||||
|
$info .= "2018 ";
|
||||||
|
else if ($year == "36")
|
||||||
|
$info .= "2019 ";
|
||||||
|
else if ($year == "37")
|
||||||
|
$info .= "2020 ";
|
||||||
|
else if ($year == "38")
|
||||||
|
$info .= "2021 ";
|
||||||
|
else if ($year == "39")
|
||||||
|
$info .= "2022 ";
|
||||||
|
else if ($year == "40")
|
||||||
|
$info .= "2023 ";
|
||||||
|
else if ($year == "41")
|
||||||
|
$info .= "2024 ";
|
||||||
|
else if ($year == "42")
|
||||||
|
$info .= "2025 ";
|
||||||
|
}
|
||||||
|
if ($build) $info .= "build: " . $build . " ";
|
||||||
|
if ($serial) $info .= " serial: " . $serial . " ";
|
||||||
|
|
||||||
|
$query = "SELECT * FROM www_archline_hu.crash WHERE guid = ? AND deleted = ?;";
|
||||||
|
Database::getInstance()->query($query, array('si', $guid, 0));
|
||||||
|
$res = Database::getInstance()->fetchNext();
|
||||||
|
if (empty($res)) {
|
||||||
|
$newID = Database::getInstance()->insert(
|
||||||
|
'www_archline_hu.crash',
|
||||||
|
array(
|
||||||
|
'guid' => $guid,
|
||||||
|
'info' => trim($info),
|
||||||
|
'datum' => date('Y-m-d H:i:s', time()),
|
||||||
|
'prod' => $prod
|
||||||
|
),
|
||||||
|
'ssss'
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
$newID = $res['id'];
|
||||||
|
}
|
||||||
|
|
||||||
|
header('Content-Type: text/html; charset=utf-8');
|
||||||
|
|
||||||
|
//default is english
|
||||||
|
$confirm = "Confirm";
|
||||||
|
if ('hun' == $lang) {
|
||||||
|
$confirm = "Megerősít";
|
||||||
|
} else if ('ita' == $lang) {
|
||||||
|
$confirm = "Conferma";
|
||||||
|
} else if ('esp' == $lang) {
|
||||||
|
} else if ('ger' == $lang || 'de-DE' == $lang || 'de-AT' == $lang) {
|
||||||
|
$confirm = "Bestätigen";
|
||||||
|
} else if ('gre' == $lang) {
|
||||||
|
$confirm = "επιβεβαιώνω";
|
||||||
|
} else if ('cz' == $lang) {
|
||||||
|
$confirm = "Potvrdit";
|
||||||
|
} else if ('pol' == $lang) {
|
||||||
|
} else if ('cr' == $lang) {
|
||||||
|
$confirm = "Potvrdi";
|
||||||
|
} else if ('nl' == $lang) {
|
||||||
|
} else if ('kor' == $lang) {
|
||||||
|
$confirm = "확인";
|
||||||
|
} else if ('chn' == $lang) {
|
||||||
|
$confirm = "确认";
|
||||||
|
} else if ('por' == $lang) {
|
||||||
|
} else if ('nor' == $lang) {
|
||||||
|
$confirm = "Bekreft";
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
|
||||||
|
<script type="text/javascript" src="/public/js/jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="/public/js/jquery_ui.js"></script>
|
||||||
|
<link href="/public/css/jquery.ui.css" rel="stylesheet" type="text/css" />
|
||||||
|
<style type="text/css">
|
||||||
|
.gomb {
|
||||||
|
width: 177px;
|
||||||
|
height: 40px;
|
||||||
|
padding-bottom: 1px;
|
||||||
|
font-size: 1.1em;
|
||||||
|
border: 0px;
|
||||||
|
float: right;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: -15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script type="text/javascript" charset="UTF-8">
|
||||||
|
jQuery(document).ready(function($) {
|
||||||
|
var ellenorizve = false;
|
||||||
|
|
||||||
|
$('#crashform').submit(function() {
|
||||||
|
//alert("submit volt");
|
||||||
|
|
||||||
|
var error = "";
|
||||||
|
var email = $('#email');
|
||||||
|
|
||||||
|
if (email.val() == '') {
|
||||||
|
error = "Missing e-mail address!\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// alert(error);
|
||||||
|
|
||||||
|
if (ellenorizve) {
|
||||||
|
//$('#crashform').submit();
|
||||||
|
} else if (error != "") {
|
||||||
|
ellenorizve = true;
|
||||||
|
$('#dialog').dialog('open');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
/*else
|
||||||
|
$('#crashform').submit();*/
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#dialog').dialog({
|
||||||
|
autoOpen: false,
|
||||||
|
modal: true,
|
||||||
|
width: 650,
|
||||||
|
buttons: {
|
||||||
|
'<?= $confirm ?>': function() {
|
||||||
|
myconfirm();
|
||||||
|
$('#dialog').dialog('close');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
function myconfirm() {
|
||||||
|
ellenorizve = true;
|
||||||
|
$('#email').val($('#email2').val());
|
||||||
|
$('#crashform').submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
//default is english
|
||||||
|
$text1 = "We are really sorry...";
|
||||||
|
$text2 = "It seems like ARCHLine.XP has crashed.";
|
||||||
|
$text3 = "Please take a few moments and describe the error you've just encountered. Thank you!";
|
||||||
|
$text4 = "Your e-mail:";
|
||||||
|
$text5 = "If you give us your email we will use this information to keep you informed about the changes and improvements. Thank you!";
|
||||||
|
$text6 = "Description";
|
||||||
|
$text7 = "Send report";
|
||||||
|
$text8 = "Your e-mail address seems to be missing.";
|
||||||
|
$text9 = "Providing your contact e-mail is not mandatory";
|
||||||
|
$text10 = "however sometimes we need to learn more about the issue to be able to find a solution. If you kindly provide an e-mail address we can use it to can ask about important details regarding this issue.";
|
||||||
|
$text11 = "If you decide not to provide your e-mail address, do not worry, please simply press the \"Confirm\" button.";
|
||||||
|
$text12 = "If you decide to provide your e-mail address, please fill up the following field and press the \"Confirm\" button.";
|
||||||
|
$text13 = "(This e-mail address will only be used to provide technical support in connection to this specific issue and will not be used for advertising and marketing purposes, except you have already provided the same address for such purposes.)";
|
||||||
|
if ('hun' == $lang) {
|
||||||
|
$text1 = "Őszintén sajnáljuk...";
|
||||||
|
$text2 = "Úgy tűnik az ARCHLine.XP rendellenesen állt le.";
|
||||||
|
$text3 = "Kérjük szánjon rá egy percet és ossza meg velünk mi történt, amikor a hiba jelentkezett. Közreműködése sokat segít!";
|
||||||
|
$text4 = "Az Ön e-mail címe:";
|
||||||
|
$text5 = "A megadott e-mail címen tudjuk felvenni Önnel a kapcsolatot, ha további információ szükséges és ezen tudjuk tájékoztatni is a fejleményekről. Köszönjük!";
|
||||||
|
$text6 = "A jelenség leírása";
|
||||||
|
$text7 = "Hibajelentés küldése";
|
||||||
|
$text8 = "Úgy tűnik nem adott meg e-mail címet.";
|
||||||
|
$text9 = "Az e-mail cím megadása nem kötelező";
|
||||||
|
$text10 = "ugyanakkor számos esetben szükségünk lehet további információkra ahhoz, hogy megoldást találjunk. Amennyiben úgy dönt, hogy megadja az e-mail címét, akkor fel tudjuk venni Önnel a kapcsolatot a rendellenességgel kapcsolatos fontos részletek miatt.";
|
||||||
|
$text11 = "Amennyiben nem szeretné megadni az e-mail címét, semmi gond, egyszerűen csak nyomja meg a \"Megerősít\" gombot.";
|
||||||
|
$text12 = "Amennyiben meg kívánja adni e-mail címét, kérjük gépelje az alábbi mezőbe és nyomja meg a \"Megerősít\" gombot.";
|
||||||
|
$text13 = "(Ezt az e-mail címet kizárólag az ezzel a konkrét jelenséggel kapcsolatos technikai segítségnyújtás céljára használjuk fel és nem használjuk egyéb hirdetési vagy marketing célokra, kivéve ha Ön ezt az e-mail címet máshol ilyen céllal már megadta.)";
|
||||||
|
} else if ('ita' == $lang) {
|
||||||
|
$text1 = "Vi chiediamo scusa...";
|
||||||
|
$text2 = "Sembra che ARCHLine.XP sia terminato in modo inaspettato.";
|
||||||
|
$text3 = "Vi preghiamo di dedicarci qualche attimo per descrivere il problema riscontrato. Grazie!";
|
||||||
|
$text4 = "Vostra e-mail:";
|
||||||
|
$text5 = "Se indicate la vostra email provvederemo a informarvi su eventuali modifiche o miglioramenti. Grazie!";
|
||||||
|
$text6 = "Descrizione";
|
||||||
|
$text7 = "Invia report";
|
||||||
|
$text8 = "Manca l'indirizzo e-mail.";
|
||||||
|
$text9 = "La fornitura del contatto e-mail non è obbligatoria";
|
||||||
|
$text10 = "ma talvolta ci è necessario avere ulteriori informazioni per capire e risolvere il problema. Se gentilmente ci fornite l'indirizzo e-mail possiamo utilizzarlo per richiedervi ulteriori dettagli riguardanti questo problema.";
|
||||||
|
$text11 = "Se non desiderate indicare l'indirizzo e-mail, nessun problema, semplicemente premete il pulsante \"Conferma\".";
|
||||||
|
$text12 = "Se desiderate indicare l'indirizzo e-mail, scrivetelo nel campo che segue e premete il pulsante \"Conferma\".";
|
||||||
|
$text13 = "(Questo indirizzo e-mail sarà utilizzato solo per supporto tecnico correlato allo specifico problema e non verrà utilizzato ne ceduto ad altri per fini pubblicitari o marketing, tranne il caso in cui lo stesso indirizzo sia già stato fornito per queste ragioni.)";
|
||||||
|
} else if ('esp' == $lang) {
|
||||||
|
} else if ('ger' == $lang || 'de-DE' == $lang || 'de-AT' == $lang) {
|
||||||
|
$text1 = "Bitte entschuldigen Sie...";
|
||||||
|
$text2 = "So wie es aussieht, wurde ARCHLine.XP unerwartet beendet.";
|
||||||
|
$text3 = "Bitte nehmen Sie sich einen Moment Zeit, und beschreiben Sie die Schritte welche dazu geführt haben.";
|
||||||
|
$text4 = "Ihre Email:";
|
||||||
|
$text5 = "Wenn Sie uns Ihre Email Adresse bekanntgeben, werden wir Sie über Änderungen und Fortschritte am Laufenden halten. Danke!";
|
||||||
|
$text6 = "Beschreibung";
|
||||||
|
$text7 = "Report abschicken";
|
||||||
|
$text8 = "Ihre Email Adresse fehlt.";
|
||||||
|
$text9 = "Die Angabe ist nicht verpflichtend";
|
||||||
|
$text10 = "aber für eventuelle Rückfragen wichtig. Wenn Sie uns eine Email Adresse mitteilen, so können wir Sie bei weiteren Fragen zur Lösungsfindung kontaktieren.";
|
||||||
|
$text11 = "Wenn Sie keine Email Adresse angeben wollen, so klicken Sie einfach auf die \"Bestätigen\" Schaltfläche.";
|
||||||
|
$text12 = "Ansonsten geben Sie bitte Ihre Email Adresse im folgenden Feld ein und klicken auf \"Bestätigen\".";
|
||||||
|
$text13 = "(Diese Email Adresse wird nur zur technischen Unterstützung in Bezug auf dieses Ticket und in keinem Fall für Werbung oder Marketing verwendet, außer Sie sind mit dieser Adresse bereits für solche Dienste gemeldet.)";
|
||||||
|
} else if ('gre' == $lang) {
|
||||||
|
$text1 = "Λυπούμαστε πραγματικά...";
|
||||||
|
$text2 = "Παρουσίασε σφάλμα στο ARCHLine.XP.";
|
||||||
|
$text3 = "Παρακαλούμε αφιερώστε λίγα λεπτά και να περιγράψετε το σφάλμα που μόλις συνάντησε. Ευχαριστούμε!";
|
||||||
|
$text4 = "Το e-mail σας:";
|
||||||
|
$text5 = "Αν μας δώσετε την ηλεκτρονική σας διεύθυνση e-mail, θα τη χρησιμοποιήσουμε για να σας ενημερώνουμε για τις αλλαγές και τις βελτιώσεις. Ευχαριστούμε!";
|
||||||
|
$text6 = "Περιγραφή";
|
||||||
|
$text7 = "Αποστολή αναφοράς";
|
||||||
|
$text8 = "Φαίνεται να λείπει η διεύθυνση e-mail.";
|
||||||
|
$text9 = "Η παροχή της ηλεκτρονική σας επαφής δεν είναι υποχρεωτική";
|
||||||
|
$text10 = "ωστόσο μερικές φορές χρειάζεται να μάθετε περισσότερα σχετικά με το θέμα για να μπορέσετε να βρείτε μια λύση. Αν έχετε την καλοσύνη να μας δώσετε μια διεύθυνση e-mail, θα μπορούσαμε να την χρησιμοποιήσουμε για να σας ρωτήσουμε κάτι σχετικό με αυτό το θέμα.";
|
||||||
|
$text11 = "Αν δεν επιθυμείτε να μας δώσετε τη διεύθυνση e-mail σας, μην ανησυχείτε, απλά πατήστε το κουμπί \"Επιβεβαίωση\".";
|
||||||
|
$text12 = "Αν αποφασίσετε να μας δώσετε τη διεύθυνση e-mail σας, παρακαλούμε συμπληρώστε το παρακάτω πεδίο και πατήστε το κουμπί \"Επιβεβαίωση\".";
|
||||||
|
$text13 = "(Αυτή η διεύθυνση e-mail θα χρησιμοποιηθεί μόνο για την παροχή τεχνικής υποστήριξης σε σχέση με το συγκεκριμένο θέμα και δεν θα χρησιμοποιηθεί για σκοπούς διαφήμισης και μάρκετινγκ, εκτός εάν εσείς την έχετε ήδη παράσχει την ίδια διεύθυνση για τέτοιους σκοπούς.)";
|
||||||
|
} else if ('cz' == $lang) {
|
||||||
|
$text1 = "Je nám opravdu líto ...";
|
||||||
|
$text2 = "Vypadá to, že se ARCHLine.XP zhroutil.";
|
||||||
|
$text3 = "Věnujte nám prosím chviličku a popište chybu, se kterou jste právě setkali. Děkujeme!";
|
||||||
|
$text4 = "Váš e-mail:";
|
||||||
|
$text5 = "Pokud nám poskytnete váš e-mail, použijeme tuto informaci, abychom vás průběžně informovali o změnách a vylepšeních. Děkujeme!";
|
||||||
|
$text6 = "Popis";
|
||||||
|
$text7 = "Poslat zprávu";
|
||||||
|
$text8 = "Zdá se, že schází vaše e-mailová adresa.";
|
||||||
|
$text9 = "Poskytnutí vašeho kontaktního e-mailu není povinné";
|
||||||
|
$text10 = "ale někdy se musíme dozvědět více o tomto problému, aby bylo možné najít řešení. Když budete tak laskaví a poskytnete nám vaši e-mailovou adresu, mohli bychom ji použít k dotazování na důležité detaily týkajících se tohoto problému.";
|
||||||
|
$text11 = "Pokud se rozhodnete neposkytnout svoji e-mailovou adresu, bez obav prosím jednoduše stiskněte tlačítko \"Potvrdit\".";
|
||||||
|
$text12 = "Pokud se rozhodnete poskytnout svoji e-mailovou adresu, vyplňte prosím následující políčko a stiskněte tlačítko \"Potvrdit\".";
|
||||||
|
$text13 = "(Tato emailová adresa bude použita pouze k poskytování technické podpory v souvislosti s tímto konkrétním problémem a nebude použita pro reklamní a marketingové účely, mimo případů, kdy jste již poskytli stejnou adresu pro tyto účely.)";
|
||||||
|
} else if ('pol' == $lang) {
|
||||||
|
} else if ('cr' == $lang) {
|
||||||
|
$text1 = "Ispričavamo se...";
|
||||||
|
$text2 = "Čini se da je ARCHLine.XP prestao s radom.";
|
||||||
|
$text3 = "Molim Vas, odvojite nekoliko trenutaka i opišite grešku na koju ste upravo naišli. Hvala Vam!";
|
||||||
|
$text4 = "Vaš e-mail:";
|
||||||
|
$text5 = "Vašu e-mail adresu koristit ćemo kako bi vas obavijestili o promjenama i poboljšanjima. Hvala Vam!";
|
||||||
|
$text6 = "Opis";
|
||||||
|
$text7 = "Pošalji izvješće";
|
||||||
|
$text8 = "Čini se da Vaša e-mail adresa nedostaje.";
|
||||||
|
$text9 = "Pružanje kontakta e-mail adrese nije obavezno";
|
||||||
|
$text10 = "no ponekad nam je potrebno više informacija o problemu kako bi mogli pronaći rješenje. Molimo Vas da nam pružite Vašu e-mail adresu kako bi je mogli koristiti za pitanja o važnim detaljima vezana uz ovaj problem.";
|
||||||
|
$text11 = "Ako odlučite da nam ne želite dati svoju e-mail adresu, ne brinite, molimo Vas samo pritisnite gumb \"Potvrdi\".";
|
||||||
|
$text12 = "Ako ste odlučili dati nam svoju e-mail adresu, molimo Vas da ispunite sljedeće polje i pritisnite gumb \"Potvrdi\".";
|
||||||
|
$text13 = "(Ova e-mail adresa će se koristiti samo za pružanje tehničke podrške vezane uz ovaj specifični problem i neće se koristiti za oglašavanje i marketinške svrhe, osim ako ste već dali istu adresu za takve svrhe.)";
|
||||||
|
} else if ('nl' == $lang) {
|
||||||
|
} else if ('kor' == $lang) {
|
||||||
|
$text1 = "이런 일이 벌어진 것에 대해 대단히 유감입니다.";
|
||||||
|
$text2 = "ARCHLine.XP가 충돌 한 것 같습니다.";
|
||||||
|
$text3 = "잠시 시간을내어 방금 만난 오류를 설명하십시오. 고맙습니다!";
|
||||||
|
$text4 = "귀하의 e-mail:";
|
||||||
|
$text5 = "이메일을 보내 주시면, 이 정보를 사용하여 변경 사항 및 개선 사항에 대한 정보를 알려 드리겠습니다. 대단히 감사합니다!";
|
||||||
|
$text6 = "오류내용";
|
||||||
|
$text7 = "보고서 보내기";
|
||||||
|
$text8 = "귀하의 전자 메일 주소가 누락 된 것 같습니다.";
|
||||||
|
$text9 = "전자메일을 제공하는 것은 필수는 아니지만 때로는 해결책을 찾을 수 있도록 문제에 대해 더 자세히 알아야합니다.";
|
||||||
|
$text10 = "친절하게 우리가 사용할 수있는 전자 메일 주소를 제공하면이 문제와 관련된 중요한 세부 정보를 요청할 수 있습니다.";
|
||||||
|
$text11 = "전자 메일 주소를 제공하지 않으려면 \"확인\"버튼을 누르십시오.";
|
||||||
|
$text12 = "전자 메일 주소를 제공하기로 결정한 경우, 다음 필드를 채우고 \"확인\"버튼을 누르십시오.";
|
||||||
|
$text13 = "(이 전자 메일 주소는이 특정 문제와 관련하여 기술 지원을 제공하는 데에만 사용되며 광고 및 마케팅 용도로는 사용되지 않습니다. 단, 귀하는 이미 그러한 주소로 동일한 주소를 제공 한 것입니다.)";
|
||||||
|
} else if ('chn' == $lang) {
|
||||||
|
$text1 = "我们真的很抱歉...";
|
||||||
|
$text2 = "看来 浩辰BIM 已崩溃。";
|
||||||
|
$text3 = "请花几分钟时间描述一下您刚刚遇到的错误。感谢您!";
|
||||||
|
$text4 = "您的电子邮件:";
|
||||||
|
$text5 = "如果您向我们提供您的电子邮件,我们会利用这些信息让您了解相关变更和改进情况。感谢您!";
|
||||||
|
$text6 = "描述";
|
||||||
|
$text7 = "发送报告";
|
||||||
|
$text8 = "您的电子邮件地址似乎缺失了。";
|
||||||
|
$text9 = "提供您的电子邮箱并非强制要求";
|
||||||
|
$text10 = "不过有时我们需要了解有关此问题的更多信息才能找到解决方案。如果您能够提供一个电子邮箱地址,我们可以针对与该问题相关的重要细节向您询问。";
|
||||||
|
$text11 = "如果您决定不提供电子邮箱地址,请直接按下 “确认” 按钮即可。";
|
||||||
|
$text12 = "如果您决定提供电子邮箱地址,请填写以下字段并按下 “确认” 按钮。";
|
||||||
|
$text13 = "(此电子邮箱地址仅会用于就该特定问题提供技术支持,不会用于广告和营销目的,除非您已为这类目的提供过相同地址 。 )";
|
||||||
|
} else if ('por' == $lang) {
|
||||||
|
} else if ('nor' == $lang) {
|
||||||
|
$text1 = "Opps!";
|
||||||
|
$text2 = "Dette var flaut, det ser ut som ARCHLine har krasjet.";
|
||||||
|
$text3 = "Kan du beskrive kort hva som hendte. Takk!";
|
||||||
|
$text4 = "Din e-mail:";
|
||||||
|
$text5 = "Hvis du oppgir din e-post vil vi holde deg oppdatert om endringer og forbedringer. Takk!";
|
||||||
|
$text6 = "Beskrivelse";
|
||||||
|
$text7 = "Sende rapport";
|
||||||
|
$text8 = "Det ser ut som vi mangler din e-post.";
|
||||||
|
$text9 = "Dette er ikke obligatorisk men";
|
||||||
|
$text10 = "noen ganger trenger vi litt mere informasjon om saken for å løse problemet. Hvis du kan oppgi din e-post adresse kan vi spørre deg om viktige detaljer om saken.";
|
||||||
|
$text11 = "Det er ingen problem om du ikke vil gi oss din e-post adresse, bare klikk \"Bekreft\" knappen.";
|
||||||
|
$text12 = "Hvis du vil oppgi din e-post, fyll inn følgene felt og klikk \"Bekreft\" knappen.";
|
||||||
|
$text13 = "(Denne e-post vil kun brukes til kontakt fra teknisk avdeling i forbindelse med saken. Den vil IKKE brukes til reklame eller markedsførings formål med unntak av der du har tidligere oppgitt samme e-post til slik.)";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div style="width: 694px; font-family: Arial,Helvetica,sans-serif; font-size: 16px;">
|
||||||
|
<div style="background: url('/public/img/bg/crash/box_main_top.png') no-repeat; width: 100%; height: 14px;"></div>
|
||||||
|
<div style="background: url('/public/img/bg/crash/box_main_repeat.png') repeat-y; width: 644px; padding: 0 30px 0 20px;">
|
||||||
|
<h1 style="margin: 0px;"><?= $text1 ?></h1>
|
||||||
|
<p style="margin-bottom: 0px;"><?= $text2 ?> <?= $text3 ?><br /><br /></p>
|
||||||
|
<form action="/maintenance/crash.php" method="post" id="crashform">
|
||||||
|
<?= $text4 ?> <input type="text" name="email" id="email" value="" style="width: 200px;" /><br />
|
||||||
|
<span style="font-size: 0.8em"><?= $text5 ?></span><br />
|
||||||
|
<input type="hidden" name="guid" value="<?= $guid ?>" />
|
||||||
|
<input type="hidden" name="newid" value="<?= $newID ?>" />
|
||||||
|
<input type="hidden" name="language" value="<?= $lang ?>" />
|
||||||
|
<input type="hidden" name="serial" value="<?= $serial ?>" />
|
||||||
|
<input type="hidden" name="rgn" value="<?= $rgn ?>" />
|
||||||
|
<?= $text6 ?>: <br />
|
||||||
|
<textarea name="info" rows="15" cols="50" style="width: 100%; height: 150px;"></textarea>
|
||||||
|
<input type="submit" class="gomb" value="<?= $text7 ?>" style="background: url(/public/img/bg/crash/button_send.png); color: #FFFFFF; margin-bottom: 0px;" />
|
||||||
|
<div style="clear: both; height: 1px; margin: 0px; padding: 0px; font-size: 1px;"></div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div style="background: url('/public/img/bg/crash/box_main_bottom.png') no-repeat; width: 100%; height: 14px;"></div>
|
||||||
|
<img src="/public/img/bg/crash/logo.png" style="margin: 5px 15px;" />
|
||||||
|
|
||||||
|
<div id="dialog" style="display: none; font-size: 16px;" title="E-mail">
|
||||||
|
<?= $text8 ?> <strong><?= $text9 ?></strong>, <?= $text10 ?><br />
|
||||||
|
<br />
|
||||||
|
<?= $text11 ?><br />
|
||||||
|
<?= $text12 ?><br />
|
||||||
|
<br />
|
||||||
|
<input type="text" name="email2" id="email2" />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<?= $text13 ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7031",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/crash.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/crash.php)",
|
||||||
|
"original_sha256": "5e9459676bbca87ada44487b4d81c82916fbf77639570406656aaaab30afa9f3",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1776763173,
|
||||||
|
"size": 37992,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/crash.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
488
var/www/hosting/archline.hu/www/maintenance/crashadmin.php
Normal file
488
var/www/hosting/archline.hu/www/maintenance/crashadmin.php
Normal file
@ -0,0 +1,488 @@
|
|||||||
|
<?php
|
||||||
|
error_reporting(E_ERROR | E_PARSE);
|
||||||
|
|
||||||
|
if (!class_exists('Database')) require_once("common_cadline_libraries/crm_database.class.php");
|
||||||
|
|
||||||
|
session_start();
|
||||||
|
include('config.php');
|
||||||
|
|
||||||
|
if (isset($_POST['submit'])) {
|
||||||
|
if ($_POST['modId']) {
|
||||||
|
$id = $_POST['modId'];
|
||||||
|
$text = $_POST['modText'];
|
||||||
|
|
||||||
|
$updateUserQuery = "UPDATE `www_archline_hu`.`crash` SET komment = ? WHERE id = ? LIMIT 1;";
|
||||||
|
Database::getInstance()->query($updateUserQuery, array('si', $text, $id));
|
||||||
|
}
|
||||||
|
if ($_POST['listaid'] && isset($_POST['CbBoxValue'])) {
|
||||||
|
$listaid = substr($_POST['listaid'], 5);
|
||||||
|
|
||||||
|
$updateUserQuery = "UPDATE `www_archline_hu`.`crash` SET eredmeny = ? WHERE id = ? LIMIT 1;";
|
||||||
|
Database::getInstance()->query($updateUserQuery, array('ii', $_POST['CbBoxValue'], $listaid));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function downloadFile($filename)
|
||||||
|
{
|
||||||
|
if ($f = fopen($filename, "rb")) {
|
||||||
|
$content_len = (int) filesize($filename);
|
||||||
|
//@ini_set('zlib.output_compression', 'Off');
|
||||||
|
header('Pragma: public');
|
||||||
|
//header('Last-Modified: '.gmdate('D, d M Y H(idea)(worry)') . ' GMT');
|
||||||
|
header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
|
||||||
|
header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
|
||||||
|
header('Content-Transfer-Encoding: none');
|
||||||
|
header('Content-Type: plain/text');
|
||||||
|
header('Content-Disposition: inline; filename="' . $filename . '"');
|
||||||
|
header("Content-length: $content_len");
|
||||||
|
|
||||||
|
while (!feof($f)) {
|
||||||
|
echo fread($f, 2 << 20);
|
||||||
|
}
|
||||||
|
fclose($f);
|
||||||
|
} else {
|
||||||
|
print "error opening file";
|
||||||
|
}
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($_GET) && !empty($_GET)) {
|
||||||
|
$filepath = "/home/vendeg/crash/";
|
||||||
|
$filepath .= $_GET["guid"];
|
||||||
|
|
||||||
|
if (!file_exists($filepath))
|
||||||
|
$filepath = "../webdav/crash/" . $_GET['guid'];
|
||||||
|
downloadFile($filepath);
|
||||||
|
} else {
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
|
||||||
|
<style>
|
||||||
|
#submit {
|
||||||
|
position: fixed;
|
||||||
|
right: 1%;
|
||||||
|
top: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr0 {
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr1 {
|
||||||
|
background-color: #33cc33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr2,
|
||||||
|
.tr5,
|
||||||
|
.tr6 {
|
||||||
|
background-color: #ff5050;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr3 {
|
||||||
|
background-color: #cccccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr4 {
|
||||||
|
background-color: #99ff33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr7 {
|
||||||
|
background-color: #808080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ta0 {
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ta1 {
|
||||||
|
background-color: #33cc33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ta2,
|
||||||
|
.ta5,
|
||||||
|
.ta6 {
|
||||||
|
background-color: #ff5050;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ta3 {
|
||||||
|
background-color: #cccccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ta4 {
|
||||||
|
background-color: #99ff33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ta7 {
|
||||||
|
background-color: #808080;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
var textId;
|
||||||
|
var CbBox;
|
||||||
|
|
||||||
|
function valtoztat(id) {
|
||||||
|
textId = id;
|
||||||
|
document.getElementById("modId").value = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
function textChange() {
|
||||||
|
var x = document.getElementById(textId).value;
|
||||||
|
document.getElementById("modText").value = x;
|
||||||
|
|
||||||
|
var cbV = document.getElementById(CbBox).selectedIndex;
|
||||||
|
document.getElementById("CbBoxValue").value = cbV;
|
||||||
|
}
|
||||||
|
|
||||||
|
function cbboxid(CbId) {
|
||||||
|
var cbV = document.getElementById(CbId).selectedIndex;
|
||||||
|
document.getElementById("CbBoxValue").value = cbV;
|
||||||
|
document.getElementById("listaid").value = CbId;
|
||||||
|
CbBox = CbId;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<?php
|
||||||
|
$V0 = "Nem feldolgozott";
|
||||||
|
$V1 = "Javítva";
|
||||||
|
$V2 = "Nem debuggolható";
|
||||||
|
$V3 = "Nem értelmezhető";
|
||||||
|
$V4 = "Előzőleg javított";
|
||||||
|
$V5 = "Nem reprodukálható";
|
||||||
|
$V6 = "Nem javítható";
|
||||||
|
$V7 = "Nem feldolgozandó";
|
||||||
|
$V8 = "Mind";
|
||||||
|
|
||||||
|
if (isset($_POST['datemin'])) {
|
||||||
|
$_SESSION["mindate"] = $_POST['datemin'];
|
||||||
|
$_SESSION["maxdate"] = $_POST['datemax'];
|
||||||
|
$_SESSION["lista"] = $_POST['lista'];
|
||||||
|
$_SESSION['product'] = $_POST['product'];
|
||||||
|
$_SESSION['prod'] = $_POST['prod'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$maxdate = date("Y-m-d");
|
||||||
|
$mindate = date("Y-m-d", strtotime("-5 days"));
|
||||||
|
|
||||||
|
echo '<form method="post" action="">';
|
||||||
|
if (isset($_SESSION["maxdate"]) || isset($_SESSION["mindate"]) || isset($_SESSION["lista"])) {
|
||||||
|
echo 'Dátum szűrés<br /> <input type="date" name="datemin" id="datemin" value="' . $_SESSION["mindate"] . '">-tól <input type="date" name="datemax" id="datemax" value="' . $_SESSION["maxdate"] . '">-ig';
|
||||||
|
} else {
|
||||||
|
echo 'Dátum szűrés<br /> <input type="date" name="datemin" id="datemin" value="' . $mindate . '">-tól <input type="date" name="datemax" id="datemax" value="' . $maxdate . '">-ig';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<br /><br />
|
||||||
|
Eredmény szűrő:<br />
|
||||||
|
<select name="lista">
|
||||||
|
<option value="0" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "0") echo ' selected'; ?>><?php echo $V0; ?></option>
|
||||||
|
<option value="1" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "1") echo ' selected'; ?>><?php echo $V1; ?></option>
|
||||||
|
<option value="2" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "2") echo ' selected'; ?>><?php echo $V2; ?></option>
|
||||||
|
<option value="3" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "3") echo ' selected'; ?>><?php echo $V3; ?></option>
|
||||||
|
<option value="4" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "4") echo ' selected'; ?>><?php echo $V4; ?></option>
|
||||||
|
<option value="5" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "5") echo ' selected'; ?>><?php echo $V5; ?></option>
|
||||||
|
<option value="6" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "6") echo ' selected'; ?>><?php echo $V6; ?></option>
|
||||||
|
<option value="7" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "7") echo ' selected'; ?>><?php echo $V7; ?></option>
|
||||||
|
<option value="%" <?php if (isset($_SESSION['lista']) && $_SESSION['lista'] == "%") echo ' selected'; ?>><?php echo $V8; ?></option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select name="product">
|
||||||
|
<option value="0" <?php if (isset($_SESSION['product']) && $_SESSION['product'] == "0") echo ' selected'; ?>>Mind</option>
|
||||||
|
<option value="1" <?php if (isset($_SESSION['product']) && $_SESSION['product'] == "1") echo ' selected'; ?>>ARCHLine.XP</option>
|
||||||
|
<option value="2" <?php if (isset($_SESSION['product']) && $_SESSION['product'] == "2") echo ' selected'; ?>>LIVE</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select name="prod">
|
||||||
|
<option value="" <?php if (isset($_SESSION['prod']) && $_SESSION['prod'] == "") echo ' selected'; ?>>Mind</option>
|
||||||
|
<option value="AL" <?php if (isset($_SESSION['prod']) && $_SESSION['prod'] == "AL") echo ' selected'; ?>>ARCHLine.XP</option>
|
||||||
|
<option value="Render" <?php if (isset($_SESSION['prod']) && $_SESSION['prod'] == "Render") echo ' selected'; ?>>Render</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
<input type="submit" value="Szűrés">
|
||||||
|
<br /><br />
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$bind = '';
|
||||||
|
|
||||||
|
$query = "SELECT * FROM `www_archline_hu`.`crash` WHERE 1 ";
|
||||||
|
$feltetel = array();
|
||||||
|
|
||||||
|
if (isset($_POST['datemin'])) {
|
||||||
|
array_push($feltetel, $_POST['datemin']);
|
||||||
|
$query .= "AND left(datum, 10) >= ? ";
|
||||||
|
$bind .= 's';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($_POST['datemax'])) {
|
||||||
|
array_push($feltetel, $_POST['datemax']);
|
||||||
|
$query .= "AND left(datum, 10) <= ? ";
|
||||||
|
$bind .= 's';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($_POST['lista']) && $_POST['lista'] != "%") {
|
||||||
|
array_push($feltetel, $_POST['lista']);
|
||||||
|
$query .= "AND eredmeny = ? ";
|
||||||
|
$bind .= 'i';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($_POST['prod']) && $_POST['prod'] != "") {
|
||||||
|
array_push($feltetel, $_POST['prod']);
|
||||||
|
$query .= "AND prod = ? ";
|
||||||
|
$bind .= 's';
|
||||||
|
}
|
||||||
|
|
||||||
|
$query .= "ORDER BY id DESC LIMIT 500;";
|
||||||
|
|
||||||
|
array_unshift($feltetel, $bind);
|
||||||
|
|
||||||
|
Database::getInstance()->query($query, $feltetel);
|
||||||
|
$results = Database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
print "<form method='post' action='' onsubmit='textChange()'>";
|
||||||
|
print "<table border = 1>";
|
||||||
|
print "<tr>";
|
||||||
|
print "<th>Email</th>";
|
||||||
|
print "<th>Üzenet</th>";
|
||||||
|
print "<th>Dátum</th>";
|
||||||
|
print "<th>Dmp fájl</th>";
|
||||||
|
print "<th>Info fájl</th>";
|
||||||
|
print "<th>Crash fájl</th>";
|
||||||
|
print "<th>Megjegyzés</th>";
|
||||||
|
print "<th>Eredmény</th>";
|
||||||
|
print "</tr>";
|
||||||
|
|
||||||
|
foreach ($results as $result) {
|
||||||
|
$r = (object)$result;
|
||||||
|
|
||||||
|
$filepathFtp = "/home/vendeg/crash/";
|
||||||
|
$filepathFtp .= $r->guid;
|
||||||
|
$filepathFtp .= ".DMP";
|
||||||
|
|
||||||
|
$filepathWebdav = "../webdav/crash/";
|
||||||
|
$filepathWebdav .= $r->guid;
|
||||||
|
$filepathWebdav .= ".DMP";
|
||||||
|
|
||||||
|
$crashFile = "../webdav/crash/" . $r->guid . ".crh";
|
||||||
|
|
||||||
|
if (!file_exists($filepathFtp) && !file_exists($filepathWebdav) && !file_exists($crashFile))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
print "<tr class='tr" . $r->eredmeny . "'>";
|
||||||
|
print "<td>";
|
||||||
|
print $r->email;
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "<td style='width:300px'>";
|
||||||
|
print $r->info;
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "<td>";
|
||||||
|
//print substr($r->datum,0,10);
|
||||||
|
print $r->datum;
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "<td>";
|
||||||
|
|
||||||
|
if (file_exists($filepathFtp) || file_exists($filepathWebdav)) {
|
||||||
|
echo '<a href="https://archline.hu/crashadmin/' . $r->guid . '.DMP' . '">' . $r->guid . '</a>';
|
||||||
|
}
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "<td>";
|
||||||
|
|
||||||
|
$infoPath = '/home/vendeg/crash/' . $r->guid . '.TXT';
|
||||||
|
$infoPathWebdav = '../webdav/crash/' . $r->guid . '.TXT';
|
||||||
|
$logPath = '/home/vendeg/crash/' . $r->guid . '.LOG';
|
||||||
|
$logPathWebdav = '../webdav/crash/' . $r->guid . '.LOG';
|
||||||
|
$crashPath = '../webdav/crash/' . $r->guid . '.crh';
|
||||||
|
$logExtension = '.LOG';
|
||||||
|
$infoExtension = '.TXT';
|
||||||
|
$crashExtension = '.crh';
|
||||||
|
if (!file_exists($infoPath) && !file_exists($infoPathWebdav)) {
|
||||||
|
$infoPath = '/home/vendeg/crash/' . $r->guid . '.XML';
|
||||||
|
$infoExtension = '.XML';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (file_exists($infoPath) || file_exists($infoPathWebdav)) {
|
||||||
|
echo '<a href="https://archline.hu/crashadmin/' . $r->guid . $infoExtension . '">Info</a>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (file_exists($logPath) || file_exists($logPathWebdav)) {
|
||||||
|
echo ' <a href="https://archline.hu/crashadmin/' . $r->guid . $logExtension . '">Log</a>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (file_exists($infoPath)) {
|
||||||
|
$file = '/home/vendeg/crash/' . $r->guid . '.TXT';
|
||||||
|
if (!file_exists($file))
|
||||||
|
$file = $infoPathWebdav;
|
||||||
|
|
||||||
|
$searchfor = 'developer';
|
||||||
|
$contents = file_get_contents($file);
|
||||||
|
$pattern = preg_quote($searchfor, '/');
|
||||||
|
$pattern = "/^.*$pattern.*\$/m";
|
||||||
|
if (preg_match_all($pattern, $contents, $matches))
|
||||||
|
echo "developer";
|
||||||
|
|
||||||
|
$searchfor = 'Product: render';
|
||||||
|
$contents = file_get_contents($file);
|
||||||
|
$pattern = preg_quote($searchfor, '/');
|
||||||
|
$pattern = "/^.*$pattern.*\$/m";
|
||||||
|
if (preg_match_all($pattern, $contents, $matches)) {
|
||||||
|
echo "render";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "<td>";
|
||||||
|
if (file_exists($crashPath)) {
|
||||||
|
echo ' <a href="https://partners.staging.cadline.hu/softwarestatistic/crashReport/' . $r->guid . '" target="_blank">Crash</a>';
|
||||||
|
}
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "<td>";
|
||||||
|
echo "<textarea rows='2' cols='60' class='ta" . $r->eredmeny . "' id='" . $r->id . "' onClick='valtoztat(this.id)'>" . $r->komment . "</textarea>";
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "<td>";
|
||||||
|
switch ($r->eredmeny) {
|
||||||
|
case '0':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0" selected>' . $V0 . '</option>
|
||||||
|
<option value="1">' . $V1 . '</option>
|
||||||
|
<option value="2">' . $V2 . '</option>
|
||||||
|
<option value="3">' . $V3 . '</option>
|
||||||
|
<option value="4">' . $V4 . '</option>
|
||||||
|
<option value="5">' . $V5 . '</option>
|
||||||
|
<option value="6">' . $V6 . '</option>
|
||||||
|
<option value="7">' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case '1':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0">' . $V0 . '</option>
|
||||||
|
<option value="1" selected>' . $V1 . '</option>
|
||||||
|
<option value="2">' . $V2 . '</option>
|
||||||
|
<option value="3">' . $V3 . '</option>
|
||||||
|
<option value="4">' . $V4 . '</option>
|
||||||
|
<option value="5">' . $V5 . '</option>
|
||||||
|
<option value="6">' . $V6 . '</option>
|
||||||
|
<option value="7">' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case '2':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0">' . $V0 . '</option>
|
||||||
|
<option value="1">' . $V1 . '</option>
|
||||||
|
<option value="2" selected>' . $V2 . '</option>
|
||||||
|
<option value="3">' . $V3 . '</option>
|
||||||
|
<option value="4">' . $V4 . '</option>
|
||||||
|
<option value="5">' . $V5 . '</option>
|
||||||
|
<option value="6">' . $V6 . '</option>
|
||||||
|
<option value="7">' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case '3':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0">' . $V0 . '</option>
|
||||||
|
<option value="1">' . $V1 . '</option>
|
||||||
|
<option value="2">' . $V2 . '</option>
|
||||||
|
<option value="3" selected>' . $V3 . '</option>
|
||||||
|
<option value="4">' . $V4 . '</option>
|
||||||
|
<option value="5">' . $V5 . '</option>
|
||||||
|
<option value="6">' . $V6 . '</option>
|
||||||
|
<option value="7">' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
case '4':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0">' . $V0 . '</option>
|
||||||
|
<option value="1">' . $V1 . '</option>
|
||||||
|
<option value="2">' . $V2 . '</option>
|
||||||
|
<option value="3">' . $V3 . '</option>
|
||||||
|
<option value="4" selected>' . $V4 . '</option>
|
||||||
|
<option value="5">' . $V5 . '</option>
|
||||||
|
<option value="6">' . $V6 . '</option>
|
||||||
|
<option value="7">' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
case '5':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0">' . $V0 . '</option>
|
||||||
|
<option value="1">' . $V1 . '</option>
|
||||||
|
<option value="2">' . $V2 . '</option>
|
||||||
|
<option value="3">' . $V3 . '</option>
|
||||||
|
<option value="4">' . $V4 . '</option>
|
||||||
|
<option value="5" selected>' . $V5 . '</option>
|
||||||
|
<option value="6">' . $V6 . '</option>
|
||||||
|
<option value="7">' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
case '6':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0">' . $V0 . '</option>
|
||||||
|
<option value="1">' . $V1 . '</option>
|
||||||
|
<option value="2">' . $V2 . '</option>
|
||||||
|
<option value="3">' . $V3 . '</option>
|
||||||
|
<option value="4">' . $V4 . '</option>
|
||||||
|
<option value="5">' . $V5 . '</option>
|
||||||
|
<option value="6" selected>' . $V6 . '</option>
|
||||||
|
<option value="7">' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
case '7':
|
||||||
|
echo '
|
||||||
|
<select id="lista' . $r->id . '" onchange="cbboxid(this.id)">
|
||||||
|
<option value="0">' . $V0 . '</option>
|
||||||
|
<option value="1">' . $V1 . '</option>
|
||||||
|
<option value="2">' . $V2 . '</option>
|
||||||
|
<option value="3">' . $V3 . '</option>
|
||||||
|
<option value="4">' . $V4 . '</option>
|
||||||
|
<option value="5">' . $V5 . '</option>
|
||||||
|
<option value="6">' . $V6 . '</option>
|
||||||
|
<option value="7" selected>' . $V7 . '</option>
|
||||||
|
</select>
|
||||||
|
';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
print "</td>";
|
||||||
|
|
||||||
|
print "</tr>";
|
||||||
|
}
|
||||||
|
print '<input type="hidden" id="listaid" name="listaid" value="">';
|
||||||
|
print '<input type="hidden" id="CbBoxValue" name="CbBoxValue" value="">';
|
||||||
|
print '<input type="hidden" id="modId" name="modId" value="">';
|
||||||
|
print '<input type="hidden" id="modText" name="modText" value="">';
|
||||||
|
|
||||||
|
print '<input type="submit" value="Mentés" id="submit" name="submit">';
|
||||||
|
print "</table>";
|
||||||
|
?>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6951",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/crashadmin.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/crashadmin.php)",
|
||||||
|
"original_sha256": "3d6cdb752014286e0ff7ffcefb5a1d5c01deb7292145b411ea0ef5709fcc0037",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1772180562,
|
||||||
|
"size": 16838,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/crashadmin.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
21
var/www/hosting/archline.hu/www/maintenance/cron_check.php
Normal file
21
var/www/hosting/archline.hu/www/maintenance/cron_check.php
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('Database')) require_once("common_cadline_libraries/crm_database.class.php");
|
||||||
|
|
||||||
|
$status = 'Success';
|
||||||
|
$msg = '';
|
||||||
|
|
||||||
|
Database::getInstance()->query("SELECT * FROM cl_hlusers.cron_check");
|
||||||
|
$cronFunctions = Database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($cronFunctions as $function) {
|
||||||
|
$timeStamp = time() - $function['modified'];
|
||||||
|
|
||||||
|
if ($timeStamp > 180)
|
||||||
|
$status = 'Failed';
|
||||||
|
|
||||||
|
$msg .= 'Function: ' . $function['function'] . '<br>';
|
||||||
|
$msg .= 'Last run: ' . date('Y-m-d H:i:s', $function['modified']) . '<br><br>';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo 'Cron status: ' . $status . '<br><br>';
|
||||||
|
echo $msg;
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7022",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/cron_check.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/cron_check.php)",
|
||||||
|
"original_sha256": "523cbfeb6dd2fa0756622a963ca73680404e0c41f5e7846e989129ea150d68fb",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1689589294,
|
||||||
|
"size": 632,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/cron_check.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,64 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('Database')) require_once("common_cadline_libraries/crm_database.class.php");
|
||||||
|
|
||||||
|
try {
|
||||||
|
$url = 'https://www.archline.hu/maintenance/check_server.php';
|
||||||
|
|
||||||
|
$options = array(
|
||||||
|
CURLOPT_RETURNTRANSFER => true, // return web page
|
||||||
|
CURLOPT_HEADER => false, // don't return headers
|
||||||
|
CURLOPT_FOLLOWLOCATION => true, // follow redirects
|
||||||
|
CURLOPT_MAXREDIRS => 10, // stop after 10 redirects
|
||||||
|
CURLOPT_ENCODING => "", // handle compressed
|
||||||
|
CURLOPT_USERAGENT => "test", // name of client
|
||||||
|
CURLOPT_AUTOREFERER => true, // set referrer on redirect
|
||||||
|
CURLOPT_CONNECTTIMEOUT => 120, // time-out on connect
|
||||||
|
CURLOPT_TIMEOUT => 120, // time-out on response
|
||||||
|
);
|
||||||
|
|
||||||
|
$ch = curl_init($url);
|
||||||
|
curl_setopt_array($ch, $options);
|
||||||
|
|
||||||
|
$content = curl_exec($ch);
|
||||||
|
|
||||||
|
curl_close($ch);
|
||||||
|
|
||||||
|
$result = $content == 380335 ? 'Success' : 'Failed';
|
||||||
|
} catch (\Exception $e) {
|
||||||
|
$result = 'Failed';
|
||||||
|
}
|
||||||
|
|
||||||
|
$filename = $_SERVER['DOCUMENT_ROOT'] . "/serverAlive.txt";
|
||||||
|
$closed = file_put_contents($filename, $result);
|
||||||
|
|
||||||
|
$i = 0;
|
||||||
|
|
||||||
|
while (!$closed && $i < 10) {
|
||||||
|
$closed = file_put_contents($filename, $result);
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
if ($_SERVER['SERVER_NAME'] == 'secondary.cadline.hu') {
|
||||||
|
$txtResult = $result == 'Success' ? 'Inactive' : 'Active';
|
||||||
|
|
||||||
|
$filename = $_SERVER['DOCUMENT_ROOT'] . "/activateServer.txt";
|
||||||
|
$closed = file_put_contents($filename, $txtResult);
|
||||||
|
|
||||||
|
$i = 0;
|
||||||
|
|
||||||
|
while (!$closed && $i < 10) {
|
||||||
|
$closed = file_put_contents($filename, $txtResult);
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (\Throwable $th) {
|
||||||
|
//throw $th;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
// Update-eli a sync_crm.cron_check tablat, hogy megnezzuk, lefut-e a cron. A check_main_server_cron.php file-ba pedig ellenorizzuk
|
||||||
|
Database::getInstance()->query("UPDATE sync_crm.cron_check SET modified = ? WHERE id = ?", array('ii', time(), 1));
|
||||||
|
} catch (\Throwable $th) {
|
||||||
|
//throw $th;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6997",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/cron_check_server.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/cron_check_server.php)",
|
||||||
|
"original_sha256": "aa2aeba2381e1caaf51d6c3a3dbe84815c600d11d4c94392d1e794249cc0f650",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1761045135,
|
||||||
|
"size": 2073,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/cron_check_server.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
507
var/www/hosting/archline.hu/www/maintenance/cron_one_minute.php
Normal file
507
var/www/hosting/archline.hu/www/maintenance/cron_one_minute.php
Normal file
@ -0,0 +1,507 @@
|
|||||||
|
<?php
|
||||||
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
if (!class_exists('Tester')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
||||||
|
if (!class_exists('Event')) require_once("common_cadline_libraries/crm_users.class.php");
|
||||||
|
require_once('libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
require_once('config.mail.php');
|
||||||
|
|
||||||
|
/* EXPO REMINDER BEGIN */
|
||||||
|
/*$date = new DateTime();
|
||||||
|
$fullDate = $date->format('Y-m-d');
|
||||||
|
$minutes = $date->format('i');
|
||||||
|
|
||||||
|
if (($fullDate == '2022-11-22' || $fullDate == '2022-11-23') && ($minutes == '00' || $minutes == '30')) {
|
||||||
|
$eventDatas = new stdClass();
|
||||||
|
$eventDatas->subject = 'Join our event, YouTube link has arrived!';
|
||||||
|
$eventDatas->date = $date->format('Y-m-d H:i');
|
||||||
|
|
||||||
|
$event = new Event($eventDatas);
|
||||||
|
$sendEmail = $event->sendEventReminder($mailconfig);
|
||||||
|
}*/
|
||||||
|
/* EXPO REMINDER END */
|
||||||
|
|
||||||
|
/*if (date('Y-m-d H:i') == '2022-06-29 08:00') {
|
||||||
|
require_once('libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
require_once('config.mail.php');
|
||||||
|
|
||||||
|
$query = "SELECT em.email AS user_email, jml_u.name AS user_name
|
||||||
|
FROM www_archline_hu.alworkshops_application app
|
||||||
|
LEFT JOIN www_archline_hu.jml_users jml_u ON jml_u.id = app.user_id
|
||||||
|
LEFT JOIN cl_hlusers.u_emails em ON em.nUserID = jml_u.nUserID
|
||||||
|
WHERE app.course_id = 1394 AND em.newsletter = 1
|
||||||
|
GROUP BY jml_u.nUserID";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$res = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($res as $value) {
|
||||||
|
$subject = 'Emlékeztető: ARCHLine.XP Középfokú tanfolyam';
|
||||||
|
$body = '<b>Kedves ' . $value['user_name'] . '</b>, <br/><br/>
|
||||||
|
|
||||||
|
Köszönjük a jelentkezésedet a tanfolyamra. A következő adásunk témája: Tetőtér beépítése <br/><br/>
|
||||||
|
|
||||||
|
<b>Mikor?</b> <br/>
|
||||||
|
2022. Június 29. 10:00 <br/>
|
||||||
|
<a href="https://youtu.be/bzOYWVo7eYA">Itt nézheted</a> <br/><br/>
|
||||||
|
|
||||||
|
<b>Mire lesz szükséged:</b> <br/>
|
||||||
|
Győződj meg arról, hogy az eszközön, amin nézni fogod, van hang, továbbá egy YouTube vagy Gmail fiók is kelleni fog, ha szeretnél az adás alatt kommentálni, vagy kérdezni.<br/><br/>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<b>Fontos:</b> <br/>
|
||||||
|
Az adást fel fogjuk venni, és később is elérhető lesz a YouTube csatornánkon. Azzal, hogy részt veszel az Élő adáson, elfogadod, hogy a hozzászólásaid láthatóak lesznek a felvett anyagon. <br/><br/>
|
||||||
|
|
||||||
|
Ha bármi kérdésed van, fordjulj hozzánk az <a href="mailto:info@cadline.hu">info@cadline.hu</a> email címen <br/><br/>
|
||||||
|
|
||||||
|
Találkozunk az élő adásban! <br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
Üdvözlettel,
|
||||||
|
|
||||||
|
A CADLine csapata';
|
||||||
|
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
|
||||||
|
$mail->From = 'info@cadline.hu';
|
||||||
|
$mail->FromName = 'info@cadline.hu';
|
||||||
|
$mail->AddAddress($value['user_email'], $value['user_name']);
|
||||||
|
|
||||||
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
$mail->Subject = $subject;
|
||||||
|
$mail->Body = $body;
|
||||||
|
$mail->Send();
|
||||||
|
}
|
||||||
|
|
||||||
|
die();
|
||||||
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
/*if (date('Y-m-d H:i') == '2022-05-18 08:01') {
|
||||||
|
// define('_JEXEC', 1);
|
||||||
|
// define('JPATH_BASE', '..');
|
||||||
|
|
||||||
|
require_once('libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
require_once('config.mail.php');
|
||||||
|
|
||||||
|
$query = "SELECT * FROM www_archline_hu.alworkshops_application
|
||||||
|
WHERE course_id = 1419 GROUP BY email";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$res = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($res as $value) {
|
||||||
|
$subject = 'Emlékeztető: ARCHLine.XP LIVE 2022 Újdonságok';
|
||||||
|
$body = '<b>Kedves ' . $value['name'] . '</b>, <br/><br/>
|
||||||
|
|
||||||
|
Köszönjük a jelentkezésedet a webinárra. A következő adásunk témája: ARCHLine.XP LIVE 2022 Újdonságok 2.rész <br/><br/>
|
||||||
|
|
||||||
|
<b>Mikor?</b> <br/>
|
||||||
|
2022. Május 18. 16:30 <br/>
|
||||||
|
<a href="https://youtu.be/k4HymyOkDZs">Itt nézheted</a> <br/><br/>
|
||||||
|
|
||||||
|
<b>Mire lesz szükséged:</b> <br/>
|
||||||
|
Győződj meg arról, hogy az eszközön, amin nézni fogod, van hang, továbbá egy YouTube vagy Gmail fiók is kelleni fog, ha szeretnél az adás alatt kommentálni, vagy kérdezni.<br/><br/>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<b>Fontos:</b> <br/>
|
||||||
|
Az adást fel fogjuk venni, és később is elérhető lesz a YouTube csatornánkon. Azzal, hogy részt veszel az Élő adáson, elfogadod, hogy a hozzászólásaid láthatóak lesznek a felvett anyagon. <br/><br/>
|
||||||
|
|
||||||
|
Ha bármi kérdésed van, fordjulj hozzánk az <a href="mailto:info@cadline.hu">info@cadline.hu</a> email címen <br/><br/>
|
||||||
|
|
||||||
|
Találkozunk az élő adásban! <br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
Üdvözlettel,
|
||||||
|
|
||||||
|
A CADLine csapata';
|
||||||
|
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
|
||||||
|
$mail->From = 'info@cadline.hu';
|
||||||
|
$mail->FromName = 'info@cadline.hu';
|
||||||
|
$mail->AddAddress($value['email'], $value['name']);
|
||||||
|
|
||||||
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
$mail->Subject = $subject;
|
||||||
|
$mail->Body = $body;
|
||||||
|
$mail->Send();
|
||||||
|
}
|
||||||
|
|
||||||
|
die();
|
||||||
|
}*/
|
||||||
|
|
||||||
|
/*if (date('Y-m-d H:i') == '2022-05-18 08:02') {
|
||||||
|
// define('_JEXEC', 1);
|
||||||
|
// define('JPATH_BASE', '..');
|
||||||
|
|
||||||
|
require_once('libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
require_once('config.mail.php');
|
||||||
|
|
||||||
|
$query = "SELECT * FROM www_archline_hu.alworkshops_application
|
||||||
|
WHERE course_id = 1420 GROUP BY email";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$res = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($res as $value) {
|
||||||
|
$subject = 'Reminder: ARCHLine.XP LIVE 2022 New Features';
|
||||||
|
$body = "<b>Dear " . $value['name'] . "</b>, <br/><br/>
|
||||||
|
|
||||||
|
Thank you for signing up to our ARCHLine.XP Webinars <br/><br/>
|
||||||
|
|
||||||
|
<b>The next show is on</b> <br/>
|
||||||
|
2022. May 18, 3PM CET <br/>
|
||||||
|
<a href='https://youtu.be/XiymR-PW-lM'>Watch it here</a> <br/><br/>
|
||||||
|
|
||||||
|
<b>What you'll need:</b> <br/>
|
||||||
|
A device with sound, so that you can hear us. Also, if you want to comment, you will need a Google or YouTube account. You can watch the shows without these accounts, too, but then you won't be able to comment.<br/><br/>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<b>Important:</b> <br/>
|
||||||
|
The webinar will be recorded and it will later be added to our archive shows. By joining our webinars, you agree that your contribution (comments) will be visible on the recording.<br/><br/>
|
||||||
|
|
||||||
|
Should you have any questions, reach out to us on the <a href='mailto:info@archlinexp.com'>info@archlinexp.com</a> email address <br/><br/>
|
||||||
|
|
||||||
|
See you at the show! <br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
Best wishes,
|
||||||
|
The CadLine Team";
|
||||||
|
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
|
||||||
|
$mail->From = 'info@cadline.hu';
|
||||||
|
$mail->FromName = 'info@cadline.hu';
|
||||||
|
$mail->AddAddress($value['email'], $value['name']);
|
||||||
|
|
||||||
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
$mail->Subject = $subject;
|
||||||
|
$mail->Body = $body;
|
||||||
|
$mail->Send();
|
||||||
|
}
|
||||||
|
|
||||||
|
die();
|
||||||
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --------------------------------- Masnapi reminder --------------------------------- */
|
||||||
|
|
||||||
|
/*if (date('Y-m-d H:i') == '2021-11-11 10:00') {
|
||||||
|
// define('_JEXEC', 1);
|
||||||
|
// define('JPATH_BASE', '..');
|
||||||
|
|
||||||
|
require_once('/maintenance/libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
require_once('/maintenance/config.mail.php');
|
||||||
|
|
||||||
|
$query = "SELECT * FROM www_archline_hu.alworkshops_application
|
||||||
|
WHERE course_id = 1289 OR course_id = 1320 GROUP BY email";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$res = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($res as $value) {
|
||||||
|
$subject = 'Nézd meg újra: Életteli látvány és animáció a LIVE-ban';
|
||||||
|
$body = "Helló!<br/>
|
||||||
|
Láttad a tegnapi webináriumot a Életteli látvány és animáció a LIVE-ban címmel? <br/>
|
||||||
|
Ha igen, reméljük, hogy tetszett! Több időre van szükséged a gyakorláshoz? Nézd meg újra itt: <a href='https://youtu.be/HblUO3URDBk'>https://youtu.be/HblUO3URDBk</a> <br/><br/>
|
||||||
|
|
||||||
|
Ha nem láttad, és még mindig érdekel, akkor még itt nézheted meg: <a href='https://youtu.be/HblUO3URDBk'>https://youtu.be/HblUO3URDBk</a> <br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
Üdvözlettel, <br/>
|
||||||
|
A CADLine csapata";
|
||||||
|
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
|
||||||
|
$mail->From = 'info@cadline.hu';
|
||||||
|
$mail->FromName = 'info@cadline.hu';
|
||||||
|
$mail->AddAddress($value['email'], $value['name']);
|
||||||
|
|
||||||
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
$mail->Subject = $subject;
|
||||||
|
$mail->Body = $body;
|
||||||
|
$mail->Send();
|
||||||
|
}
|
||||||
|
|
||||||
|
die();
|
||||||
|
}*/
|
||||||
|
|
||||||
|
/*if (date('Y-m-d H:i') == '2021-11-11 10:01') {
|
||||||
|
// define('_JEXEC', 1);
|
||||||
|
// define('JPATH_BASE', '..');
|
||||||
|
|
||||||
|
require_once('/maintenance/libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
require_once('/maintenance/config.mail.php');
|
||||||
|
|
||||||
|
$query = "SELECT * FROM www_archline_hu.alworkshops_application
|
||||||
|
WHERE course_id = 1288 OR course_id = 1342 GROUP BY email";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$res = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($res as $value) {
|
||||||
|
$subject = 'Watch it again: Breathtaking visuals and animations in LIVE';
|
||||||
|
$body = "Hello! <br/>
|
||||||
|
Did you catch the Webinar yesterday about Breathtaking visuals and animations in LIVE? <br/>
|
||||||
|
If you did, we hope you enjoyed it! Need more time to practice? Watch it again here: <a href='https://youtu.be/ZVUHcWmFfpA'>https://youtu.be/ZVUHcWmFfpA</a> <br/><br/>
|
||||||
|
|
||||||
|
If you missed the show, you can watch it here: <a href='https://youtu.be/ZVUHcWmFfpA'>https://youtu.be/ZVUHcWmFfpA</a> <br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
Best wishes, <br/>
|
||||||
|
The CadLine Team";
|
||||||
|
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
|
||||||
|
$mail->From = 'info@cadline.hu';
|
||||||
|
$mail->FromName = 'info@cadline.hu';
|
||||||
|
$mail->AddAddress($value['email'], $value['name']);
|
||||||
|
|
||||||
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
$mail->Subject = $subject;
|
||||||
|
$mail->Body = $body;
|
||||||
|
$mail->Send();
|
||||||
|
}
|
||||||
|
|
||||||
|
die();
|
||||||
|
}*/
|
||||||
|
|
||||||
|
/*if ($_SERVER['REMOTE_ADDR'] == '82.131.186.171') {
|
||||||
|
require_once("../common_cadline_libraries/crm_users.class.php");
|
||||||
|
require_once('../maintenance/libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
|
||||||
|
$emailTemplate = crm_users::getSevenDayEmailTemplate('mate.nagy@cadline.hu');
|
||||||
|
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
|
||||||
|
$mail->From = 'info@archlinexp.com';
|
||||||
|
$mail->FromName = 'www.archlinexp.com';
|
||||||
|
$mail->AddAddress('mate.nagy@cadline.hu');
|
||||||
|
|
||||||
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
$mail->Subject = $emailTemplate['subject'];
|
||||||
|
$mail->Body = $emailTemplate['body'];
|
||||||
|
$mail->Send();
|
||||||
|
die();
|
||||||
|
}*/
|
||||||
|
|
||||||
|
if (date('H:i') == '10:00') {
|
||||||
|
require_once("../common_cadline_libraries/crm_users.class.php");
|
||||||
|
require_once('../maintenance/libraries/phpmailer/PHPMailerAutoload.php');
|
||||||
|
|
||||||
|
$date = date('Y-m-d');
|
||||||
|
$dateBefore = new DateTime();
|
||||||
|
$dateBefore->modify('-30 day');
|
||||||
|
$monthDate = $dateBefore->format('Y-m-d');
|
||||||
|
|
||||||
|
$query = "SELECT * FROM cl_hlusers.u_emails
|
||||||
|
WHERE newsletter = 1 AND trial_download_date != '' AND trial_download_date >= '{$monthDate}'";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$res = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($res as $value) {
|
||||||
|
$needEmail = false;
|
||||||
|
|
||||||
|
$day1 = new DateTime($value['trial_download_date']);
|
||||||
|
$day1->modify('+1 day');
|
||||||
|
|
||||||
|
$day3 = new DateTime($value['trial_download_date']);
|
||||||
|
$day3->modify('+3 day');
|
||||||
|
|
||||||
|
$day7 = new DateTime($value['trial_download_date']);
|
||||||
|
$day7->modify('+7 day');
|
||||||
|
|
||||||
|
$day14 = new DateTime($value['trial_download_date']);
|
||||||
|
$day14->modify('+14 day');
|
||||||
|
|
||||||
|
$day21 = new DateTime($value['trial_download_date']);
|
||||||
|
$day21->modify('+21 day');
|
||||||
|
|
||||||
|
$day24 = new DateTime($value['trial_download_date']);
|
||||||
|
$day24->modify('+24 day');
|
||||||
|
|
||||||
|
$day30 = new DateTime($value['trial_download_date']);
|
||||||
|
$day30->modify('+30 day');
|
||||||
|
|
||||||
|
if ($day1->format('Y-m-d') == $date) {
|
||||||
|
$emailTemplate = crm_users::getFirstDayEmailTemplate($value['email']);
|
||||||
|
$needEmail = true;
|
||||||
|
} elseif ($day3->format('Y-m-d') == $date) {
|
||||||
|
$emailTemplate = crm_users::getThreeDayEmailTemplate($value['email']);
|
||||||
|
$needEmail = true;
|
||||||
|
} elseif ($day7->format('Y-m-d') == $date) {
|
||||||
|
$emailTemplate = crm_users::getSevenDayEmailTemplate($value['email']);
|
||||||
|
$needEmail = true;
|
||||||
|
} elseif ($day14->format('Y-m-d') == $date) {
|
||||||
|
$emailTemplate = crm_users::getFourteenDayEmailTemplate($value['email']);
|
||||||
|
//$needEmail = true;
|
||||||
|
} elseif ($day21->format('Y-m-d') == $date) {
|
||||||
|
$emailTemplate = crm_users::getTwentyoneDayEmailTemplate($value['email']);
|
||||||
|
//$needEmail = true;
|
||||||
|
} elseif ($day24->format('Y-m-d') == $date) {
|
||||||
|
$emailTemplate = crm_users::getTwentyfourDayEmailTemplate($value['email']);
|
||||||
|
//$needEmail = true;
|
||||||
|
} elseif ($day30->format('Y-m-d') == $date) {
|
||||||
|
$emailTemplate = crm_users::getLastEmailTemplate($value['email']);
|
||||||
|
//$needEmail = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($needEmail) {
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
$mail->CharSet = 'UTF-8';
|
||||||
|
$mail->Host = $mailconfig['Host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
|
$mail->Username = $mailconfig['Username'];
|
||||||
|
$mail->Password = $mailconfig['Password'];
|
||||||
|
|
||||||
|
$mail->From = 'info@archlinexp.com';
|
||||||
|
$mail->FromName = 'www.archlinexp.com';
|
||||||
|
$mail->AddAddress($value['email'], $value['email']);
|
||||||
|
|
||||||
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
$mail->Subject = $emailTemplate['subject'];
|
||||||
|
$mail->Body = $emailTemplate['body'];
|
||||||
|
$mail->Send();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$action = Tester::getCronTime();
|
||||||
|
$timer_result = '';
|
||||||
|
$error_result = '';
|
||||||
|
|
||||||
|
switch ($action) {
|
||||||
|
case Time::sDay:
|
||||||
|
if (date('Y-m-d') == '2023-06-01') {
|
||||||
|
/* NÉMET WEBOLDAL BEGIN */
|
||||||
|
$query = "UPDATE www_archline_hu.dtch_menu SET link = 'index.php?option=com_sppagebuilder&view=page&id=46' WHERE id = 131";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
|
||||||
|
$query = "UPDATE www_archline_hu.dtch_menu SET link = 'index.php?option=com_sppagebuilder&view=page&id=47' WHERE id = 283";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
/* NÉMET WEBOLDAL END */
|
||||||
|
|
||||||
|
/* ANGOL WEBOLDAL BEGIN */
|
||||||
|
$query = "UPDATE www_archline_hu.eng_sh404sef_urls SET rank = 1 WHERE id = 87489";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$query = "UPDATE www_archline_hu.eng_sh404sef_urls SET rank = 0 WHERE id = 80561";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
|
||||||
|
$query = "UPDATE www_archline_hu.eng_sh404sef_urls SET rank = 1 WHERE id = 86094";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$query = "UPDATE www_archline_hu.eng_sh404sef_urls SET rank = 0 WHERE id = 79698";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
/* ANGOL WEBOLDAL END */
|
||||||
|
|
||||||
|
/*$query = "UPDATE cl_hlusers.o_products SET ackio_date = '2023-05-31' WHERE lang = 0 AND id >= 1288;";
|
||||||
|
crm_database::getInstance()->query($query);*/
|
||||||
|
}
|
||||||
|
|
||||||
|
$date = new DateTime();
|
||||||
|
$date->modify("-14 day");
|
||||||
|
$day = $date->format("Y-m-d");
|
||||||
|
|
||||||
|
$deleteFloatingLog = "DELETE FROM local_crm.floating_log WHERE substr(inserted, 1, 10) <= '{$day}'";
|
||||||
|
Database::getInstance()->query($deleteFloatingLog);
|
||||||
|
|
||||||
|
Tester::syncSwitchTable();
|
||||||
|
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::oneDay();
|
||||||
|
$timer_result .= 'One day: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
|
||||||
|
case Time::sTwelveHour:
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::twelveHour();
|
||||||
|
$timer_result .= 'Twelve hour: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
|
||||||
|
case Time::sSixHour:
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::sixHour();
|
||||||
|
$timer_result .= 'Six hour: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
|
||||||
|
case Time::sThreeHour:
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::threeHour();
|
||||||
|
$timer_result .= 'Three hour: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
|
||||||
|
case Time::sHour:
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::oneHour();
|
||||||
|
$timer_result .= 'One hour: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
|
||||||
|
case Time::sFifteenMin:
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::fifteenMinutes();
|
||||||
|
$timer_result .= 'Fifteen minutes: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
|
||||||
|
case Time::sFiveMin:
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::fiveMinutes();
|
||||||
|
$timer_result .= 'Five minutes: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
|
||||||
|
case Time::sMin:
|
||||||
|
$time_start = microtime(true);
|
||||||
|
$error_result .= Tester::oneMinute();
|
||||||
|
$timer_result .= 'One minute: ' . Tester::calculateElapsedTime($time_start) . '\n';
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($error_result != '') {
|
||||||
|
$message = str_replace('\n', '<br/>', $error_result);
|
||||||
|
$message .= str_replace('\n', '<br/>', $timer_result);
|
||||||
|
$headers = 'MIME-Version: 1.0' . "\r\n";
|
||||||
|
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
|
||||||
|
$headers .= 'Cc: bodnart@cadline.hu';
|
||||||
|
mail("mate.nagy@cadline.hu", "Auto CRM test", $message, $headers);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update-eli a cron_check tablat, hogy megnezzuk, lefut-e a cron. A cron_check.php file-ba pedig ellenorizzuk
|
||||||
|
Database::getInstance()->query("UPDATE cl_hlusers.cron_check SET modified = ? WHERE id = ?", array('ii', time(), 1));
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6958",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/cron_one_minute.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/cron_one_minute.php)",
|
||||||
|
"original_sha256": "9838569e743bd0d937dba4421ff9b276f46d348723992076f9d24b622b85945b",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1784305966,
|
||||||
|
"size": 20001,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/cron_one_minute.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
8296
var/www/hosting/archline.hu/www/maintenance/css/bootstrap.min.css
vendored
Normal file
8296
var/www/hosting/archline.hu/www/maintenance/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7038",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/css/bootstrap.min.css -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/css/bootstrap.min.css)",
|
||||||
|
"original_sha256": "0214196123e75689fd4862de813b21ba79df1b83062cd7b1d882b75a17ac5737",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 158360,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/css/bootstrap.min.css",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
390
var/www/hosting/archline.hu/www/maintenance/css/style.css
Normal file
390
var/www/hosting/archline.hu/www/maintenance/css/style.css
Normal file
@ -0,0 +1,390 @@
|
|||||||
|
/* font */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'LeagueGothicRegular';
|
||||||
|
src: url('font/League_Gothic-webfont.eot');
|
||||||
|
src: local('☺'), url('font/League_Gothic-webfont.woff') format('woff'), url('font/League_Gothic-webfont.ttf') format('truetype'), url('font/League_Gothic-webfont.svg#webfontpm5EArBj') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
|
||||||
|
v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
|
||||||
|
html5doctor.com/html-5-reset-stylesheet/
|
||||||
|
*/
|
||||||
|
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
div,
|
||||||
|
span,
|
||||||
|
object,
|
||||||
|
iframe,
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6,
|
||||||
|
p,
|
||||||
|
blockquote,
|
||||||
|
pre,
|
||||||
|
abbr,
|
||||||
|
address,
|
||||||
|
cite,
|
||||||
|
code,
|
||||||
|
del,
|
||||||
|
dfn,
|
||||||
|
em,
|
||||||
|
img,
|
||||||
|
ins,
|
||||||
|
kbd,
|
||||||
|
q,
|
||||||
|
samp,
|
||||||
|
small,
|
||||||
|
strong,
|
||||||
|
sub,
|
||||||
|
sup,
|
||||||
|
var,
|
||||||
|
b,
|
||||||
|
i,
|
||||||
|
dl,
|
||||||
|
dt,
|
||||||
|
dd,
|
||||||
|
ol,
|
||||||
|
ul,
|
||||||
|
li,
|
||||||
|
fieldset,
|
||||||
|
form,
|
||||||
|
label,
|
||||||
|
legend,
|
||||||
|
table,
|
||||||
|
caption,
|
||||||
|
tbody,
|
||||||
|
tfoot,
|
||||||
|
thead,
|
||||||
|
tr,
|
||||||
|
th,
|
||||||
|
td,
|
||||||
|
article,
|
||||||
|
aside,
|
||||||
|
canvas,
|
||||||
|
details,
|
||||||
|
figcaption,
|
||||||
|
figure,
|
||||||
|
footer,
|
||||||
|
header,
|
||||||
|
hgroup,
|
||||||
|
menu,
|
||||||
|
nav,
|
||||||
|
section,
|
||||||
|
summary,
|
||||||
|
time,
|
||||||
|
mark,
|
||||||
|
audio,
|
||||||
|
video {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
outline: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
vertical-align: baseline;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
article,
|
||||||
|
aside,
|
||||||
|
details,
|
||||||
|
figcaption,
|
||||||
|
figure,
|
||||||
|
footer,
|
||||||
|
header,
|
||||||
|
hgroup,
|
||||||
|
menu,
|
||||||
|
nav,
|
||||||
|
section {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote,
|
||||||
|
q {
|
||||||
|
quotes: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote:before,
|
||||||
|
blockquote:after,
|
||||||
|
q:before,
|
||||||
|
q:after {
|
||||||
|
content: '';
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
outline: 0;
|
||||||
|
vertical-align: baseline;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
ins {
|
||||||
|
background-color: #ff9;
|
||||||
|
color: #000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
mark {
|
||||||
|
background-color: #ff9;
|
||||||
|
color: #000;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
del {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr[title],
|
||||||
|
dfn[title] {
|
||||||
|
border-bottom: 1px dotted;
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* tables still need cellspacing="0" in the markup */
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
display: block;
|
||||||
|
height: 1px;
|
||||||
|
border: 0;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
margin: 1em 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
select {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* END RESET CSS */
|
||||||
|
|
||||||
|
/* Site styling */
|
||||||
|
html {
|
||||||
|
/* always force a scrollbar in non-IE */
|
||||||
|
overflow-y: scroll;
|
||||||
|
background-image: url('../images/main-red-bg.gif');
|
||||||
|
background-color: #461714;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0px 70px 10px;
|
||||||
|
font-family: arial;
|
||||||
|
font-size: 1em;
|
||||||
|
width: 820px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0px 0px 0px 20px;
|
||||||
|
padding: 20px 0px 0px 0px;
|
||||||
|
color: #a81213;
|
||||||
|
font-family: 'LeagueGothicRegular', arial, san-serif;
|
||||||
|
font-size: 4.5em;
|
||||||
|
font-weight: normal;
|
||||||
|
text-align: center;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-shadow: 1px 1px 2px #000000;
|
||||||
|
filter: dropshadow(color=#000000, offx=1, offy=1);
|
||||||
|
}
|
||||||
|
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
padding-top: 10px;
|
||||||
|
font-family: 'LeagueGothicRegular', arial, san-serif;
|
||||||
|
font-size: 2.25em;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #a81213;
|
||||||
|
text-shadow: 1px 1px 2px #000000;
|
||||||
|
filter: dropshadow(color=#000000, offx=1, offy=1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#content a {
|
||||||
|
color: #a81213;
|
||||||
|
text-shadow: 1px 1px 2px #000000;
|
||||||
|
filter: dropshadow(color=#000000, offx=1, offy=1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#content a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#release-history {
|
||||||
|
font-size: 0.7em;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#release-history p strong {
|
||||||
|
margin-right: 5px;
|
||||||
|
font-family: 'LeagueGothicRegular', arial, san-serif;
|
||||||
|
font-size: 1.6em;
|
||||||
|
font-weight: normal;
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 10px;
|
||||||
|
color: #f8f0db;
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.copy {
|
||||||
|
margin: 0px 0px 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
margin: 20px 0px 0px;
|
||||||
|
padding: 22px 40px;
|
||||||
|
background-color: #f8f0db;
|
||||||
|
-webkit-border-radius: 15px;
|
||||||
|
-moz-border-radius: 15px;
|
||||||
|
border-radius: 15px;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
/* css-3 */
|
||||||
|
white-space: -moz-pre-wrap;
|
||||||
|
/* Mozilla, since 1999 */
|
||||||
|
white-space: -pre-wrap;
|
||||||
|
/* Opera 4-6 */
|
||||||
|
white-space: -o-pre-wrap;
|
||||||
|
/* Opera 7 */
|
||||||
|
word-wrap: break-word;
|
||||||
|
/* Internet Explorer 5.5+ */
|
||||||
|
}
|
||||||
|
|
||||||
|
pre code span.red {
|
||||||
|
color: #a81213;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre code span.grey {
|
||||||
|
color: #7b7976;
|
||||||
|
}
|
||||||
|
|
||||||
|
dl {
|
||||||
|
/*margin: 10px 10px 10px 20px;*/
|
||||||
|
color: #f8f0db;
|
||||||
|
}
|
||||||
|
|
||||||
|
dt {
|
||||||
|
margin-top: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
dd {
|
||||||
|
margin: 5px 0px 10px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#content {
|
||||||
|
/*padding: 10px 5px 0px 0px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.content-box {
|
||||||
|
/*padding: 0px 0px 30px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider-top {
|
||||||
|
padding-top: 20px;
|
||||||
|
border-top: 1px solid #70342d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider-bottom {
|
||||||
|
padding-bottom: 30px;
|
||||||
|
border-bottom: 1px solid #1e0a09;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download {
|
||||||
|
margin: 20px 0px 30px 300px;
|
||||||
|
padding: 2px;
|
||||||
|
background-color: #f8f0db;
|
||||||
|
-webkit-border-radius: 15px;
|
||||||
|
-moz-border-radius: 15px;
|
||||||
|
border-radius: 15px;
|
||||||
|
display: block;
|
||||||
|
width: 216px;
|
||||||
|
height: 96px;
|
||||||
|
-webkit-box-shadow: 5px 5px 15px black;
|
||||||
|
-moz-box-shadow: 5px 5px 15px black;
|
||||||
|
box-shadow: 5px 5px 15px black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download a {
|
||||||
|
font-family: 'LeagueGothicRegular', arial, san-serif;
|
||||||
|
font-size: 1.875em;
|
||||||
|
background-color: #a81213;
|
||||||
|
-webkit-border-radius: 15px;
|
||||||
|
-moz-border-radius: 15px;
|
||||||
|
border-radius: 15px;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
color: #f8f0db;
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download a:hover {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download a img {
|
||||||
|
margin: 0px 20px 0px 20px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download a span.dl {
|
||||||
|
margin-top: 19px;
|
||||||
|
float: left;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download a span.sub {
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
|
font-size: 0.7em;
|
||||||
|
color: #e0ac9e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#github img {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#paypal {
|
||||||
|
margin: 20px 0px 0px 0px;
|
||||||
|
padding: 22px 40px 22px 330px;
|
||||||
|
/*width: 100%;*/
|
||||||
|
background-color: #f8f0db;
|
||||||
|
-webkit-border-radius: 15px;
|
||||||
|
-moz-border-radius: 15px;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-moz-selection {
|
||||||
|
background-color: #a81213;
|
||||||
|
color: #f8f0db;
|
||||||
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: #a81213;
|
||||||
|
color: #f8f0db;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7037",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/css/style.css -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/css/style.css)",
|
||||||
|
"original_sha256": "7dcd46c3fa3a7bbb3b5f48a37a7bc20e37c5ce8f86ad2cdc9f8d75dbde6a5b97",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 5942,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/css/style.css",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
274
var/www/hosting/archline.hu/www/maintenance/css/ticker-style.css
Normal file
274
var/www/hosting/archline.hu/www/maintenance/css/ticker-style.css
Normal file
@ -0,0 +1,274 @@
|
|||||||
|
/* Ticker Styling */
|
||||||
|
.ticker-wrapper.has-js {
|
||||||
|
margin: 20px 0px 20px 0px;
|
||||||
|
padding: 0px 0px;
|
||||||
|
width: 100%;
|
||||||
|
height: 32px;
|
||||||
|
display: block;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-title {
|
||||||
|
color: #990000;
|
||||||
|
font-weight: bold;
|
||||||
|
background-color: #ffffff;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-content {
|
||||||
|
margin: 0px;
|
||||||
|
position: absolute;
|
||||||
|
color: #1F527B;
|
||||||
|
font-weight: bold;
|
||||||
|
background-color: #ffffff;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
line-height: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-content:focus {
|
||||||
|
none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-content a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #1F527B;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-content a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: #0D3059;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-swipe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
background-color: #ffffff;
|
||||||
|
display: block;
|
||||||
|
width: 800px;
|
||||||
|
height: 23px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-swipe span {
|
||||||
|
margin-left: 1px;
|
||||||
|
background-color: #ffffff;
|
||||||
|
border-bottom: 0px solid #1F527B;
|
||||||
|
height: 12px;
|
||||||
|
width: 7px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls {
|
||||||
|
padding: 8px 0px 0px 0px;
|
||||||
|
list-style-type: none;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li {
|
||||||
|
padding: 0px;
|
||||||
|
margin-left: 5px;
|
||||||
|
float: left;
|
||||||
|
cursor: pointer;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-play-pause {
|
||||||
|
background-image: url('../images/controls.png');
|
||||||
|
background-position: 32px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-play-pause.over {
|
||||||
|
background-position: 32px 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-play-pause.down {
|
||||||
|
background-position: 32px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-play-pause.paused {
|
||||||
|
background-image: url('../images/controls.png');
|
||||||
|
background-position: 48px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-play-pause.paused.over {
|
||||||
|
background-position: 48px 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-play-pause.paused.down {
|
||||||
|
background-position: 48px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-prev {
|
||||||
|
background-image: url('../images/controls.png');
|
||||||
|
background-position: 0px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-prev.over {
|
||||||
|
background-position: 0px 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-prev.down {
|
||||||
|
background-position: 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-next {
|
||||||
|
background-image: url('../images/controls.png');
|
||||||
|
background-position: 16px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-next.over {
|
||||||
|
background-position: 16px 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-controls li.jnt-next.down {
|
||||||
|
background-position: 16px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.js-hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.no-js-news {
|
||||||
|
padding: 10px 0px 0px 45px;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.left .ticker-swipe {
|
||||||
|
/*left: 80px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.left .ticker-controls,
|
||||||
|
.left .ticker-content,
|
||||||
|
.left .ticker-title,
|
||||||
|
.left .ticker {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.left .ticker-controls {
|
||||||
|
padding-left: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right .ticker-swipe {
|
||||||
|
/*right: 80px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.right .ticker-controls,
|
||||||
|
.right .ticker-content,
|
||||||
|
.right .ticker-title,
|
||||||
|
.right .ticker {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right .ticker-controls {
|
||||||
|
padding-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
|
||||||
|
/* 0.9 */
|
||||||
|
.ticker {
|
||||||
|
height: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-wrapper.has-js {
|
||||||
|
font-size: 11px;
|
||||||
|
line-height: 22px;
|
||||||
|
height: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-title,
|
||||||
|
.ticker-content,
|
||||||
|
.ticker-swipe {
|
||||||
|
padding-top: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1025px) and (max-width: 1280px) {
|
||||||
|
|
||||||
|
/* 1.0 */
|
||||||
|
.ticker {
|
||||||
|
height: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-wrapper.has-js {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 24px;
|
||||||
|
height: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-title,
|
||||||
|
.ticker-content,
|
||||||
|
.ticker-swipe {
|
||||||
|
padding-top: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1281px) and (max-width: 1920px) {
|
||||||
|
|
||||||
|
/* 1.2 */
|
||||||
|
.ticker {
|
||||||
|
height: 56px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-wrapper.has-js {
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 28px;
|
||||||
|
height: 56px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-title,
|
||||||
|
.ticker-content,
|
||||||
|
.ticker-swipe {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1921px) and (max-width: 2560px) {
|
||||||
|
|
||||||
|
/* 1.4 */
|
||||||
|
.ticker {
|
||||||
|
height: 72px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-wrapper.has-js {
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 36px;
|
||||||
|
height: 72px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-title,
|
||||||
|
.ticker-content,
|
||||||
|
.ticker-swipe {
|
||||||
|
padding-top: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 2561px) {
|
||||||
|
|
||||||
|
/* 1.8 */
|
||||||
|
.ticker {
|
||||||
|
height: 104px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-wrapper.has-js {
|
||||||
|
font-size: 26px;
|
||||||
|
line-height: 52px;
|
||||||
|
height: 104px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-title,
|
||||||
|
.ticker-content,
|
||||||
|
.ticker-swipe {
|
||||||
|
padding-top: 26px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "7039",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/css/ticker-style.css -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/css/ticker-style.css)",
|
||||||
|
"original_sha256": "f452ae045b45dad107d84d6c70d4e4a3e3522c17d6913b8084fd6eaafcd4aad1",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 4356,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/css/ticker-style.css",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
128
var/www/hosting/archline.hu/www/maintenance/downloademail.php
Normal file
128
var/www/hosting/archline.hu/www/maintenance/downloademail.php
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
<?php
|
||||||
|
include("config.php");
|
||||||
|
include("version.php");
|
||||||
|
include("email.php");
|
||||||
|
require_once("../configuration.php");
|
||||||
|
|
||||||
|
|
||||||
|
exit(); //ba TODO
|
||||||
|
// minden hajnal 01:30-kor - trial letöltőknek automatikus e-mail 20 nappal a letöltés után
|
||||||
|
$version = new Version();
|
||||||
|
$kiirni = "";
|
||||||
|
$log = "\n" . date('Y-m-d H:i', time()) . ":";
|
||||||
|
|
||||||
|
$elteltnap = 20;
|
||||||
|
|
||||||
|
$maxtime = time() - ($elteltnap * 24 * 60 * 60);
|
||||||
|
$mintime = time() - (($elteltnap + 1) * 24 * 60 * 60);
|
||||||
|
|
||||||
|
// azok a magyar letöltők akik nem kaptak még e-mailt
|
||||||
|
$sql = "SELECT stat_id, stat_email, stat_first, stat_country FROM download_stats ";
|
||||||
|
$sql .= " WHERE stat_pron='' AND stat_date>{$mintime} AND stat_date<{$maxtime} ";
|
||||||
|
$sql .= " AND stat_lang='hun' ";
|
||||||
|
$sql .= " GROUP BY stat_email";
|
||||||
|
|
||||||
|
$msh2->query($sql);
|
||||||
|
$letoltokhun = $msh2->fetchAssoc();
|
||||||
|
$sql = "SELECT introtext FROM jml_content WHERE id = '944'";
|
||||||
|
$msh2->query($sql);
|
||||||
|
$page = $msh2->fetchNext();
|
||||||
|
$p = (object)$page;
|
||||||
|
$pagehun = $p->introtext;
|
||||||
|
$conf = new JConfig();
|
||||||
|
|
||||||
|
|
||||||
|
foreach ($letoltokhun as $letolto) {
|
||||||
|
$l = (object)$letolto;
|
||||||
|
// felhasználónak ne küldjön levelet (van-e aktiv kulcsa)
|
||||||
|
$nUserID = $version->get_nUserIDByEmail($l->stat_email, 'hun');
|
||||||
|
if (is_numeric($nUserID) && $nUserID > 0) {
|
||||||
|
$kulcssql = "SELECT hlNum FROM " . CRMADATBAZIS . ".hardlock WHERE hlUser='{$nUserID}' AND hlStat=1";
|
||||||
|
$msh2->query($kulcssql);
|
||||||
|
$kulcs = $msh2->fetchNext();
|
||||||
|
$k = (object)$kulcs;
|
||||||
|
if (isset($k->hlNum) && $k->hlNum != "") {
|
||||||
|
$kiirni .= "\n\nnincs elkuldve: " . print_r($l, true);
|
||||||
|
$log .= "\nHUN nincs elkuldve (felhasznalo): " . $l->stat_email . " " . $l->stat_first . " " . $l->stat_id . " (hun)";
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$leveltext = str_ireplace('#nev#', $l->stat_first, $pagehun);
|
||||||
|
|
||||||
|
$email = new CI_Email();
|
||||||
|
$email->initialize();
|
||||||
|
$email->setFrom($conf->mailfrom, 'CadLine');
|
||||||
|
$email->subject('ARCHLine.XP letoltes');
|
||||||
|
$email->message($leveltext);
|
||||||
|
$email->send($l->stat_email, 'smtp');
|
||||||
|
$email->clear();
|
||||||
|
|
||||||
|
$ujletolto['stat_pron'] = "1";
|
||||||
|
$msh2->update('download_stats', $ujletolto, "stat_id=" . $l->stat_id);
|
||||||
|
|
||||||
|
$kiirni .= "\n\nelkuldve: " . print_r($l, true);
|
||||||
|
$log .= "\nHUN elkuldve: " . $l->stat_email . " " . $l->stat_first . " " . $l->stat_id . " (hun)";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************************/
|
||||||
|
|
||||||
|
// azok a NEM magyar letöltők akik nem kaptak még e-mailt
|
||||||
|
$sql = "SELECT stat_id, stat_email, stat_first, stat_country FROM download_stats ";
|
||||||
|
$sql .= " WHERE stat_pron='' AND stat_date>{$mintime} AND stat_date<{$maxtime} ";
|
||||||
|
$sql .= " AND stat_lang!='hun' ";
|
||||||
|
$sql .= " GROUP BY stat_email";
|
||||||
|
|
||||||
|
$msh2->query($sql);
|
||||||
|
$letoltokeng = $msh2->fetchAssoc();
|
||||||
|
|
||||||
|
$sql = "SELECT introtext FROM jml_content WHERE id = '945'";
|
||||||
|
$msh2->query($sql);
|
||||||
|
$page = $msh2->fetchNext();
|
||||||
|
$p = (object)$page;
|
||||||
|
$pageeng = $p->introtext;
|
||||||
|
|
||||||
|
foreach ($letoltokeng as $letolto) {
|
||||||
|
$l = (object)$letolto;
|
||||||
|
// felhasználónak ne küldjön levelet (van-e aktiv kulcsa)
|
||||||
|
$nUserID = $version->get_nUserIDByEmail($l->stat_email, 'eng');
|
||||||
|
if (is_numeric($nUserID) && $nUserID > 0) {
|
||||||
|
$kulcssql = "SELECT hlNum FROM " . CRMADATBAZIS . ".hardlock WHERE hlUser='{$nUserID}' AND hlStat=1";
|
||||||
|
$msh2->query($kulcssql);
|
||||||
|
$kulcs = $msh2->fetchNext();
|
||||||
|
$k = (object)$kulcs;
|
||||||
|
if (isset($k->hlNum) && $k->hlNum != "") {
|
||||||
|
$kiirni .= "\n\nnincs elkuldve: " . print_r($l, true) . "nUserID: " . $nUserID . ", hlnum: " . $k->hlNum;
|
||||||
|
$log .= "\nENG nincs elkuldve (felhasznalo): " . $l->stat_email . " " . $l->stat_first . " " . $l->stat_id . " (eng), hlNum: " . $kulcs->hlNum . " , user: " . $nUserID;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$leveltext = str_ireplace('#nev#', $l->stat_first, $pageeng);
|
||||||
|
|
||||||
|
$email = new CI_Email();
|
||||||
|
$email->initialize();
|
||||||
|
$email->setFrom('info@archlinexp.com', 'ARCHLine');
|
||||||
|
$email->subject('ARCHLine.XP download');
|
||||||
|
$email->message($leveltext);
|
||||||
|
$email->send($l->stat_email, 'smtp');
|
||||||
|
$email->clear();
|
||||||
|
|
||||||
|
$ujletolto['stat_pron'] = "1";
|
||||||
|
$msh2->update('download_stats', $ujletolto, "stat_id=" . $l->stat_id);
|
||||||
|
|
||||||
|
$kiirni .= "\n\nENG elkuldve: " . print_r($l, true);
|
||||||
|
$log .= "\nENG elkuldve: " . $l->stat_email . " " . $l->stat_first . " " . $l->stat_id . " (eng)";
|
||||||
|
|
||||||
|
print "<hr>elkuldve: ";
|
||||||
|
print_r($l);
|
||||||
|
}
|
||||||
|
|
||||||
|
$record['osztaly'] = "cron";
|
||||||
|
$record['fv'] = "downloademail";
|
||||||
|
$record['hiba'] = $kiirni;
|
||||||
|
$record['datum'] = date('Y-m-d H:i', time());
|
||||||
|
$msh2->insert('a_hibak', $record);
|
||||||
|
|
||||||
|
exec("echo '{$log}' >> ../public/download_email.txt");
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6986",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/downloademail.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/downloademail.php)",
|
||||||
|
"original_sha256": "e6434ca282e9e4579ba6927c262752e66962cebe5edda52766bb486c3b499abc",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 4513,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/downloademail.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
// minden órában - excel feltöltések mennek-e
|
||||||
|
include("email.php");
|
||||||
|
require_once("../configuration.php");
|
||||||
|
|
||||||
|
$utolsofajl = filemtime("../fizetesek");
|
||||||
|
print "utolso: " . date("Y-m-d H:i:s", $utolsofajl);
|
||||||
|
$log = "\n" . date("Y-m-d H:i:s") . "\n\t";
|
||||||
|
|
||||||
|
if (time() - (60 * 60) > $utolsofajl) {
|
||||||
|
// már egy órája nincs feltöltés
|
||||||
|
|
||||||
|
$conf = new JConfig();
|
||||||
|
$email = new CI_Email();
|
||||||
|
$email->initialize();
|
||||||
|
$email->setFrom($conf->mailfrom, 'CadLine');
|
||||||
|
$email->subject('Hiba - Excel fizetesek feltoltes');
|
||||||
|
$email->message("Már több mint egy órája nincs feltöltés. Utolsó feltöltés időpontja: " . date("Y-m-d H:i:s", $utolsofajl));
|
||||||
|
$email->send('bodnart@cadline.hu', 'smtp');
|
||||||
|
|
||||||
|
$log .= "hiba volt, utolso: " . date("Y-m-d H:i:s", $utolsofajl);
|
||||||
|
} else {
|
||||||
|
$log .= "rendben.";
|
||||||
|
}
|
||||||
|
|
||||||
|
exec("echo '{$log}' >> ../public/log_fizetesek_excel.txt");
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6973",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/elofizexcelcheck.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/elofizexcelcheck.php)",
|
||||||
|
"original_sha256": "2d04b624c559dd91a7bd81dd7dc0b1a7ac9748759ea7761bb83e1a75d5279a20",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 883,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/elofizexcelcheck.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
113
var/www/hosting/archline.hu/www/maintenance/elofizkarbxml.php
Normal file
113
var/www/hosting/archline.hu/www/maintenance/elofizkarbxml.php
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**********************************************************************************
|
||||||
|
* eredeti url: http://www.archline.hu/version/elofizkarbxml/ + fajlnev+ / +nyelv *
|
||||||
|
**********************************************************************************/
|
||||||
|
|
||||||
|
ini_set("max_execution_time", 60);
|
||||||
|
include("version.php");
|
||||||
|
include('libraries/Excel2/reader.php');
|
||||||
|
|
||||||
|
@header("Content-Type: text/html; charset=UTF-8");
|
||||||
|
|
||||||
|
$fajl = '/var/www/hosting/archline.hu/www/fizetesek/' . $_GET['file']; // segment(3);
|
||||||
|
$nyelv = (isset($_GET['lang']) ? $_GET['lang'] : NULL); //segment(4);
|
||||||
|
$data = new Spreadsheet_Excel_Reader();
|
||||||
|
$data->setOutputEncoding('CP1251');
|
||||||
|
$data->read($fajl);
|
||||||
|
$needInsert = true;
|
||||||
|
|
||||||
|
// temp feltoltese
|
||||||
|
crm_database::getInstance()->query("TRUNCATE TABLE `" . CRMADATBAZIS . "`.`temp_excelfizetes`");
|
||||||
|
$insertStatement = "INSERT INTO " . CRMADATBAZIS . ".temp_excelfizetes (kulcs,datum,kapcs,info) VALUES";
|
||||||
|
$numrows = $data->sheets[0]['numRows'];
|
||||||
|
|
||||||
|
for ($i = 1; $i <= $numrows; $i++) {
|
||||||
|
if (!$data->sheets[0]['cells'][$i][1]) {
|
||||||
|
$needInsert = false;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$o1 = $data->sheets[0]['cells'][$i][1];
|
||||||
|
$o2 = $data->sheets[0]['cells'][$i][2];
|
||||||
|
$o3 = $data->sheets[0]['cells'][$i][3];
|
||||||
|
$o4 = $data->sheets[0]['cells'][$i][4];
|
||||||
|
$insertStatement = $insertStatement . "(" . $o1 . ",'" . $o2 . "','" . $o3 . "','" . $o4 . "')";
|
||||||
|
if ($i < $numrows)
|
||||||
|
$insertStatement = $insertStatement . ",";
|
||||||
|
|
||||||
|
$needInsert = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($needInsert || $numrows <= 0)
|
||||||
|
crm_database::getInstance()->query($insertStatement);
|
||||||
|
|
||||||
|
// valtozasok lekerese
|
||||||
|
crm_database::getInstance()->query("(SELECT t1.kulcs, t1.datum, t1.kapcs, t1.info, '' originfo
|
||||||
|
FROM " . CRMADATBAZIS . ".temp_excelfizetes t1 LEFT JOIN " . CRMADATBAZIS . ".t_excelfizetes t2 ON t1.kulcs = t2.kulcs
|
||||||
|
WHERE t1.datum!=t2.datum OR t1.kapcs!=t2.kapcs AND t1.kulcs !='')
|
||||||
|
UNION
|
||||||
|
(SELECT kulcs, datum, kapcs, 'uj elem' info, info as originfo FROM " . CRMADATBAZIS . ".temp_excelfizetes
|
||||||
|
WHERE kulcs NOT IN (SELECT kulcs FROM " . CRMADATBAZIS . ".t_excelfizetes))");
|
||||||
|
$valtozasok = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
foreach ($valtozasok as $el) {
|
||||||
|
$elem = (object)$el;
|
||||||
|
|
||||||
|
$utfizu = Version::_getfizhonap($elem->datum, $elem->kapcs);
|
||||||
|
$actDate = Version::_modosit($elem->kulcs, $utfizu, $elem->kapcs, $elem->info);
|
||||||
|
|
||||||
|
$tomb = array(
|
||||||
|
"kulcs" => $elem->kulcs,
|
||||||
|
"kapcs" => $elem->kapcs,
|
||||||
|
"datum" => $elem->datum,
|
||||||
|
"info" => $elem->originfo,
|
||||||
|
);
|
||||||
|
|
||||||
|
if ($elem->info == "uj elem")
|
||||||
|
crm_database::getInstance()->insert(CRMADATBAZIS . '.t_excelfizetes', $tomb);
|
||||||
|
else
|
||||||
|
crm_database::getInstance()->update(CRMADATBAZIS . '.t_excelfizetes', $tomb, array('kulcs' => $elem->kulcs));
|
||||||
|
|
||||||
|
$hiInfo = "Excel: " . $elem->kapcs . ", Dátum: " . $elem->datum . " " . $elem->originfo;
|
||||||
|
|
||||||
|
$query = "SELECT * FROM `" . CRMADATBAZIS . "`.`h_history` WHERE hiHlNum = '" . $elem->kulcs . "' AND hiInfo = '" . $hiInfo . "'";
|
||||||
|
crm_database::getInstance()->query($query);
|
||||||
|
$res = crm_database::getInstance()->fetchAssoc();
|
||||||
|
|
||||||
|
if (empty($res)) {
|
||||||
|
$history = array(
|
||||||
|
'hiHlNum' => $elem->kulcs,
|
||||||
|
'hiDate' => date('Y-m-d'),
|
||||||
|
'hiManID' => 36,
|
||||||
|
'hiTypeID' => 3,
|
||||||
|
'hiTime' => date("Y-m-d H:i:s"),
|
||||||
|
'hiInfo' => $hiInfo,
|
||||||
|
);
|
||||||
|
|
||||||
|
if ($actDate && $actDate != '') {
|
||||||
|
$history['activationDate'] = $actDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
crm_database::getInstance()->query("SELECT prOrdNum, prPass FROM `" . CRMADATBAZIS . "`.`h_programs`
|
||||||
|
WHERE prVerID >=13 AND prHlNum IS NOT NULL AND prHlNum = (select hlNum FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE `hlNum`='{$elem->kulcs}' AND `hlStat`=1) ORDER BY prID DESC LIMIT 1;");
|
||||||
|
$lastProgram = crm_database::getInstance()->fetchNext();
|
||||||
|
|
||||||
|
if (!empty($lastProgram) && $lastProgram['prOrdNum'] != '') {
|
||||||
|
$history['prPass'] = $lastProgram['prPass'];
|
||||||
|
crm_database::getInstance()->query("SELECT o.id AS id FROM `" . CRMADATBAZIS . "`.`o_orders` o
|
||||||
|
WHERE o.order = '" . $lastProgram['prOrdNum'] . "' AND o.output_key = '" . $lastProgram['prPass'] . "' ORDER BY o.id DESC LIMIT 1;");
|
||||||
|
$currentOrder = crm_database::getInstance()->fetchNext();
|
||||||
|
|
||||||
|
if (!empty($currentOrder)) {
|
||||||
|
$history['orderID'] = $currentOrder['id'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
crm_database::getInstance()->insert(CRMADATBAZIS . '.h_history', $history);
|
||||||
|
|
||||||
|
print "Valtozott: " . $elem->kulcs . " " . $utfizu . " " . $elem->kapcs;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
print "ok";
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6957",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/elofizkarbxml.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/elofizkarbxml.php)",
|
||||||
|
"original_sha256": "8ba27b4d94a8d310a7641167cfab3229d3e000770220f480e22398097431766c",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1779356680,
|
||||||
|
"size": 4726,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/elofizkarbxml.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
include("config.php");
|
||||||
|
|
||||||
|
$sql = "TRUNCATE TABLE " . CRMADATBAZIS . ".t_excelfizetes";
|
||||||
|
$sql2 = "TRUNCATE TABLE " . CRMADATBAZIS . ".temp_excelfizetes";
|
||||||
|
$msh->query($sql);
|
||||||
|
$msh->query($sql2);
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6968",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/elofizurites.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/elofizurites.php)",
|
||||||
|
"original_sha256": "37dee33d9f6c68a7409322b379269f6ff614d6be8f5769a0814cb5d06085a68a",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 205,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/elofizurites.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
95
var/www/hosting/archline.hu/www/maintenance/email.php
Normal file
95
var/www/hosting/archline.hu/www/maintenance/email.php
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
<?php //if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require_once('libraries/mmail/htmlMimeMail.php');
|
||||||
|
include("../configuration.php");
|
||||||
|
|
||||||
|
class CI_Email extends htmlMimeMail5
|
||||||
|
{
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
//$this->CI = &get_instance();
|
||||||
|
}
|
||||||
|
|
||||||
|
function initialize($settings = false)
|
||||||
|
{
|
||||||
|
if (!$settings) {
|
||||||
|
//$settings = $this->CI->config->item('email');
|
||||||
|
$conf = new JConfig();
|
||||||
|
$settings['host'] = $conf->smtphost;
|
||||||
|
$settings['port'] = $conf->smtpport;
|
||||||
|
$settings['helo'] = null;
|
||||||
|
$settings['auth'] = $conf->smtpauth;
|
||||||
|
$settings['user'] = $conf->smtpuser;
|
||||||
|
$settings['pass'] = $conf->smtppass;
|
||||||
|
/*$settings['host'] = 'localhost';
|
||||||
|
$settings['port'] = 25;
|
||||||
|
$settings['helo'] = null;
|
||||||
|
$settings['auth'] = true;
|
||||||
|
$settings['user'] = 'www.smtp@cadline.hu';
|
||||||
|
$settings['pass'] = 'Chieng0t';*/
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->setSMTPParams($settings['host'], $settings['port'], $settings['helo'], $settings['auth'], $settings['user'], $settings['pass']);
|
||||||
|
|
||||||
|
$this->setHTMLCharset('UTF-8');
|
||||||
|
$this->setHeadCharset('UTF-8');
|
||||||
|
$this->setHTMLEncoding(new EightBitEncoding());
|
||||||
|
}
|
||||||
|
|
||||||
|
function addOfficialImages()
|
||||||
|
{
|
||||||
|
$this->addEmbeddedImage(new fileEmbeddedImage('../public/img/mail/title.jpg'));
|
||||||
|
$this->addEmbeddedImage(new fileEmbeddedImage('../public/img/mail/footer.jpg'));
|
||||||
|
}
|
||||||
|
|
||||||
|
function addImage($path)
|
||||||
|
{
|
||||||
|
$this->addEmbeddedImage(new fileEmbeddedImage('../public/img/' . $path));
|
||||||
|
}
|
||||||
|
|
||||||
|
function clear()
|
||||||
|
{
|
||||||
|
$this->is_built = false;
|
||||||
|
$this->setHTML(null);
|
||||||
|
$this->setFrom(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
function message($html)
|
||||||
|
{
|
||||||
|
$tomb['<27>'] = 'á';
|
||||||
|
$tomb['<27>'] = 'Á';
|
||||||
|
$tomb['<27>'] = 'é';
|
||||||
|
$tomb['<27>'] = 'É';
|
||||||
|
$tomb['<27>'] = 'ó';
|
||||||
|
$tomb['<27>'] = 'Ó';
|
||||||
|
$tomb['<27>'] = 'ö';
|
||||||
|
$tomb['<27>'] = 'Ö';
|
||||||
|
$tomb['<27>'] = 'ő';
|
||||||
|
$tomb['<27>'] = 'Ő';
|
||||||
|
$tomb['<27>'] = 'ú';
|
||||||
|
$tomb['<27>'] = 'Ú';
|
||||||
|
$tomb['<27>'] = 'ü';
|
||||||
|
$tomb['<27>'] = 'Ü';
|
||||||
|
$tomb['<27>'] = 'ű';
|
||||||
|
$tomb['<27>'] = 'Ű';
|
||||||
|
$tomb['<27>'] = 'í';
|
||||||
|
$tomb['<27>'] = 'Í';
|
||||||
|
|
||||||
|
$string = $html;
|
||||||
|
foreach ($tomb as $k => $v) {
|
||||||
|
$string = str_replace($k, $v, $string);
|
||||||
|
}
|
||||||
|
$this->setHTML($string);
|
||||||
|
}
|
||||||
|
|
||||||
|
function from($from)
|
||||||
|
{
|
||||||
|
$this->setFrom($from);
|
||||||
|
}
|
||||||
|
|
||||||
|
function subject($subj)
|
||||||
|
{
|
||||||
|
$this->setSubject($subj);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"finding_ref": "6942",
|
||||||
|
"log_excerpt": "[quarantine] www.archline.hu:maintenance/email.php -> quarantined (dest=/var/lib/web-hids/quarantine/var/www/hosting/archline.hu/www/maintenance/email.php)",
|
||||||
|
"original_sha256": "e6f1c227a7281173ea84fcaa4d171d8c821842d4b0acac8d7674fd02cf40b38f",
|
||||||
|
"original_stat": {
|
||||||
|
"gid": 30037,
|
||||||
|
"mtime": 1688287779,
|
||||||
|
"size": 2417,
|
||||||
|
"uid": 12425
|
||||||
|
},
|
||||||
|
"rel_path": "maintenance/email.php",
|
||||||
|
"result": "quarantined",
|
||||||
|
"timestamp": "20260718T160241Z",
|
||||||
|
"vhost": "www.archline.hu"
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user