<<>> === 1. access.log: apsess/token/login === 66.132.186.190 - - [26/Aug/2026:21:13:00 +0800] "GET /login HTTP/1.1" 404 146 "-" "Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)" 66.132.195.119 - - [28/Aug/2026:21:15:20 +0800] "GET /login HTTP/1.1" 404 146 "-" "Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)" 103.127.125.149 - - [01/Sep/2026:17:10:39 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788253839140525781&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10375 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:17:11:19 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/&ajax_request=true&ajax_page_request=true&_nocache=1788253879640683350&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 8630 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/index.php?route=/103.127.125.149 - - [01/Sep/2026:17:11:48 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788253908445814083&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10392 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:17:13:39 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788254019314217102&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10393 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:17:13:51 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/&ajax_request=true&ajax_page_request=true&_nocache=178825403151474803&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 8630 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/index.php?route=/d103.127.125.149 - - [01/Sep/2026:17:14:54 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788254094209691842&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10393 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:17:19:28 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/&ajax_request=true&ajax_page_request=true&_nocache=1788254368943988035&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 8630 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/index.php?route=/103.127.125.149 - - [01/Sep/2026:18:32:44 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=178825876425543249&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10463 "https://61.110.27.60:887/phpmyadmin_103.127.125.149 - - [01/Sep/2026:18:34:48 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788258888864972589&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10395 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:18:37:07 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788259027115832137&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10463 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:18:42:28 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788259348806558263&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1616 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:18:42:30 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788259350421540105&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10465 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:18:42:54 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788259374773944733&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10467 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:18:43:56 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/sql&db=information_schema&table=TABLES&sql_query=SELECT+CONCAT%28%27ALTER+TABLE+%60%27%2C+table_name%2C+%27%60+CONVERT+TO+CHARACTER+SET+utf8mb4+COLLATE+utf8mb4_general_ci%3B%27%29+AS+fix_code%0D%0AFRO103.127.125.149 - - [01/Sep/2026:18:43:56 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788259436482911913&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1616 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:18:44:13 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788259453465274524&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1616 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:18:44:15 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/&ajax_request=true&ajax_page_request=true&_nocache=1788259455198966360&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 8462 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/index.php?route=/103.127.125.149 - - [01/Sep/2026:18:44:28 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=178825946839871264&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10467 "https://61.110.27.60:887/phpmyadmin_103.127.125.149 - - [01/Sep/2026:18:47:47 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788259667781511168&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10464 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:18:48:47 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788259727498926055&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10393 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:18:59:22 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788260362709610944&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1631 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:18:59:24 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788260364882246681&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10439 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:00:23 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788260423094984945&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1631 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:00:24 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=178826042493828177&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10431 "https://61.110.27.60:887/phpmyadmin_103.127.125.149 - - [01/Sep/2026:19:03:05 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788260585765130429&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10432 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:03:50 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788260631162224431&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1631 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:03:53 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788260633200414270&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10417 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:04:23 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sssbd_cc&ajax_request=true&ajax_page_request=true&_nocache=1788260663713897398&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10409 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:06:08 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788260768882347330&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10466 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:07:33 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788260853644525053&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1643 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:07:34 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788260854978563130&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10468 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:08:01 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788260881444412827&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:08:02 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788260882566419444&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10466 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:33:24 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262404454109342&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10466 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:34:13 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788262454052856597&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:34:16 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262456315800666&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10469 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:35:05 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262505649922401&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10464 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:36:27 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788262587440476573&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:36:29 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262589397302312&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10465 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:37:03 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=178826262332171408&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/ind103.127.125.149 - - [01/Sep/2026:19:37:04 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262624585872187&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10464 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:37:23 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788262643043576438&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:37:23 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262643888618793&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10464 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:39:23 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788262763466856127&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:39:24 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262764397997057&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10467 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:41:00 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788262860661546892&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:41:01 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262861514323583&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10493 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:42:23 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788262943578792768&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:42:24 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788262944623193613&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10430 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:43:51 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=178826303198367424&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/ind103.127.125.149 - - [01/Sep/2026:19:44:04 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788263044299801484&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:44:06 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/&ajax_request=true&ajax_page_request=true&_nocache=1788263047002761533&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 8462 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/index.php?route=/103.127.125.149 - - [01/Sep/2026:19:44:14 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788263054389383964&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10432 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:45:31 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788263131705165793&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:45:32 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=1788263132583801417&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10429 "https://61.110.27.60:887/phpmyadmin103.127.125.149 - - [01/Sep/2026:19:46:05 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/recent-table&ajax_request=1&recent_table=1&no_debug=true&_nocache=1788263165372875295&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 1657 "https://61.110.27.60:887/phpmyadmin_59db9dc7860114dd/in103.127.125.149 - - [01/Sep/2026:19:46:06 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=178826316624336962&token=2c61344e337a452c2d623f4977405a56 HTTP/1.1" 200 10411 "https://61.110.27.60:887/phpmyadmin_103.127.125.149 - - [01/Sep/2026:22:52:59 +0800] "GET /phpmyadmin_59db9dc7860114dd/index.php?route=/database/structure&db=sql_sbhot_cc&ajax_request=true&ajax_page_request=true&_nocache=178827438035224936&token=704a4a247b41684d5771382a2e3f706d HTTP/1.1" 200 10407 "https://61.110.27.60:887/phpmyadmin_ === 2. chigs.cyou.log tail: apsess/ExecShell === hits=0 === 3. app.py head (auth routes) === # coding: utf-8 # +------------------------------------------------------------------- # | aapanel # +------------------------------------------------------------------- # | Copyright (c) 2015-2099 aapanel(http://www.aapanel.com) All rights reserved. # +------------------------------------------------------------------- # | Author: hwliang # +------------------------------------------------------------------- import logging import sys import json import os import threading import time import re import uuid import psutil import urllib.parse panel_path = '/www/server/panel' if not os.name in ['nt']: os.chdir(panel_path) if not 'class/' in sys.path: sys.path.insert(0, 'class/') if not 'class_v2/' in sys.path: sys.path.insert(0, 'class_v2/') from flask import Flask, session, render_template, send_file, request, redirect, g, make_response, \ render_template_string, abort, stream_with_context, Response as Resp from cachelib import SimpleCache, SimpleCacheSession from werkzeug.wrappers import Response from werkzeug.routing import BaseConverter from flask_session import Session from flask_compress import Compress cache = SimpleCache(5000) import public # class RestrictedImportHook: # def __init__(self, allowed_modules): # self.allowed_modules = allowed_modules # # def find_spec(self, fullname, path, target=None): # # 判断当前导入是否是功能模块,如果是则禁止导入 # if fullname in self.allowed_modules: # return None # return self # # def loader(self, fullname): # # 不禁止public模块的导入 # if fullname == 'public': # pass # # # 其他功能模块 不能互相导入 # # elif fullname in ['aaa', 'bbb', 'ccc']: # # return APIModuleLoader(self.allowed_module) # 设置导入钩子 # sys.meta_path.insert(0, RestrictedImportHook(['panelPlugin', 'pay', 'ols', 'wxapp'])) # sys.meta_path.insert(0, RestrictedImportHook(['wxapp'])) # class APIModuleLoader: # def __init__(self, allowed_module): # self.allowed_module = allowed_module # # def exec_module(self, module): # if self.allowed_module != 'public': # raise ImportError(f"API module '{self.allowed_module}' cannot import other API modules") # # if module.__name__ != 'public': # module.__dict__['public'] = sys.modules['public'] # # 设置导入钩子 # sys.meta_path.insert(0, RestrictedImportHook('publ <<>> 骚雪儿~啪啪大秀吮吸奶头法式亲吻骚水多多鸡巴干不爽道具来凑浪叫呻吟~连续打桩极致诱惑.在线播放--2026最新黑料 网爆 学生 高清视频在线播放