unAuth

package
v0.0.0-...-5c2df23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddComment

func AddComment(c *gin.Context)

AddComment adds a new comment

func CMD1

func CMD1(c *gin.Context)

func CMD2

func CMD2(c *gin.Context)

func Cors1

func Cors1(c *gin.Context)

func Cors2

func Cors2(c *gin.Context)

func Corssafe

func Corssafe(c *gin.Context)

func DirFile

func DirFile(c *gin.Context)

func FileRead

func FileRead(c *gin.Context)

func Fileremove

func Fileremove(c *gin.Context)

arbitrary file remove

func GetComments

func GetComments(c *gin.Context)

GetComments gets all comments

func GetImage

func GetImage(c *gin.Context)

Bad case

func GetImageSafe

func GetImageSafe(c *gin.Context)

func Redirect

func Redirect(c *gin.Context)

func SafeAddComment

func SafeAddComment(c *gin.Context)

AddComment adds a new comment

func SafeGetComments

func SafeGetComments(c *gin.Context)

GetComments gets all comments

func SafeRedirect

func SafeRedirect(c *gin.Context)

func Sqlli

func Sqlli(c *gin.Context)

func SqlliById

func SqlliById(c *gin.Context)

func SqlliSafe

func SqlliSafe(c *gin.Context)

func Unzip

func Unzip(c *gin.Context)

bad: arbitrary file write

func Unzipsafe

func Unzipsafe(c *gin.Context)

safe fix

func Xss

func Xss(c *gin.Context)

Types

type MyMsg

type MyMsg struct {
	Domain   string `json:"domain"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL