chore: bootstrap CHFS NG workspace
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# CHFS v4 reverse engineering notes
|
||||
|
||||
Base image: docblue/chfs:v4.0beta.min
|
||||
Go: 1.18.1
|
||||
Build revision: c430c39551e5e2e5c18aa57cdcc734814f795e4e
|
||||
Build time: 2024-11-14T13:41:08Z
|
||||
vcs.modified=true
|
||||
|
||||
Recovered modules:
|
||||
- chfs/account: account, permission, token
|
||||
- chfs/homedir
|
||||
- chfs/mylog/ops
|
||||
- chfs/util/pajfile
|
||||
- main: HTTP handlers, configuration, MulPathMgr, WebDAV, ignore filtering
|
||||
- webdav: embedded WebDAV implementation
|
||||
|
||||
Recovered HTTP endpoints include:
|
||||
/chfs/session /chfs/files /chfs/newdir /chfs/rename /chfs/search /chfs/shared
|
||||
/chfs/upload /chfs/upload2 /chfs/newtext /chfs/preview /chfs/rmfiles
|
||||
/chfs/updatetext /chfs/exist /chfs/downloaddir/ /webdav
|
||||
@@ -0,0 +1,100 @@
|
||||
main
|
||||
chfs/account
|
||||
chfs/account.init.0
|
||||
chfs/account.HasAccount
|
||||
chfs/account.HasAccount.func1
|
||||
chfs/account.AddAccount
|
||||
chfs/account.ValidateAccount
|
||||
chfs/account.ValidateAccount.func1
|
||||
chfs/account.ValidatePermMask
|
||||
chfs/account.PermMask.HasNonePermission
|
||||
chfs/account.PermMask.HasReadPermission
|
||||
chfs/account.PermMask.HasWritePermission
|
||||
chfs/account.PermMask.HasDeletePermission
|
||||
chfs/account.AccessMask
|
||||
chfs/account.AccessMask.func1
|
||||
chfs/account.CreateToken
|
||||
chfs/account.GetAccFromToken.func1
|
||||
chfs/account.GetAccFromToken
|
||||
chfs/account.GetAccFromToken.func2
|
||||
chfs/account.(*PermMask).HasDeletePermission
|
||||
chfs/account.(*PermMask).HasNonePermission
|
||||
chfs/account.(*PermMask).HasReadPermission
|
||||
chfs/account.(*PermMask).HasWritePermission
|
||||
chfs/homedir.Dir
|
||||
chfs/homedir.dirUnix
|
||||
chfs/icons.GetFileIcon
|
||||
chfs/mylog/ops.InitOpsLog
|
||||
chfs/mylog/ops.Output
|
||||
chfs/mylog/ops.Output.func1
|
||||
chfs/util/pajfile.IsFilePathExist
|
||||
main.parseAllowAddresses
|
||||
main.addIP
|
||||
main.checkIPisAllow
|
||||
main.login
|
||||
main.getTokenFromCookies
|
||||
main.logout
|
||||
main.createZipImpl
|
||||
main.createZipImpl.func1
|
||||
main.(*GitIgnore).MatchesPath
|
||||
main.downloadDir
|
||||
main.listfile
|
||||
main.listfile.func2
|
||||
main.listfile.func1
|
||||
main.deletefile
|
||||
main.deletefile.func1
|
||||
main.rename
|
||||
main.createDir
|
||||
main.newtext
|
||||
main.updatetext
|
||||
main.upload2
|
||||
main.upload2.func4
|
||||
main.upload2.func3
|
||||
main.upload2.func2
|
||||
main.upload2.func1
|
||||
main.upload
|
||||
main.upload.func4
|
||||
main.upload.func3
|
||||
main.upload.func2
|
||||
main.upload.func1
|
||||
main.isexist
|
||||
main.responseError
|
||||
main.previewHandler.func1
|
||||
main.previewHandler
|
||||
main.previewHandler.func2
|
||||
main.search
|
||||
main.search.func2
|
||||
main.search.func1
|
||||
main.parseConfigurationFile
|
||||
main.report
|
||||
main.report.func1
|
||||
main.init.0
|
||||
main.CompileIgnoreLines
|
||||
main.getPatternFromLine
|
||||
main.(*GitIgnore).matchesPathHow
|
||||
main.main.func1
|
||||
main.main
|
||||
main.main.func3
|
||||
main.main.func2
|
||||
main.(*filterRouter).ServeHTTP
|
||||
main.checkIPv4
|
||||
main.compareVer
|
||||
main.splitArray2Rows
|
||||
main.myRender
|
||||
main.myRender.func1
|
||||
main.getLocalIPs
|
||||
main.makeSites
|
||||
main.getLatestVerFromServer
|
||||
main.clientIP
|
||||
main.whoami
|
||||
main.parseCLI
|
||||
main.initMulPathMgr
|
||||
main.(*MulPathMgr).Find
|
||||
main.(*MulPathMgr).extractFileName
|
||||
main.(*MulPathMgr).realPath
|
||||
main.(*MulPathMgr).matched
|
||||
main.(*MulPathMgr).realPathForFile
|
||||
main.(*MulPathMgr).peelRealRootPath
|
||||
main.(*MulPathMgr).subRealRootPath
|
||||
main.webdavHandler
|
||||
main.init
|
||||
Reference in New Issue
Block a user