Advertisement
uddevil

Untitled

Dec 24th, 2021
1,202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 15.27 KB | None | 0 0
  1. <?php
  2. /*
  3.  * @ https://EasyToYou.eu - IonCube v11 Decoder Online
  4.  * @ PHP 7.2
  5.  * @ Decoder version: 1.0.4
  6.  * @ Release: 01/09/2021
  7.  */
  8.  
  9. error_reporting(32767);
  10. ini_set("display_errors", 1);
  11. ini_set("log_errors", 1);
  12. $app = (require_once __DIR__ . "/bootstrap.php");
  13. $app->get("Menu", "Util\\Menu::write");
  14. $app->get("InfoGen/{overwrite}", "Util\\InfoGen::generate");
  15. $app->get("InfoGen", "Util\\InfoGen::generate");
  16. $app->get("TestGen", "Util\\TestGen::generate");
  17. $app->get("TestGenSingle", "Util\\TestGen::singleTest");
  18. $app->get("ModelGen", "Util\\ModelGen::generate");
  19. $app->get("FrontEndGen/test", "Util\\FrontEndGen::test");
  20. $app->get("FrontEndGen/{overwrite}", "Util\\FrontEndGen::generate");
  21. $app->get("FrontEndGen", "Util\\FrontEndGen::generate");
  22. $app->get("PrintGen", "Util\\PrintGen::generate");
  23. $app->get("TestFk", "Util\\TestFk::doTest");
  24. $app->get("rest/child_delete/MatevRapor", "Nilai::getChildDelete");
  25. $app->get("rest/Pengguna", "CustomRest::getPengguna");
  26. $app->get("rest/Kurikulum", "CustomRest::kurikulum");
  27. $app->get("rest/PtkTerdaftar", "Gtk::getPtkTerdaftar");
  28. $app->get("rest/Ptk", "Gtk::getPtk");
  29. $app->get("rest/PesertaDidik", "PesertaDidikCustom::getPesertaDidik");
  30. $app->get("rest/getAnggotaRombel", "CustomRest::getAnggotaRombel");
  31. $app->get("rest/PesertaDidikBaru", "PesertaDidikCustom::getPesertaDidikBaru");
  32. $app->get("rest/PtkBaru", "Gtk::getPtkBaru");
  33. $app->get("rest/LembagaAkreditasi", "CustomRest::getLembagaAkreditasi");
  34. $app->get("rest/MatevRapor", "CustomRest::getMatevRapor");
  35. $app->get("rest/JurusanSp", "CustomRest::getJurusanSp");
  36. $app->get("rest/UnitUsahaKerjasama", "CustomRest::getUnitUsahaKerjasama");
  37. $app->get("rest/SaranaDariBlockgrant", "Sarpras::getSaranaDariBlockgrant");
  38. $app->get("rest/Jadwal", "JadwalModule::getJadwal");
  39. $app->get("rest/KelasEkskul", "CustomRest::getKelasEkskul");
  40. $app->get("rest/RombonganBelajar", "CustomRest::getRestRombonganBelajar");
  41. $app->get("rest/Dudi", "CustomRest::getRestDudi");
  42. $app->get("rest/StandarSarana", "Sarpras::getStandarSarana");
  43. $app->get("rest/WsAplikasi", "CustomRest::getWsAplikasi");
  44. $app->get("rest/AnggotaRombel", "CustomRest::getDisplayAnggotaRombel");
  45. $app->get("rest/Alat", "CustomRest::getRestAlat");
  46. $app->get("rest/PemakaiPrasarana", "Sarpras::getPemakaiPrasarana");
  47. $app->get("rest/DataDynamic", "CustomRest::getDataDynamic");
  48. $app->get("rest/VldSekolah", "ValidasiPusat::getVldSekolah");
  49. $app->get("rest/VldPtk", "ValidasiPusat::getVldPtk");
  50. $app->get("rest/VldPesertaDidik", "ValidasiPusat::getVldPesertaDidik");
  51. $app->get("rest/VldRombel", "ValidasiPusat::getVldRombel");
  52. $app->get("rest/VldPembelajaran", "ValidasiPusat::getVldPembelajaran");
  53. $app->get("rest/Biblio", "Pustaka::getBiblio");
  54. $app->post("rest/PtkTerdaftar", "Gtk::postPtkTerdaftar");
  55. $app->post("rest/RegistrasiPesertaDidik", "PesertaDidikCustom::postRegistrasiPesertaDidik");
  56. $app->post("rest/BidangSdm", "CustomRest::saveBidangSdmPost");
  57. $app->put("rest/BidangSdm/{which}", "CustomRest::saveBidangSdm");
  58. $app->get("rest/{model}", "Rest::get");
  59. $app->post("rest/{model}", "Rest::post");
  60. $app->put("rest/{model}/{which}", "Rest::put");
  61. $app->delete("rest/{model}/{which}", "Rest::delete");
  62. $app->get("rest/child_delete/{model}", "Rest::child_delete");
  63. $app->get("", "Auth::init")->bind("homepage");
  64. $app->get("registrasi", function (Symfony\Component\HttpFoundation\Request $request) {
  65.     return $app["twig"]->render("registrasi.html", ["error" => $app["security.last_error"]($request), "last_username" => $app["session"]->get("_security.last_username"), "hostname" => "\"" . getReadConfig("Hostname") . "\"", "syncportdikdasmen" => getReadConfig("SyncPortDikdas")]);
  66. });
  67. $app->get("test/bitter", "Rest::testChecksum");
  68. $app->get("bitter/file", "Info\\SyncPrimerTableInfo::getFileFromPropel");
  69. $app->get("bitter/tablet/{pass}/{time}", "CustomRest::getTablet");
  70. $app->get("bitter/check/{kode}/{id}", "Auth::checkBitter");
  71. $app->get("bitter/recovery/{hash}/{time}", "Auth::runFirstInstall");
  72. $app->get("cekLastUpdate/{model}/{id}", "CustomRest::cekLastUpdate");
  73. $app->get("getGenerateLinkPrefill", "CustomRest::getGenerateLinkPrefill");
  74. $app->get("customrest/RaporKe", "Nilai::getRaporKe");
  75. $app->get("customrest/getTahunAjaranForPdKeluar", "CustomRest::getTahunAjaranForPdKeluar");
  76. $app->get("customrest/getRuangForJadwal", "Sarpras::getRuangForJadwal");
  77. $app->get("nilai/Semester", "Nilai::getSemester");
  78. $app->get("nilai/RombonganBelajar", "Nilai::getRombonganBelajar");
  79. $app->get("nilai/Pembelajaran", "Nilai::getPembelajaran");
  80. $app->get("customrest/nilairapor", "Nilai::getNilaiRapor");
  81. $app->get("customrest/getRombelTemplateExisting", "Nilai::getRombelTemplateExisting");
  82. $app->get("customrest/rekapProgressPip", "Beranda::rekapProgressPip");
  83. $app->get("customrest/cariPtk", "Gtk::cariPtk");
  84. $app->get("customrest/pembelajaran", "Pembelajaran::Pembelajaran");
  85. $app->get("customrest/ceksekolah", "Auth::cekSekolah");
  86. $app->get("customrest/rombelPortal", "Beranda::getRombelPortal");
  87. $app->get("customrest/jumlahjamptk", "CustomRest::getJumlahJamPtk");
  88. $app->get("customrest/pesertaDidikList", "PesertaDidikCustom::getPesertaDidikList");
  89. $app->get("customrest/pesertaDidikListAktPd", "PesertaDidikCustom::getPesertaDidikListAktPd");
  90. $app->get("customrest/JurusanSp", "CustomRest::jurusanSp");
  91. $app->get("customrest/Jurusan", "CustomRest::jurusan");
  92. $app->get("customrest/Kurikulum", "CustomRest::kurikulum");
  93. $app->get("customrest/displaytugastambahan", "Gtk::getDisplayTugasTambahan");
  94. $app->get("customrest/jenisrombel", "CustomRest::getJenisRombel");
  95. $app->get("customrest/Help", "CustomRest::getHelp");
  96. $app->get("customrest/MataPelajaranKurikulum", "CustomRest::MataPelajaranKurikulum");
  97. $app->get("customrest/filterptknonkepsek", "Gtk::filterPtkNonKepsek");
  98. $app->get("customrest/filterruang", "Sarpras::filterRuang");
  99. $app->get("customrest/ptk", "Gtk::getPtk");
  100. $app->get("customrest/pesertadidik", "PesertaDidikCustom::getPesertaDidik");
  101. $app->get("customrest/kecamatan", "CustomRest::getKecamatan");
  102. $app->get("customrest/chartsarpras", "Beranda::getChartSarpras");
  103. $app->get("customrest/allanggotarombel/{which}", "CustomRest::getAllAnggotaRombel");
  104. $app->get("customrest/dudi", "CustomRest::Dudi");
  105. $app->get("customrest/AnggotaRombel", "CustomRest::getDisplayAnggotaRombel");
  106. $app->get("customrest/standarSarpras", "Beranda::getStandarSarpras");
  107. $app->get("customrest/getKonfirmSync", "CustomRest::getKonfirmSync");
  108. $app->get("customrest/getJumlahJamban", "Sarpras::getJumlahJamban");
  109. $app->get("getInfoSync", "CustomRest::getInfoSync");
  110. $app->get("jadwal/downloadJadwal", "JadwalModule::downloadJadwal");
  111. $app->get("jadwal/getPembelajaran", "JadwalModule::getPembelajaran");
  112. $app->get("filterjurusan", "CustomRest::getFilterJurusan");
  113. $app->get("filtertingkatpendidikan", "CustomRest::getFilterTingkatPendidikan");
  114. $app->get("salinJurSpLong", "CustomRest::salinJurSpLong");
  115. $app->get("getEncryptPass", "CustomRest::getEncryptPass");
  116. $app->get("cekNipdGanda/{nipd}/{peserta_didik_id}", "PesertaDidikCustom::cekNipdGanda");
  117. $app->get("cekNipdGanda", "PesertaDidikCustom::cekNipdGanda");
  118. $app->get("pdf/getPdf/{type}", "PdfConverter::getPdf");
  119. $app->get("Excel/{which}", "Excel::getExcel");
  120. $app->get("ExportUn/{tipe}", "Excel::getExcelUn");
  121. $app->get("feed_proxy", "Beranda::feed_proxy");
  122. $app->get("Excel/{which}/{id}", "Excel::getExcel");
  123. $app->get("ExcelValidation/{jenis_validasi}/{print}", "Validation::checkAll");
  124. $app->get("validation", "Validation::checkAll");
  125. $app->get("session", "Auth::getSession");
  126. $app->get("startovercheck", "Beranda::getStartOver");
  127. $app->get("startoverjangantampilkanlagi", "Beranda::gantiStatusStartOver");
  128. $app->get("tema", "CustomRest::getTema");
  129. $app->get("setTema", "CustomRest::setTema");
  130. $app->get("kosongkanKkPd", "PesertaDidik::kosongkanKkPd");
  131. $app->get("cekconstraint/{model}", "CustomRest::cekconstraint");
  132. $app->get("runBatchFile", "CustomRest::runBatchFile");
  133. $app->get("koreg", "Excel::getExcelKoreg");
  134. $app->get("ubahKelompokMapel", "CustomRest::ubahKelompokMapel");
  135. $app->get("BackupGen", "Util\\BackupGen::go");
  136. $app->get("getUpdate", "Update::getUpdate");
  137. $app->get("getTingkatKerusakan", "Sarpras::getTingkatKerusakan");
  138. $app->get("getTingkatKerusakanTotal", "Sarpras::getTingkatKerusakanTotal");
  139. $app->get("excelExt/tesExcelString", "ExcelExt::tesExcelString");
  140. $app->get("excelExt/tesExcel", "ExcelExt::tesExcel");
  141. $app->get("excelExt/tesExcelDownload", "ExcelExt::tesExcelDownload");
  142. $app->get("excelExt/tesReadExcel", "ExcelExt::tesReadExcel");
  143. $app->get("excelExt/getFormulirPtk", "ExcelExt::getFormulirPtk");
  144. $app->get("execDataPustaka", "Auth::execDataPustaka");
  145. $app->get("rss.xml", "Beranda::getRssOri");
  146. $app->get("rssCache", "Beranda::getRssCache");
  147. $app->get("updatePanelDashboard", "Beranda::updatePanelDashboard");
  148. $app->get("getKerusakanBangunan", "Beranda::getKerusakanBangunan");
  149. $app->get("getInfoSurveyPtm", "Beranda::getInfoSurveyPtm");
  150. $app->get("set20210011", "Auth::setDbConfig");
  151. $app->get("get20210011", "Auth::getDbConfig");
  152. $app->get("cdbc", "Auth::checkDbConfig");
  153. $app->get("xdbc", "Auth::triggerTempUpdater");
  154. $app->get("ydbc", "Auth::triggerUpdateJurusanSp");
  155. $app->get("getDataInvalid", "CustomRest::getDataInvalid");
  156. $app->get("deleteDir", function (Symfony\Component\HttpFoundation\Request $request) {
  157.     $do = DataDikdas\Update::deleteDirs("temp");
  158.     return $do;
  159. });
  160. $app->get("destauth", function (Symfony\Component\HttpFoundation\Request $request) {
  161.     $app["session"]->clear();
  162.     return $app->redirect("/");
  163. });
  164. $app->get("getKoreg", "CustomRest::getKoreg");
  165. $app->get("getSha1", function (Symfony\Component\HttpFoundation\Request $request) {
  166.     $today = date("Y-m-d");
  167.     $vendor_code = "IBB0Q6K2J";
  168.     $vendor_code_encrypt = strtoupper(sha1($vendor_code . $today));
  169.     return $vendor_code_encrypt;
  170. });
  171. $app->get("roleperan", function (Symfony\Component\HttpFoundation\Request $request) {
  172.     return $app->redirect("/");
  173. });
  174. $app->post("jadwal/saveJadwal", "JadwalModule::saveJadwal");
  175. $app->post("generateLoginPd", "CustomRest::generateLoginPd");
  176. $app->post("postUpdatePengaturan", "CustomRest::postUpdatePengaturan");
  177. $app->post("roleperan", "Auth::getRolePeran");
  178. $app->get("login", "Auth::getLogin");
  179. $app->post("registration", "Registration::saveRegistration");
  180. $app->post("jumlahanggotarombel", "CustomRest::getJumlahAnggotaRombel");
  181. $app->post("salinPeriodik", "CustomRest::salinDataPeriodik");
  182. $app->post("salinSaranaBukuAlatHapusBuku", "CustomRest::salinSaranaBukuAlatHapusBuku");
  183. $app->post("cekDataGandaRpd/{id}", "PesertaDidikCustom::cekDataGandaRpd");
  184. $app->post("cekNipdGanda", "PesertaDidikCustom::cekNipdGanda");
  185. $app->post("prosesbersamapd", "PesertaDidikCustom::ProsesBersamapd");
  186. $app->post("kenaikankelas", "CustomRest::doKenaikanKelas");
  187. $app->post("SalinAnggotaRombel", "CustomRest::SalinAnggotaRombel");
  188. $app->post("penugasanKembali", "Gtk::penugasanKembali");
  189. $app->post("registrasiUlang", "PesertaDidikCustom::registrasiUlang");
  190. $app->post("simpanregistrasi", "PesertaDidikCustom::simpanRegistrasi");
  191. $app->post("cekkoreg", "CustomRest::cekKoreg");
  192. $app->post("savepengguna", "CustomRest::savePengguna");
  193. $app->post("simpanAkreditasiProdi", "CustomRest::simpanAkreditasiProdi");
  194. $app->post("savedudi", "CustomRest::saveDudi");
  195. $app->post("feed_proxy", "Beranda::feed_proxy");
  196. $app->post("getUpdate", "Update::getUpdate");
  197. $app->post("excelExt/unggahFileTemplate", "ExcelExt::unggahFileTemplate");
  198. $app->post("tukarPengguna", "Auth::tukarPengguna");
  199. $app->post("customrest/pindahTemplate", "Nilai::pindahTemplate");
  200. $app->post("customrest/kunciNilai", "Nilai::kunciNilai");
  201. $app->post("customrest/inputNilaiSikap", "Nilai::inputNilaiSikap");
  202. $app->post("customrest/salinMatevRapor", "Nilai::salinMatevRapor");
  203. $app->post("customrest/nilairapor", "Nilai::postRapor");
  204. $app->post("customrest/gantistatusptkbaru", "Gtk::gantiStatusPtkBaru");
  205. $app->post("customrest/autoCreateMatevRapor", "CustomRest::autoCreateMatevRapor");
  206. $app->post("customrest/savePdb", "PesertaDidikCustom::savePdb");
  207. $app->post("customrest/savePtkNew", "Gtk::savePtkNew");
  208. $app->post("customrest/saveJurusanSp", "CustomRest::saveJurusanSp");
  209. $app->post("customrest/luluskanTingkatAkhir", "CustomRest::luluskanTingkatAkhir");
  210. $app->post("customrest/{model}", "Rest::post");
  211. $app->put("nilai/{model}", "Rest::put");
  212. $app->put("customrest/{model}", "Rest::post");
  213. $app->put("customrest/{model}/{which}", "Rest::put");
  214. $app->put("customrest/{model}/{which}", "Rest::put");
  215. $app->get("tesInfoPengguna", "CustomRest::tesInfoPengguna");
  216. $app->get("GantiGambar", "CustomRest::gantiGambar");
  217. $app->get("GantiGambarSekolah", "CustomRest::gantiGambarSekolah");
  218. $app->post("GantiGambar", "CustomRest::gantiGambar");
  219. $app->post("GantiGambarSekolah", "CustomRest::gantiGambarSekolah");
  220. $app->post("gantiKopSekolah", "CustomRest::gantiKopSekolah");
  221. $app->delete("jadwal/deleteJadwal", "JadwalModule::deleteJadwal");
  222. $app->delete("customrest/nilairapor", "Nilai::deleteRapor");
  223. $app->delete("customrest/{model}/{which}", "Rest::delete");
  224. $app->get("Pembelajaran/Pembelajaran", "Pembelajaran::Pembelajaran");
  225. $app->get("UnduhExcelFormatImportNilai/getExportNilai/{id_evaluasi}", "UnduhExcelFormatImportNilai::getExportNilai");
  226. $app->post("UnduhExcelFormatImportNilai/getImportNilai/{id_evaluasi}", "UnduhExcelFormatImportNilai::getImportNilai");
  227. $app->get("Unduh/{which}/{id}", "Download::init");
  228. $app->get("UnduhExcelNilai/getNilai/{id_evaluasi}", "UnduhExcelNilai::getNilai");
  229. $app->get("UnduhExcelPembelajaran/getPembelajaran/{callback}", "UnduhExcelPembelajaran::getPembelajaran");
  230. $app->get("UnduhExcelPtk/getDaftarPtk", "UnduhExcelPtk::getDaftarPtk");
  231. $app->get("UnduhExcelPd/getDaftarPd", "UnduhExcelPd::getDaftarPd");
  232. $app->get("UnduhExcelSekolah/getProfilSekolah", "UnduhExcelSekolah::getProfilSekolah");
  233. $app->get("UnduhExcelSekolahSmk/getSekolahSmk", "UnduhExcelSekolahSmk::getSekolahSmk");
  234. $app->get("CetakRapor/getPerRombel/{rombongan_belajar_id}", "CetakRapor::getPerRombel");
  235. $app->get("WebService/getPengguna", "Info\\SekolahDetailTableInfo::getPengguna");
  236. $app->get("WebService/getSekolah", "Info\\SekolahDetailTableInfo::getSekolah");
  237. $app->get("WebService/getGtk", "Info\\SekolahDetailTableInfo::getGtk");
  238. $app->get("WebService/getPesertaDidik", "Info\\SekolahDetailTableInfo::getPesertaDidik");
  239. $app->get("WebService/getRombonganBelajar", "Info\\SekolahDetailTableInfo::getRombonganBelajar");
  240. $app->get("WebService/getPrasarana", "Info\\SekolahDetailTableInfo::getPrasarana");
  241. $app->post("WebService/getCustomQuery", "Info\\SekolahDetailTableInfo::getCustomQuery");
  242. $app->get("WebService/getValidation", "Info\\SekolahDetailTableInfo::getValidation");
  243. $app->post("auth/login", "Auth::getRolePeran");
  244. $app->get("checkVersion", function (Symfony\Component\HttpFoundation\Request $request) {
  245.     $validationObj = new DataDikdas\Validation();
  246.     $authObj = new DataDikdas\Auth();
  247.     if (!method_exists($validationObj, "getVersion") || !method_exists($authObj, "getVersion")) {
  248.         return "{'success': false, 'message': 'Terjadi kesalahan dalam sistem, version aplikasi tidak dikenali oleh sistem. #1'}";
  249.     }
  250.     if ($validationObj->getVersion() != $authObj->getVersion()) {
  251.         return "{'success': false, 'message': 'Terjadi kesalahan dalam sistem, version aplikasi tidak dikenali oleh sistem. #2'}";
  252.     }
  253.     return "{'success': true, 'message': 'OKE'}";
  254. });
  255. return $app;
  256.  
  257. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement