Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Example = cli.Command{ Name: "example", Usage: "page simulator example", Before: nil, After: nil, OnUsageError: nil, Subcommands: nil, Flags: []cli.Flag{ cli.BoolFlag{ Name: "bruteforce", Usage: "bruteforce example", }, cli.StringFlag{ Name: "url", Usage: "bruteforce example url", }, }, Action: func(c *cli.Context) error { url := c.String("url") if url == "" { url = "http://192.168.0.68/#/login" } usernameList := []string{"admin"} passwordList := []string{"luckyadmin123"} if c.Bool("bruteforce") { userOpt := examples.WithUserNameList(usernameList) passOpt := examples.WithPassWordList(passwordList) scanMode := examples.WithCaptchaMode("common_arithmetic") result, err := examples.BruteForceModuleV2(url, userOpt, passOpt, scanMode) log.Info(err) log.Info(result.Username(), result.Password(), result.Log(), result.Cookie()) } return nil }, }
View Source
var Simple = cli.Command{ Name: "simple", Usage: "simple browser simulator action", Before: nil, After: nil, OnUsageError: nil, Subcommands: nil, Action: func(c *cli.Context) error { return nil }, }
View Source
var TestModule = cli.Command{ Name: "test", Usage: "test sth", Before: nil, After: nil, OnUsageError: nil, Subcommands: nil, Flags: []cli.Flag{ cli.BoolFlag{ Name: "eval", Usage: "eval test", }, cli.BoolFlag{ Name: "getstr", Usage: "GetElementString", }, cli.BoolFlag{ Name: "parent", Usage: "get parent", }, cli.BoolFlag{ Name: "test", }, }, Action: func(c *cli.Context) error { return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.