GO-2024-3190: Alist reflected Cross-Site Scripting vulnerability in github.com/alist-org/alist
package
Version:
v3.15.0
Opens a new window with list of versions in this module.
Published: Mar 25, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
-
type Addition
-
type SFTP
-
func (d *SFTP) Config() driver.Config
-
func (d *SFTP) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
-
func (d *SFTP) Drop(ctx context.Context) error
-
func (d *SFTP) GetAddition() driver.Additional
-
func (d *SFTP) Init(ctx context.Context) error
-
func (d *SFTP) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
-
func (d *SFTP) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
-
func (d *SFTP) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
-
func (d *SFTP) Move(ctx context.Context, srcObj, dstDir model.Obj) error
-
func (d *SFTP) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
-
func (d *SFTP) Remove(ctx context.Context, obj model.Obj) error
-
func (d *SFTP) Rename(ctx context.Context, srcObj model.Obj, newName string) error
type Addition struct {
Address string `json:"address" required:"true"`
Username string `json:"username" required:"true"`
PrivateKey string `json:"private_key" type:"text"`
Password string `json:"password"`
driver.RootPath
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.