MCPcopy Create free account

hub / github.com/catatsuy/private-isu / functions

Functions209 in github.com/catatsuy/private-isu

↓ 40 callersFunctionredirect
(Response $response, $location, $status)
webapp/php/index.php:174
↓ 26 callersFunctionescape_html
($h)
webapp/php/index.php:170
↓ 22 callersMethodPlay
(s *Session)
benchmarker/checker/action.go:56
↓ 22 callersFunctionget_session_user
()
webapp/python/app.py:123
↓ 19 callersFunctiongetTemplPath
(filename string)
webapp/golang/app.go:263
↓ 19 callersFunctionrandomUser
(users []user)
benchmarker/cli.go:229
↓ 16 callersMethodFail
(point int64, req *http.Request, err error)
benchmarker/checker/session.go:171
↓ 16 callersMethodGet
(key string)
benchmarker/cache/cache.go:25
↓ 16 callersFunctioncheckHTML
(f func(*goquery.Document) error)
benchmarker/scenario.go:17
↓ 14 callersFunctiondb
()
webapp/python/app.py:48
↓ 13 callersFunctionset
(target, prop, value)
webapp/node/src/app.ts:177
↓ 12 callersFunctiongetSession
(r *http.Request)
webapp/golang/app.go:141
↓ 12 callersFunctiongetSessionUser
(c: AppContext)
webapp/node/src/app.ts:328
↓ 11 callersFunctiongetSessionUser
(r *http.Request)
webapp/golang/app.go:147
↓ 11 callersMethodget_session_user
()
webapp/ruby/app.rb:92
↓ 10 callersFunctionextractImages
(doc *goquery.Document)
benchmarker/scenario.go:37
↓ 9 callersMethodSet
(key string, value *URLCache)
benchmarker/cache/cache.go:32
↓ 9 callersMethodconfig
webapp/ruby/app.rb:21
↓ 9 callersFunctiongetCSRFToken
(r *http.Request)
webapp/golang/app.go:246
↓ 8 callersFunctionisLogin
(u User)
webapp/golang/app.go:242
↓ 8 callersFunctionloadImages
1ページに表示される画像にリクエストする TODO: 画像には並列リクエストするべきでは?
benchmarker/scenario.go:29
↓ 8 callersFunctionmake_posts
(results, all_comments=False)
webapp/python/app.py:132
↓ 7 callersMethodPlay
(s *Session)
benchmarker/checker/action.go:142
↓ 7 callersFunctionensureString
(value: ParsedBodyValue)
webapp/node/src/app.ts:337
↓ 7 callersFunctionloadAssets
普通のページに表示されるべき静的ファイルに一通りアクセス
benchmarker/scenario.go:62
↓ 7 callersFunctionmakeChanBool
(len int)
benchmarker/cli.go:221
↓ 7 callersFunctionrender
(c: AppContext, view: string, params: RenderParams)
webapp/node/src/app.ts:320
↓ 6 callersMethodcreate
portal/app/controllers/jobs_controller.rb:4
↓ 6 callersFunctionrandomImage
(images []*checker.Asset)
benchmarker/cli.go:233
↓ 6 callersFunctionrandomSentence
(sentences []string)
benchmarker/cli.go:237
↓ 5 callersMethodSuccess
(point int64)
benchmarker/checker/session.go:167
↓ 5 callersFunctiont
(e,t)
webapp/public/js/timeago.min.js:1
↓ 4 callersMethodNewRequest
(method, uri string, body io.Reader)
benchmarker/checker/session.go:82
↓ 4 callersFunctioncalculate_passhash
(account_name: str, password: str)
webapp/python/app.py:119
↓ 4 callersFunctiondigest
(src: str)
webapp/python/app.py:105
↓ 4 callersFunctionmakePosts
(ctx context.Context, results []Post, csrfToken string, allComments bool)
webapp/golang/app.go:178
↓ 4 callersFunctionmakePosts
(posts: Post[], options: { allComments?: boolean } = {})
webapp/node/src/app.ts:306
↓ 4 callersMethodmake_posts
(results, all_comments: false)
webapp/ruby/app.rb:102
↓ 4 callersFunctionoutputResultJSON
(pass bool, messages []string)
benchmarker/cli.go:202
↓ 3 callersMethodRun
Run invokes the CLI with the given arguments.
benchmarker/cli.go:51
↓ 3 callersMethodSendRequest
(req *http.Request)
benchmarker/checker/session.go:161
↓ 3 callersMethoddb
webapp/ruby/app.rb:33
↓ 3 callersFunctiongetFlash
(w http.ResponseWriter, r *http.Request, key string)
webapp/golang/app.go:165
↓ 2 callersFunctionGetFailErrorsInstance
()
benchmarker/score/fail.go:17
↓ 2 callersMethodGetFails
()
benchmarker/score/score.go:45
↓ 2 callersMethodPlay
(s *Session)
benchmarker/checker/action.go:230
↓ 2 callersFunctionbanScenario
新規登録→画像投稿→banされる
benchmarker/scenario.go:482
↓ 2 callersFunctioncalculatePasshash
(ctx context.Context, accountName, password string)
webapp/golang/app.go:137
↓ 2 callersFunctioncalculatePasshash
(accountName: string, password: string)
webapp/node/src/app.ts:225
↓ 2 callersFunctioncalculate_passhash
($account_name, $password)
webapp/php/index.php:207
↓ 2 callersFunctioncalculate_salt
(account_name: str)
webapp/python/app.py:115
↓ 2 callersFunctioncannotAccessAdminScenario
管理者ユーザーでないなら /admin/banned にアクセスできない
benchmarker/scenario.go:381
↓ 2 callersFunctioncannotLoginNonexistentUserScenario
適当なユーザー名でログインしようとする ログインできないことをチェック
benchmarker/scenario.go:334
↓ 2 callersFunctioncannotLoginWrongPasswordScenario
誤ったパスワードでログインできない
benchmarker/scenario.go:358
↓ 2 callersFunctioncannotPostWrongCSRFTokenScenario
間違ったCSRF Tokenで画像を投稿できない
benchmarker/scenario.go:402
↓ 2 callersFunctioncommentScenario
ログインして /@:account_name のページにアクセスして一番上の投稿にコメントする 簡略化のために画像や静的ファイルへのアクセスはスキップする
benchmarker/scenario.go:220
↓ 2 callersFunctionconfig
()
webapp/python/app.py:23
↓ 2 callersFunctiond
(e,t)
webapp/public/js/timeago.min.js:1
↓ 2 callersFunctiondigest
(ctx context.Context, src string)
webapp/golang/app.go:122
↓ 2 callersFunctiondigest
($src)
webapp/php/index.php:197
↓ 2 callersFunctiondigest
(src: string)
webapp/node/src/app.ts:208
↓ 2 callersFunctiondigest
(src)
benchmarker/userdata/load.rb:8
↓ 2 callersMethoddigest
(src)
webapp/ruby/app.rb:79
↓ 2 callersFunctionescapeQuotes
(s string)
benchmarker/checker/session.go:106
↓ 2 callersFunctionescapeshellarg
今回のGo実装では言語側のエスケープの仕組みが使えないのでOSコマンドインジェクション対策できない 取り急ぎPHPのescapeshellarg関数を参考に自前で実装 cf: http://jp2.php.net/manual/ja/function.escapeshellarg.php
webapp/golang/app.go:118
↓ 2 callersFunctiongetUser
(userId: number)
webapp/node/src/app.ts:255
↓ 2 callersFunctionh
(e)
webapp/public/js/timeago.min.js:1
↓ 2 callersFunctioni
(e)
webapp/public/js/timeago.min.js:1
↓ 2 callersFunctionl
(e,t)
webapp/public/js/timeago.min.js:1
↓ 2 callersFunctionloginScenario
ログインすると右上にアカウント名が出て、ログインしないとアカウント名が出ない 画像のキャッシュにSet-Cookieを含んでいた場合、/にアカウント名が含まれる
benchmarker/scenario.go:429
↓ 2 callersFunctiono
(e)
webapp/public/js/timeago.min.js:1
↓ 2 callersFunctionoutputNeedToContactUs
主催者に連絡して欲しいエラー
benchmarker/cli.go:217
↓ 2 callersFunctionpostImageScenario
ログインして画像を投稿する 簡略化のために画像や静的ファイルへのアクセスはスキップする
benchmarker/scenario.go:280
↓ 2 callersFunctionsecureRandomStr
(b int)
webapp/golang/app.go:255
↓ 2 callersFunctiontry_login
(account_name, password)
webapp/python/app.py:85
↓ 2 callersFunctionv
(e)
webapp/public/js/timeago.min.js:1
↓ 2 callersFunctionvalidate_user
(account_name: str, password: str)
webapp/python/app.py:97
↓ 1 callersMethodAppend
(e error)
benchmarker/score/fail.go:73
↓ 1 callersMethodApply
(req *http.Request)
benchmarker/cache/cache.go:84
↓ 1 callersMethodAvailable
()
benchmarker/cache/cache.go:80
↓ 1 callersFunctionGetFailErrors
()
benchmarker/score/fail.go:26
↓ 1 callersFunctionGetFailRawErrors
()
benchmarker/score/fail.go:41
↓ 1 callersFunctionGetMD5
(data []byte)
benchmarker/util/util.go:10
↓ 1 callersMethodGetScore
()
benchmarker/score/score.go:27
↓ 1 callersMethodGetSucesses
()
benchmarker/score/score.go:38
↓ 1 callersFunctionNewCacheStore
()
benchmarker/cache/cache.go:17
↓ 1 callersMethodNewFileUploadRequest
(uri string, params map[string]string, paramName string, asset *Asset)
benchmarker/checker/session.go:110
↓ 1 callersMethodSetFails
(point int64)
benchmarker/score/score.go:59
↓ 1 callersMethodSetScore
(point int64)
benchmarker/score/score.go:52
↓ 1 callersFunction_parse_iso8601
(s)
webapp/python/app.py:343
↓ 1 callersFunctioncalculateSalt
(ctx context.Context, accountName string)
webapp/golang/app.go:133
↓ 1 callersFunctioncalculate_passhash
(password, account_name)
benchmarker/userdata/load.rb:16
↓ 1 callersFunctioncalculate_salt
($account_name)
webapp/php/index.php:203
↓ 1 callersFunctioncalculate_salt
(account_name)
benchmarker/userdata/load.rb:12
↓ 1 callersFunctiondbInitialize
(ctx context.Context)
webapp/golang/app.go:82
↓ 1 callersFunctiondbInitialize
()
webapp/node/src/app.ts:260
↓ 1 callersFunctiondb_initialize
()
webapp/python/app.py:59
↓ 1 callersMethoddb_initialize
webapp/ruby/app.rb:49
↓ 1 callersFunctiondeleteSessionFromStore
(sid: string)
webapp/node/src/app.ts:138
↓ 1 callersFunctiondestroySession
(c: AppContext)
webapp/node/src/app.ts:151
next →1–100 of 209, ranked by callers