Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyze the service usage and remove unused scripts and APIs #217

Closed
Tracked by #212
uier opened this issue Jun 6, 2023 · 5 comments
Closed
Tracked by #212

Analyze the service usage and remove unused scripts and APIs #217

uier opened this issue Jun 6, 2023 · 5 comments
Assignees

Comments

@uier
Copy link
Member

uier commented Jun 6, 2023

No description provided.

@uier uier self-assigned this Jun 6, 2023
@uier
Copy link
Member Author

uier commented Jun 6, 2023

人工撿起來的

188141 GET /problem
87048 GET /submission/[wd-]*
65665 GET /auth/me
35215 GET /submission
19185 PUT /submission/[wd-]*
19073 GET /test
16780 GET /course/[wd-]*
12664 GET /ann
12172 POST /auth/session
11337 GET /course/[wd-]*/homework
9593  POST /submission
9382  GET /health
8361  GET /course/[wd-]*/ann
8271  GET /course
1045  GET /ann/[wd-]*
731   GET /post/[wd-]*
468   GET /auth/session
421   PUT /problem
356   GET /homework/[wd-]*
346   POST /auth/check/email
314   GET /ann/[wd-]*/[wd-]*
251   GET /
188   POST /auth/check/username
178   GET /course/[wd-]*/scoreboard
172   POST /auth/change-password
134   POST /problem
117   GET /copycat
64    PATCH /homework/[wd-]*
46    POST /auth/resend-email
45    POST /auth/password-recovery
33    PUT /homework/[wd-]*
26    POST /homework
26    POST /copycat
25    DELETE /problem
22    POST /auth/signup
17    POST /auth/batch-signup
7     PUT /course/[wd-]*
6     PUT /ann
4     POST /course
4     POST /
3     GET /api/ann
3     GET /admin
3     POST /profile
3     POST /post
3     GET /health/
2     GET /api/auth/me
2     GET /ads.txt
2     GET /auth/sessisdfon
2     GET /courses
2     POST /ann
2     DELETE /ann
2     GET /m/
2     GET /app/
2     GET /homes/
2     GET /server-status
2     GET /api/search
2     GET /homework
2     DELETE /course/[wd-]*
2     GET /user
2     GET /about
1     POST /auth/login
1     GET /auth/login
1     GET /copycat/
Full LOG
188141 GET /problem
87048 GET /submission/[wd-]*
65665 GET /auth/me
35215 GET /submission
19185 PUT /submission/[wd-]*
19073 GET /test
16780 GET /course/[wd-]*
12664 GET /ann
12172 POST /auth/session
11337 GET /course/[wd-]*/homework
9593  POST /submission
9382  GET /health
8361  GET /course/[wd-]*/ann
8271  GET /course
1045  GET /ann/[wd-]*
731   GET /post/[wd-]*
468   GET /auth/session
421   PUT /problem
356   GET /homework/[wd-]*
346   POST /auth/check/email
314   GET /ann/[wd-]*/[wd-]*
272   GET /robots.txt
251   GET /
188   POST /auth/check/username
178   GET /course/[wd-]*/scoreboard
172   POST /auth/change-password
144   GET /favicon.ico
134   POST /problem
117   GET /copycat
64    PATCH /homework/[wd-]*
46    POST /auth/resend-email
45    POST /auth/password-recovery
33    PUT /homework/[wd-]*
26    POST /homework
26    POST /copycat
25    DELETE /problem
22    POST /auth/signup
17    POST /auth/batch-signup
8     GET /.env
7     PUT /course/[wd-]*
7     GET /.git/config
6     PUT /ann
5     GET /wp-includes/wlwmanifest.xml
4     POST /course
4     GET /sitemap.xml
4     POST /
3     GET /api/ann
3     GET /admin
3     POST /profile
3     POST /post
3     GET /h5/
3     GET /telescope/requests
3     GET /login.action
3     GET /config.json
3     GET /v2/_catalog
3     GET /health/
2     GET /api/auth/me
2     GET /ads.txt
2     GET /auth/sessisdfon
2     GET /courses
2     POST /ann
2     DELETE /ann
2     GET /apple-touch-icon-precomposed.png
2     GET /apple-touch-icon.png
2     GET /m/
2     GET /app/
2     GET /homes/
2     GET /css/all.css
2     GET /proxy/games
2     GET /js/common.js
2     GET /img/close.png
2     GET /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application
2     GET /.DS_Store
2     GET /server-status
2     GET /info.php
2     GET /api/search
2     GET /homework
2     GET /vendor/.env
2     GET /admin/.env
2     GET /blog/.env
2     GET /laravel/.env
2     GET /dev/.env
2     GET /test/.env
2     GET /portal/.env
2     GET /project/.env
2     GET /assets/.env
2     GET /shop/.env
2     GET /dashboard/.env
2     GET /public/.env
2     GET /app/.env
2     GET /production/.env
2     GET /sites/all/libraries/mailchimp/.env
2     GET /www/.env
2     GET /protected/.env
2     GET /core/.env
2     GET /base/.env
2     GET /src/.env
2     GET /cgi-bin/.env
2     GET /apps/.env
2     GET /wp-content/.env
2     GET /wp-admin/.env
2     GET /library/.env
2     GET /new/.env
2     GET /old/.env
2     GET /local/.env
2     GET /crm/.env
2     GET /audio/.env
2     GET /app/config/.env
2     GET /api/.env
2     GET /conf/.env
2     GET /database/.env
2     GET /api.noj.tw/.env
2     GET /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
2     DELETE /course/[wd-]*
2     GET /_ignition/health-check/
2     GET /public/_ignition/health-check/
2     GET /.remote
2     GET /.local
2     GET /.production
2     GET //vendor/.env
2     GET //lab/.env
2     GET //cronlab/.env
2     GET //cron/.env
2     GET //core/.env
2     GET //core/app/.env
2     GET //core/Datavase/.env
2     GET //database/.env
2     GET //config/.env
2     GET //assets/.env
2     GET //app/.env
2     GET //apps/.env
2     GET //uploads/.env
2     GET //sitemaps/.env
2     GET //saas/.env
2     GET //api/.env
2     GET //psnlink/.env
2     GET //exapi/.env
2     GET //site/.env
2     GET //admin/.env
2     GET //web/.env
2     GET //public/.env
2     GET //en/.env
2     GET //tools/.env
2     GET //v1/.env
2     GET //v2/.env
2     GET //administrator/.env
2     GET //laravel/.env
2     GET /user
2     GET /about
1     GET /7e6172fee471df3ca1c2.hot-update.json
1     GET /wp-content/
1     GET /aa39905ddf2728fed38a.hot-update.json
1     GET /cc0ded161bf755554187.hot-update.json
1     POST /auth/login
1     GET /auth/login
1     GET /47478858aa29f47629ef.hot-update.json
1     GET /copycat/
1     GET /wap
1     GET /static/index/css/iindex.css
1     GET /otc/
1     GET /wap/
1     GET /m
1     GET /im/h5/
1     GET /login
1     GET /site.js
1     GET /reg.php
1     GET /api/apps
1     GET /logo.png
1     GET /step1.asp
1     GET /mtja.html
1     GET /sdk.html
1     GET /site/info
1     GET /user/Login
1     GET /js/home.js
1     GET /js/pups.js
1     GET /api/linkPF
1     GET /api/ht/xy1
1     GET /index/aurl
1     GET /login.html
1     GET /admin/index
1     GET /home/help
1     GET /Css/Hm.css
1     POST /api/im/conf
1     GET /js/a.script
1     GET /index.html
1     GET /css/main.css
1     GET /index/user/get_server_info
1     GET /js/onLine.js
1     GET /m/allticker/1
1     GET /nyyh/game.css
1     GET /nyyh/chkjs.js
1     GET /waplogin.php
1     GET /gaga/city.php
1     GET /im/in/GetUuid
1     GET /img/login.png
1     GET /lib/public.js
1     GET /css/other.css
1     GET /api/getonLine
1     GET /ctl/login.php
1     GET /thriveGame.css
1     GET /index.php/sign
1     GET /js/tvConfig.js
1     GET /api/contactWay
1     GET /img/zllqdk.png
1     GET /app/js/base.js
1     GET /res/kuai/1.css
1     GET /im/App/config
1     GET /index/newapi/api
1     GET /m/ticker/usdtqc
1     GET /mobile/lists.html
1     GET /manager/js/left.js
1     GET /views/home/home.js
1     POST /api/app/config_new
1     GET /api/getconfig.aspx
1     GET /common/download.js
1     GET /room/script/face.js
1     GET /api/index/loansList
1     GET /xy/image/jiantou.png
1     GET /Public/css/_pk10.css
1     GET /api/wallet/redDetail
1     GET /static/css/index.css
1     GET /api/index/grailindex
1     POST /user/getAllNicknames
1     GET /detail1/js/add.js
1     GET /1-200611214053U8.jpg
1     GET /static/js/common.js
1     GET /api/user/ismustmobile
1     GET /index/home/login.html
1     GET /static/mobile/user.html
1     GET /static/tabBar/trade.png
1     GET /ccsj/common/download.js
1     GET /index_files/bankCheck.js
1     GET /static/home/js/rooms.js
1     GET /phone/images/icon_01.png
1     GET /m/lotto-h5/manifest.json
1     GET /bjfsj/common/download.js
1     GET /cksfq/common/download.js
1     GET /static/home/css/new_cfb.css
1     GET /resource/home/css/person.css
1     GET /portal/index/protocol.html
1     GET /assets/room/css/room_mobile.css
1     GET /newApp/winMessTopQuery.php
1     GET /template/mb/lang/text-zh.json
1     POST /api/system/systemConfigs/getCustomerServiceLink
1     GET /attachment/2021-11/2021110719142516384p.jpg
1     GET /style.css
1     GET /js/post.js/
1     GET /skin/js/common.js
1     GET /data/json/config.json
1     GET /header
1     GET /submission%E2%80%A6
1     GET /s/3134302e3132322e3138342e323037/_/;/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.properties
1     GET /debug/default/view
1     GET /zyfeyxazpjDWi
1     GET /health/livez
1     POST /course/[wd-]*
1     GET /api
1     GET /UqZPFfldD
1     GET /cloud-config.yml
1     GET /ruby/config/storage.yml
1     GET /administrator/index.php
1     GET /view-source:
1     GET /misc/ajax.js
1     GET /s/7343e23363e21323e2430313/_/;/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.properties
1     GET //lib/.env
1     GET /site/default/settings.php.1
1     GET /app/etc/env.php.tmp
1     GET /config/config_global.php.backup
1     GET /config/config_global.php.tmp
1     GET /config/config_global.php.old
1     GET /Application/Common/Conf/config.php.tmp
1     GET /Application/Common/Conf/config.php.save
1     GET /system/config/default.php.bak
1     GET /app/etc/env.php.old
1     GET /typo3conf/localconf.php.old
1     GET /environments/prod/common/config/main-local.php.old
1     GET /config/config_global.php.bak
1     GET /system/config/default.php.tmp
1     GET /environments/dev/common/config/main-local.php.txt
1     GET /typo3conf/localconf.php.save
1     GET /installation/configuration.php.bak
1     GET /typo3conf/localconf.php.1
1     GET /environments/prod/common/config/main-local.php.bak
1     GET /common/config/main-local.php.tmp
1     GET /textpattern/config.php.save
1     GET /e/config/config.php.save
1     GET /caches/configs/system.php.1
1     GET /zb_users/c_option.php.txt
1     GET /data/common.inc.php.1
1     GET /config/config.php.txt
1     GET /textpattern/config.php.bak
1     GET /data/common.inc.php.old
1     GET /zb_users/c_option.php.bak

@AlaRduTP
Copy link
Member

AlaRduTP commented Jun 6, 2023

這是什麼 log 怎麼有些請求看起來像是在攻擊 ...

@Bogay
Copy link
Member

Bogay commented Jun 6, 2023

正常吧?畢竟是公開的

@uier
Copy link
Member Author

uier commented Jun 6, 2023

已更新,把垃圾資訊拿掉

@uier
Copy link
Member Author

uier commented Jun 6, 2023

@AlaRduTP @as535364

依照類別整理

188141 GET /problem
421   PUT /problem
134   POST /problem
25    DELETE /problem

65665 GET /auth/me
12172 POST /auth/session
468   GET /auth/session
346   POST /auth/check/email
188   POST /auth/check/username
172   POST /auth/change-password
46    POST /auth/resend-email
45    POST /auth/password-recovery
22    POST /auth/signup
17    POST /auth/batch-signup
1     POST /auth/login
1     GET /auth/login

12664 GET /ann
1045  GET /ann/[wd-]*
314   GET /ann/[wd-]*/[wd-]*

87048 GET /submission/[wd-]*
35215 GET /submission
19185 PUT /submission/[wd-]*
9593  POST /submission

19073 GET /test

16780 GET /course/[wd-]*
11337 GET /course/[wd-]*/homework
8361  GET /course/[wd-]*/ann
8271  GET /course
178   GET /course/[wd-]*/scoreboard
7     PUT /course/[wd-]*
4     POST /course
2     GET /courses
2     DELETE /course/[wd-]*

9382  GET /health
3     GET /health/

731   GET /post/[wd-]*
3     POST /post

356   GET /homework/[wd-]*
64    PATCH /homework/[wd-]*
33    PUT /homework/[wd-]*
26    POST /homework
2     GET /homework

251   GET /
4     POST /

117   GET /copycat
26    POST /copycat
1     GET /copycat/

6     PUT /ann
2     POST /ann
2     DELETE /ann

3     GET /api/ann
3     GET /admin
3     POST /profile
2     GET /auth/sessisdfon
2     GET /m/
2     GET /app/
2     GET /homes/
2     GET /server-status
2     GET /api/search
2     GET /user
2     GET /about

@Bogay Bogay mentioned this issue Jun 6, 2023
Bogay added a commit that referenced this issue Jun 7, 2023
@uier uier closed this as completed Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants