Versions in this module Expand all Collapse all v1 v1.9.9 May 5, 2023 GO-2024-2462GO-2024-2463GO-2024-2464 GO-2024-2462: Arbitrary command execution in github.com/0xJacky/Nginx-UI GO-2024-2463: SQL injection in github.com/0xJacky/Nginx-UI GO-2024-2464: Remote command execution in github.com/0xJacky/Nginx-UI Changes in this version + const Alert + const Crit + const Debug + const Emerg + const Error + const Info + const Location + const Notice + const Server + const Upstream + const Warn + func FmtCode(content string) (fmtContent string) + func GetConfPath(dir ...string) string + func GetLogLevel(output string) int + func GetNginxPIDPath() string + func Reload() string + func Restart() string + func TestConf() string + type NgxConfig struct + Custom string + FileName string + Name string + Servers []*NgxServer + Upstreams []*NgxUpstream + func NewNgxConfig(filename string) *NgxConfig + func ParseNgxConfig(filename string) (ngxConfig *NgxConfig, err error) + func ParseNgxConfigByContent(content string) (ngxConfig *NgxConfig) + func (c *NgxConfig) BuildConfig() (content string) + func (c *NgxConfig) FmtCode() (fmtContent string) + type NgxDirective struct + Comments string + Directive string + Params string + func (d *NgxDirective) Orig() string + func (d *NgxDirective) ParseDirective(directive gonginx.IDirective, deep int) + func (d *NgxDirective) TrimParams() + type NgxLocation struct + Comments string + Content string + Path string + func (l *NgxLocation) ParseLocation(directive gonginx.IDirective, deep int) + type NgxServer struct + Comments string + Directives []*NgxDirective + Locations []*NgxLocation + func NewNgxServer() *NgxServer + func (s *NgxServer) ParseServer(directive gonginx.IDirective) + type NgxUpstream struct + Comments string + Directives []*NgxDirective + Name string v1.9.9-4 May 6, 2023 GO-2024-2462GO-2024-2463GO-2024-2464 GO-2024-2462: Arbitrary command execution in github.com/0xJacky/Nginx-UI GO-2024-2463: SQL injection in github.com/0xJacky/Nginx-UI GO-2024-2464: Remote command execution in github.com/0xJacky/Nginx-UI v1.9.9-3 May 6, 2023 GO-2024-2462GO-2024-2463GO-2024-2464 GO-2024-2462: Arbitrary command execution in github.com/0xJacky/Nginx-UI GO-2024-2463: SQL injection in github.com/0xJacky/Nginx-UI GO-2024-2464: Remote command execution in github.com/0xJacky/Nginx-UI v1.9.9-2 May 5, 2023 GO-2024-2462GO-2024-2463GO-2024-2464 GO-2024-2462: Arbitrary command execution in github.com/0xJacky/Nginx-UI GO-2024-2463: SQL injection in github.com/0xJacky/Nginx-UI GO-2024-2464: Remote command execution in github.com/0xJacky/Nginx-UI