domain

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cli.Command{
	Category: "Misc",
	Name:     "domain",
	Usage:    "Some tools for Domain/SubDomain",
	Commands: []*cli.Command{
		&cli.Command{
			Category: "Domain",
			Name:     "ctfr",
			Usage:    "滥用证书透明记录 By https://crt.sh",
			Flags: []cli.Flag{
				&cli.StringFlag{
					Name:    "domain",
					Aliases: []string{"f"},
					Usage:   "Which file for parse",
				},
			},
			Action: func(c *cli.Context) (err error) {
				domain := c.String("domain")
				if domain == "" {
					if c.NArg() > 0 {
						domain = c.Args().First()
					} else {
						return fmt.Errorf("invalid domain")
					}
				}
				r, err := Ctfr(domain)
				if err != nil {
					return err
				}
				_, err = fmt.Println(r)
				return
			},
		},
	},
}

Functions

func Ctfr

func Ctfr(domain string) (string, error)

Ctfr 滥用证书透明记录 Certificate Search By https://crt.sh

Types

This section is empty.

Jump to

Keyboard shortcuts

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